summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/nav.html
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-06-16 10:30:39 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-06-17 09:58:11 +0200
commit3667db8662c1ee2ae058627447c4eda1898621ab (patch)
tree337bfc1c453db27b780a4c352898bd5763b7c06b /ogcp/templates/nav.html
parent514fb84a565e8bc9eb550164d545fa72d77c2b38 (diff)
Add commands view and macros.html
Commands view has a scope sidebar with the content block filled with command buttons (poweroff, wol, etc.) This commit leaves scope create/delete/update buttons in the /scopes view, which serves that purpose. To avoid duplicating scope tree creation macro, an external macros.html is created, this template can be imported. Future macros needed can be written in there.
Diffstat (limited to 'ogcp/templates/nav.html')
-rw-r--r--ogcp/templates/nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/nav.html b/ogcp/templates/nav.html
index f2ca3b5..dc40207 100644
--- a/ogcp/templates/nav.html
+++ b/ogcp/templates/nav.html
@@ -14,7 +14,7 @@
<a class="nav-link" href="{{ url_for('scopes') }}">{{ _('Scopes') }}</a>
</li>
<li class="nav-item {% if request.endpoint == "commands" %}active{% endif %}">
- <a class="nav-link" href="#">{{ _('Commands') }}</a>
+ <a class="nav-link" href="{{ url_for('commands') }}">{{ _('Commands') }}</a>
</li>
<li class="nav-item {% if request.endpoint == "images" %}active{% endif %}">
<a class="nav-link" href="#">{{ _('Images') }}</a>