From 30c208226e8eedeb6879f0b771ae9d5987d06aec Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 12 Nov 2022 23:21:52 -0700 Subject: Start having some sort of visual style --- templates/base.html | 34 ++++++++++++++++------------------ templates/identity/_identity_menu.html | 5 +++++ templates/identity/create.html | 1 + templates/identity/select.html | 17 ++++++++--------- 4 files changed, 30 insertions(+), 27 deletions(-) create mode 100644 templates/identity/_identity_menu.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 2ff0f15..0f9edfb 100644 --- a/templates/base.html +++ b/templates/base.html @@ -12,36 +12,34 @@ -
-

- +
+
+ -

- -
  • - -
  • -
  • + {% if user.is_authenticated %} - + Settings +
    + {% if not request.identity %} - + No Identity + {% elif request.identity.icon_uri %} - + {{ request.identity.username }} @{{ request.identity.domain_id }} + {% else %} - + {{ request.identity.username }} @{{ request.identity.domain_id }} + {% endif %} {% else %} - Login + Login {% endif %} -
  • -
    -
    + + -
    {% block content %} {% endblock %}
    diff --git a/templates/identity/_identity_menu.html b/templates/identity/_identity_menu.html new file mode 100644 index 0000000..fff70cb --- /dev/null +++ b/templates/identity/_identity_menu.html @@ -0,0 +1,5 @@ + diff --git a/templates/identity/create.html b/templates/identity/create.html index cbf0fb2..8e78e10 100644 --- a/templates/identity/create.html +++ b/templates/identity/create.html @@ -5,6 +5,7 @@ {% block title %}Create Identity{% endblock %} {% block content %} + {% include "identity/_identity_menu.html" %}