view piecrust/admin/templates/publish.html @ 854:08e02c2a2a1a

core: Keep refactoring, this time to prepare for generator sources. - Make a few APIs simpler. - Content pipelines create their own jobs, so that generator sources can keep aborting in `getContents`, but rely on their pipeline to generate pages for baking.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 04 Jun 2017 23:34:28 -0700
parents 5e91bc0e3b4d
children 94fd4f07da83
line wrap: on
line source

{% 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 %}