view piecrust/admin/templates/publish.html @ 1136:5f97b5b59dfe

bake: Optimize cache handling for the baking process. - Get rid of the 2-level pipeline runs... handle a single set of passes. - Go back to load/render segments/layout passes for pages. - Add descriptions of what each job batch does. - Improve the taxonomy pipeline so it doesn't re-bake terms that don't need to be re-baked. - Simplify some of the code.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 23 Apr 2018 21:47:49 -0700
parents dff873f11541
children
line wrap: on
line source

{% extends 'layouts/default.html' %}

{% block content %}
<h1>Publish {{site_title}}</h1>

{% with messages = get_flashed_messages() %}
{% for message in messages %}
<p class="bg-info">{{message}}</p>
{% endfor %}
{% endwith %}

{% for target in targets %}
<div>
    <h3>{{target.name}}</h3>
    {% if target.description %}<p>{{target.description}}</p>{% endif %}
    <form action="{{url_run}}" method="POST">
        <input type="hidden" name="target" value="{{target.name}}" />
        <button type="submit" class="btn btn-default"><span class="oi oi-cloud-upload"></span> Execute</button>
    </form>
</div>
{% endfor %}

{% if last_log %}
<h2>Last Publish Log</h2>
<pre><code>
{{last_log}}
</code></pre>
{% endif %}

{% endblock %}