diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-03-24 14:32:16 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2021-03-24 14:32:16 +0100 |
commit | 2ad382b5ed0e927121308f83a51d8f3a89d41e50 (patch) | |
tree | aace4bb10735a98e979780fee395c71b36d38d30 /ogcp/templates/nav.html | |
parent | 9ee0565ac41661a0521630fbfe1ea9e896fcec52 (diff) |
Add cosmetic improvements
* Adds label for each action page.
* Adds a colored state for opengnsys connected clients
* Fix nav active item
* Rename some actions
* Adds DISK to partition and format form
Diffstat (limited to 'ogcp/templates/nav.html')
-rw-r--r-- | ogcp/templates/nav.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/templates/nav.html b/ogcp/templates/nav.html index d7741ca..39b0ac2 100644 --- a/ogcp/templates/nav.html +++ b/ogcp/templates/nav.html @@ -6,11 +6,11 @@ <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> - <li class="nav-item active"> + <li class="nav-item {% if request.endpoint == "index" %}active{% endif %}"> <a class="nav-link" href="{{ url_for('index') }}">{{ _('Home') }}<span class="sr-only">(current)</span></a> </li> {% if current_user.is_authenticated %} - <li class="nav-item"> + <li class="nav-item {% if request.endpoint == "scopes" %}active{% endif %}"> <a class="nav-link" href="{{ url_for('scopes') }}">{{ _('Scopes') }}</a> </li> {% endif %} |