summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-02-22 15:26:35 +0100
committerJose M. Guisado <jguisado@soleta.eu>2022-02-22 16:28:16 +0100
commit8e6fa1b1beee967ad674a997dadd808673705a93 (patch)
treef2bc2b7fc55df270b5c392d0870c1906c22fd074 /ogcp/templates/actions
parentd2e8131ffa9a736b4f82d2fa02c158d41bd998c7 (diff)
Group command buttons into dropdowns
Group related actions in the "commands" section inside a dropdown button. Declutters the panel in which the buttons are displayed. Dropdown button jinja block name is used as prefix for the block names of inside buttons. For example, for the image dropwdown button: <button class="...{% block nav_image %}{% endblock %}..."> {{ _('Image') }} </button> Actions such as restore and create will show a jinja block inside class attr like: <input class="... dropdown-item{% block nav_image_restore %}{% endblock %}" ... <input class="... dropdown-item{% block nav_image_create %}{% endblock %}" ...
Diffstat (limited to 'ogcp/templates/actions')
-rw-r--r--ogcp/templates/actions/setup.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html
index fc26b31..84f4d4d 100644
--- a/ogcp/templates/actions/setup.html
+++ b/ogcp/templates/actions/setup.html
@@ -1,6 +1,7 @@
{% extends 'commands.html' %}
{% block nav_setup %} active{% endblock %}
+{% block nav_setup_setup %} active{% endblock %}
{% block content %}
<h1 class="m-5">{{_('Partition and Format')}}</h1>