From 1b32a2f2b5ef842b10e981a187f0e97d255ec607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6tz?= Date: Thu, 11 Apr 2019 20:22:56 +0200 Subject: [PATCH] Add Icons --- templates/base.jinja2 | 8 ++++---- templates/base_admin.jinja2 | 11 +++++++---- templates/realm/realm_user.jinja2 | 9 ++++++--- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/templates/base.jinja2 b/templates/base.jinja2 index 99e1bb5..079b0f9 100644 --- a/templates/base.jinja2 +++ b/templates/base.jinja2 @@ -15,10 +15,10 @@ {% block js_extra %}{% endblock %} - + {% block css_extra %}{% endblock %} @@ -36,9 +36,9 @@ {% if request.user.is_authenticated %} Hi {{ request.user.username }}! - Logout + Logout {% else %} - Login + Login {% endif %} diff --git a/templates/base_admin.jinja2 b/templates/base_admin.jinja2 index 8f2933f..112b775 100644 --- a/templates/base_admin.jinja2 +++ b/templates/base_admin.jinja2 @@ -14,16 +14,19 @@ {% else %} - Bereichsübersicht + Bereichsübersicht {% if realm %}
Bereichsinformationen + class="list-group-item list-group-item-action bg-light"> + Bereichsinformationen Nutzer + class="list-group-item list-group-item-action bg-light"> + Nutzer Gruppen + class="list-group-item list-group-item-action bg-light"> + Gruppen
{% endif %} {% endif %} diff --git a/templates/realm/realm_user.jinja2 b/templates/realm/realm_user.jinja2 index 46d58f3..9738254 100644 --- a/templates/realm/realm_user.jinja2 +++ b/templates/realm/realm_user.jinja2 @@ -1,6 +1,6 @@ {% extends 'realm/realm_detailed.jinja2' %} {% block detail_content %} -

Nutzer

+

Nutzer

{% for user in realm_user %} - {{ user.user.username }} + {{ user.user.username }} + {{ user.user.email }} {{ user.user.first_name }} {{ user.user.last_name }} - {{ user.active }} + {% if user.active %} + {% else %} + {% endif %} {% endfor %}