From e2760f8f805625ecfbcfed8624c0b6807a47b01d Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Fri, 6 Aug 2021 19:54:11 -0700 Subject: [PATCH] move to bootstrap navbar --- web/templates/flask_user_layout.html | 134 +++++++++++++-------------- 1 file changed, 65 insertions(+), 69 deletions(-) diff --git a/web/templates/flask_user_layout.html b/web/templates/flask_user_layout.html index 459ca17..a80388e 100644 --- a/web/templates/flask_user_layout.html +++ b/web/templates/flask_user_layout.html @@ -30,81 +30,77 @@ -

{{ user_manager.USER_APP_NAME }}

-

Logo

-

{{title}}

-
- - - - - - - + + - - {% endif %} + + {% endif%} + + {% if call_or_get(current_user.is_authenticated) %} {% if call_or_get(current_user.has_roles('Admin')) %} - - - - + - - - - - {% endif %} - - -
  Home    News    Talkgroups    Register    Sign in    Add a User    Edit Users    Waiting Approval    Auth Log  Help  Passphrase(s)    Edit {{ current_user.username or current_user.email }}    Sign out  
- -{% if call_or_get(current_user.is_authenticated) %} - {% if call_or_get(current_user.has_roles('Admin')) %} - - - - - - - - - - - - - -
  Manage Servers    Manage Peers    Manage Masters    Manage Rules    Manage News    Misc Options  
- {% endif %} - {% endif %} + + + + + {% endif %} + {% endif %} + + +

Logo


- {% block body %} - + + {% block body %} +
@@ -134,7 +130,7 @@

{% endblock %}