From feed13555454335355063f6b06dd9f035c5369ae Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 10 Mar 2022 11:00:17 +0100 Subject: Disable scopes tree's checkboxes in action views Now users can select clients only in scopes and command views, in any other view we set the scopes tree read only. --- ogcp/templates/actions/poweroff.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ogcp/templates/actions/poweroff.html') diff --git a/ogcp/templates/actions/poweroff.html b/ogcp/templates/actions/poweroff.html index 4f7713c..5a992c7 100644 --- a/ogcp/templates/actions/poweroff.html +++ b/ogcp/templates/actions/poweroff.html @@ -2,6 +2,8 @@ {% import "bootstrap/wtf.html" as wtf %} {% import "macros.html" as macros %} +{% set sidebar_state = 'disabled' %} + {% block nav_power %} active{% endblock %} {% block nav_power_poweroff %} active{% endblock %} {% block content %} -- cgit v1.2.3-18-g5258