summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-03 14:51:46 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-03 16:26:42 +0200
commit3f06fe23aaf800f458d17a647363a3e440b00502 (patch)
tree6c6a956f7fe581d5e9052f8fe689796a42efa2cd /ogcp
parent7613cd8017e978e771552467a4e10141e120fccb (diff)
templates: remove sidebar from client/listv1.1.3-30
Remove sidebar from the client/list view.
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/templates/base.html2
-rw-r--r--ogcp/templates/client_list.html3
2 files changed, 2 insertions, 3 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 5d46135..e924fe1 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -76,7 +76,7 @@
{% block container %}
<div class="row h-100">
{# The sidebar is not visible on index and login #}
- {% if request.endpoint not in ["index", "login"] %}
+ {% if request.endpoint not in ["index", "login", "client_list"] %}
<div id="sidebar" class="bg-light col-md-3 col-lg-3">
{% block sidebar %}{% endblock %}
</div>
diff --git a/ogcp/templates/client_list.html b/ogcp/templates/client_list.html
index cd07118..8a3fd5b 100644
--- a/ogcp/templates/client_list.html
+++ b/ogcp/templates/client_list.html
@@ -1,6 +1,5 @@
-{% extends 'commands.html' %}
+{% extends 'base.html' %}
-{% set sidebar_state = 'disabled' %}
{% set btn_back = true %}
{% block content %}