From 3f06fe23aaf800f458d17a647363a3e440b00502 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 3 Sep 2024 14:51:46 +0200 Subject: templates: remove sidebar from client/list Remove sidebar from the client/list view. --- ogcp/templates/base.html | 2 +- ogcp/templates/client_list.html | 3 +-- 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 %}
{# 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"] %} 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 %} -- cgit v1.2.3-18-g5258