diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/group.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/group.html b/templates/group.html index 7f90c57..0b6e383 100644 --- a/templates/group.html +++ b/templates/group.html @@ -24,6 +24,27 @@ <h3 class="panel-title">Pads</h3> </div> + {% for pad in pads %} + {% if loop.first %} + <table class="table table-hover"> + {% endif %} + + <tr> + <td class="col-sm-11"> + <a href="#" class="btn-block">{{pad}}</a> + </td> + <td class="col-sm-1 text-right"> + <a href="#" class="btn-block glyphicon glyphicon-cog" /> + </td> + </tr> + + {% if loop.last %} + </table> + {% endif %} + {% else %} + <div class="panel-body">No pads created.</div> + {% endfor %} + {% if admin %} <div class="panel-footer"> <a href="{{ url_for('pad_create', group_name=group.name) }}"> |