view foodtruck/templates/publish.html @ 629:40e897e2f11e

admin: Make the publish UI handle new kinds of target configurations.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 08 Feb 2016 23:29:21 -0800
parents c2708f20a87b
children
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 %}