summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-06-16 07:36:42 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-06-17 09:58:42 +0200
commitf8e27fb149daea8b3151b91c175d051589f8f6ed (patch)
tree62fbc00a96cd76091a69816d4470c6dafc5280a1 /ogcp/templates
parent3667db8662c1ee2ae058627447c4eda1898621ab (diff)
Don't show sidebar in login view
Commit 22dcea19 introduced sidebar, which is not shown in index view. Disable sidebar in the login view too.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 372381a..022801f 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -20,8 +20,8 @@
<div class="container-fluid flex-grow-1">
{% block container %}
<div class="row h-100">
- {# The sidebar is not visible on index #}
- {% if request.endpoint != "index" %}
+ {# The sidebar is not visible on index and login #}
+ {% if request.endpoint not in ["index", "login"] %}
<div id="sidebar" class="bg-light col-md-3 col-lg-2">
{% block sidebar %}{% endblock %}
</div>