Mercurial > piecrust2
diff 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 |
line wrap: on
line diff
--- a/foodtruck/templates/publish.html Sat Feb 06 21:47:24 2016 -0800 +++ b/foodtruck/templates/publish.html Sat Feb 06 21:49:50 2016 -0800 @@ -1,22 +1,19 @@ {% extends 'layouts/default.html' %} {% block content %} -<div class="container"> - <h1>Publish {{site_title}}</h1> +<h1>Publish {{site_title}}</h1> - {% for target in targets %} - <div> - <h2>{{target.name}}</h2> - {% if target.description %}<div>{{target.description}}</div>{% endif %} - {% if target.cmd %}<p>Run <code>{{target.cmd}}</code>.</p>{% endif %} - <form action="{{url_run}}" method="POST"> - <input type="hidden" name="target" value="{{target.name}}" /> - <button type="submit" class="btn btn-default">Execute</button> - </form> - </div> - {% endfor %} +{% for target in targets %} +<div> + <h2>{{target.name}}</h2> + {% if target.description %}<div>{{target.description}}</div>{% endif %} + {% if target.cmd %}<p>Run <code>{{target.cmd}}</code>.</p>{% endif %} + <form action="{{url_run}}" method="POST"> + <input type="hidden" name="target" value="{{target.name}}" /> + <button type="submit" class="btn btn-default">Execute</button> + </form> </div> +{% endfor %} {% endblock %} -