templates: remove sidebar from client/list

Remove sidebar from the client/list view.
master v1.1.3-30
Alejandro Sirgo Rica 2024-09-03 14:51:46 +02:00
parent 7613cd8017
commit 3f06fe23aa
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -1,6 +1,5 @@
{% extends 'commands.html' %}
{% extends 'base.html' %}
{% set sidebar_state = 'disabled' %}
{% set btn_back = true %}
{% block content %}