summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 03:05:22 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 03:05:22 +0100
commit0ab3f1eba28a1ccaef772e47a03942e03c414f73 (patch)
tree09e08f8a1b8c8341d9d683a78d07789f31337e0e /templates
parent7a91b816c414a7b3dc63190cdee005158b81d571 (diff)
downloadpadlite-teams-0ab3f1eba28a1ccaef772e47a03942e03c414f73.tar.gz
padlite-teams-0ab3f1eba28a1ccaef772e47a03942e03c414f73.tar.bz2
padlite-teams-0ab3f1eba28a1ccaef772e47a03942e03c414f73.zip
templates/group: display pad of group
Diffstat (limited to 'templates')
-rw-r--r--templates/group.html21
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) }}">