Mercurial > piecrust2
annotate foodtruck/templates/publish.html @ 620:c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 06 Feb 2016 21:49:50 -0800 |
parents | c6bc0ef03f82 |
children | 40e897e2f11e |
rev | line source |
---|---|
602
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 {% extends 'layouts/default.html' %} |
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 |
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 {% block content %} |
620
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
4 <h1>Publish {{site_title}}</h1> |
602
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 |
620
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
6 {% for target in targets %} |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
7 <div> |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
8 <h2>{{target.name}}</h2> |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
9 {% if target.description %}<div>{{target.description}}</div>{% endif %} |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
10 {% if target.cmd %}<p>Run <code>{{target.cmd}}</code>.</p>{% endif %} |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
11 <form action="{{url_run}}" method="POST"> |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
12 <input type="hidden" name="target" value="{{target.name}}" /> |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
13 <button type="submit" class="btn btn-default">Execute</button> |
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
14 </form> |
602
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 </div> |
620
c2708f20a87b
admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents:
602
diff
changeset
|
16 {% endfor %} |
602
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
17 |
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
18 {% endblock %} |
c6bc0ef03f82
admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
19 |