diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-22 15:26:35 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-22 16:28:16 +0100 |
commit | 8e6fa1b1beee967ad674a997dadd808673705a93 (patch) | |
tree | f2bc2b7fc55df270b5c392d0870c1906c22fd074 /ogcp/templates/actions/delete_repository.html | |
parent | d2e8131ffa9a736b4f82d2fa02c158d41bd998c7 (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/delete_repository.html')
0 files changed, 0 insertions, 0 deletions