Mercurial > piecrust2
diff piecrust/admin/templates/publish.html @ 778:5e91bc0e3b4d
internal: Move admin panel code into the piecrust package.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 16 Jul 2016 15:02:24 +0200 |
parents | foodtruck/templates/publish.html@40e897e2f11e |
children | 94fd4f07da83 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/piecrust/admin/templates/publish.html Sat Jul 16 15:02:24 2016 +0200 @@ -0,0 +1,18 @@ +{% extends 'layouts/default.html' %} + +{% block content %} +<h1>Publish {{site_title}}</h1> + +{% for target in targets %} +<div> + <h3>{{target.name}}</h3> + {% if target.description %}<div>{{target.description}}</div>{% 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 %} +