From cc533aa3cc3844f587451ae357573deb8ed3f62e Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 4 Mar 2022 11:04:22 +0100 Subject: Set commands nav buttons as active When loading any command view, its nav button becomes active. --- 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 cc739d3..4f7713c 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 %} +{% block nav_power %} active{% endblock %} +{% block nav_power_poweroff %} active{% endblock %} {% block content %} {% set ip_list = form.ips.data.split(' ') %} -- cgit v1.2.3-18-g5258