summaryrefslogtreecommitdiffstats
path: root/ogcp/og_server.py
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/og_server.py
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/og_server.py')
0 files changed, 0 insertions, 0 deletions