From 2154e6f02252576d8652e66f26fa4ae635d0f8ee Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 17:43:00 -0700 Subject: Rework UI to have vertical menus --- templates/activities/_home_menu.html | 29 ++++++++++++++++--- templates/activities/compose.html | 13 ++++----- templates/activities/federated.html | 20 ++++---------- templates/activities/home.html | 49 ++++++++++----------------------- templates/activities/local.html | 20 ++++---------- templates/activities/notifications.html | 21 ++++---------- templates/admin/_menu.html | 6 ---- templates/admin/domain_create.html | 20 ++++++++------ templates/admin/domain_delete.html | 7 +---- templates/admin/domain_edit.html | 19 +++++++------ templates/admin/domains.html | 7 ++--- templates/admin/identities.html | 15 ++++------ templates/admin/settings.html | 18 ------------ templates/admin/users.html | 15 ++++------ templates/base.html | 21 ++++++++++---- templates/forms/_field.html | 25 ++++++++++------- templates/identity/_identity_menu.html | 5 ---- templates/identity/_menu.html | 5 ++++ templates/identity/base.html | 7 +++++ templates/identity/create.html | 12 ++++---- templates/identity/select.html | 10 ++----- templates/settings/_menu.html | 29 +++++++++++++++++-- templates/settings/base.html | 7 +++++ templates/settings/profile.html | 22 +++++++++------ templates/settings/settings.html | 16 ++++++----- 25 files changed, 201 insertions(+), 217 deletions(-) delete mode 100644 templates/admin/_menu.html delete mode 100644 templates/admin/settings.html delete mode 100644 templates/identity/_identity_menu.html create mode 100644 templates/identity/_menu.html create mode 100644 templates/identity/base.html create mode 100644 templates/settings/base.html (limited to 'templates') diff --git a/templates/activities/_home_menu.html b/templates/activities/_home_menu.html index c88a1d7..db441a2 100644 --- a/templates/activities/_home_menu.html +++ b/templates/activities/_home_menu.html @@ -1,6 +1,27 @@ + +{% if current_page == "home" %} +
@@ -28,12 +25,17 @@ service domain.
{% csrf_token %} - {% for field in form %} - {% include "forms/_field.html" %} - {% endfor %} + +