view piecrust/admin/templates/publish.html @ 848:7d83b9484b98

plugins: Add support for "ad-hoc" local plugins. These are loose `.py` files inside of the `plugins` folder of a website. They're loaded along with other normal (packaged) plugins.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 27 Apr 2017 20:54:29 -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 %}