summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-01-11 00:55:59 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-01-11 00:55:59 +0100
commit003825fa5dc4802148cecb4e1dd797f13c2f9ce5 (patch)
treed50bf6e6e9f3ac7ec949e9feac1d04529b45d011
parentca723e528052bb37e9aeaa83ef66c5213cb4b26a (diff)
downloadpadlite-teams-003825fa5dc4802148cecb4e1dd797f13c2f9ce5.tar.gz
padlite-teams-003825fa5dc4802148cecb4e1dd797f13c2f9ce5.tar.bz2
padlite-teams-003825fa5dc4802148cecb4e1dd797f13c2f9ce5.zip
templates: Use label to display additional information
-rw-r--r--static/css/custom.css4
-rw-r--r--templates/group.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 9ec6c85..0af39f3 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -32,3 +32,7 @@ body {
padding-top: 0;
padding-bottom: 0;
}
+
+.label {
+ margin-left: .3em;
+}
diff --git a/templates/group.html b/templates/group.html
index 61cee38..ec61426 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -73,7 +73,7 @@
<ul class="list-group">
{% for member in members|selectattr("active") %}
<li class="list-group-item">
- {{member.user}} {% if member.admin %}(is admin){% endif %}
+ {{member.user}} {% if member.admin %}<span class="label label-danger">admin</span>{% endif %}
</li>
{% endfor %}
</ul>