summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-02-22 17:01:27 +0100
committerJose M. Guisado <jguisado@soleta.eu>2022-02-22 17:01:27 +0100
commita32611993731e575b04b50c9d4f4fcd80bd28dc9 (patch)
treedadcea4f9a58ce5dc33a38cb10678bd79c73e182 /ogcp/templates
parentba5063871cbf67a5749b1b61fe70e57265e64a0c (diff)
Hardware inventory template extends from command.html
Extending from command.html is required for action views to mantain the scope context on the left side column. Enables setting dropdown button and action button as active when loading the hardware inventory view.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/hardware.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ogcp/templates/actions/hardware.html b/ogcp/templates/actions/hardware.html
index c447c57..70a24de 100644
--- a/ogcp/templates/actions/hardware.html
+++ b/ogcp/templates/actions/hardware.html
@@ -1,6 +1,8 @@
-{% extends 'base.html' %}
+{% extends 'commands.html' %}
{% import "bootstrap/wtf.html" as wtf %}
+{% block nav_inventory %} active{% endblock %}
+{% block nav_inventory_hardware %} active{% endblock %}
{% block content %}
<h1 class="m-5">{{_('Hardware inventory')}}</h1>