diff 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 diff
--- a/foodtruck/templates/publish.html	Mon Feb 08 23:28:39 2016 -0800
+++ b/foodtruck/templates/publish.html	Mon Feb 08 23:29:21 2016 -0800
@@ -5,9 +5,8 @@
 
 {% for target in targets %}
 <div>
-    <h2>{{target.name}}</h2>
+    <h3>{{target.name}}</h3>
     {% if target.description %}<div>{{target.description}}</div>{% endif %}
-    {% if target.cmd %}<p>Run <code>{{target.cmd}}</code>.</p>{% endif %}
     <form action="{{url_run}}" method="POST">
         <input type="hidden" name="target" value="{{target.name}}" />
         <button type="submit" class="btn btn-default">Execute</button>