annotate foodtruck/templates/publish.html @ 629:40e897e2f11e

admin: Make the publish UI handle new kinds of target configurations.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 08 Feb 2016 23:29:21 -0800
parents c2708f20a87b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
629
40e897e2f11e admin: Make the publish UI handle new kinds of target configurations.
Ludovic Chabant <ludovic@chabant.com>
parents: 620
diff changeset
8 <h3>{{target.name}}</h3>
620
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 <form action="{{url_run}}" method="POST">
c2708f20a87b admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents: 602
diff changeset
11 <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
12 <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
13 </form>
602
c6bc0ef03f82 admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 </div>
620
c2708f20a87b admin: Make the sidebar togglable for smaller screens.
Ludovic Chabant <ludovic@chabant.com>
parents: 602
diff changeset
15 {% endfor %}
602
c6bc0ef03f82 admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16
c6bc0ef03f82 admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 {% endblock %}
c6bc0ef03f82 admin: Better UI for publishing websites.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18