ogcp/ogcp
Jose M. Guisado 8e6fa1b1be 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 %}" ...
2022-02-22 16:28:16 +01:00
..
cfg Add language configuration and Spanish translation 2022-01-13 11:36:46 +01:00
forms Add confirmation page when deleting image 2022-01-27 16:51:35 +01:00
static Highlight active nav items 2022-02-22 12:40:26 +01:00
templates Group command buttons into dropdowns 2022-02-22 16:28:16 +01:00
translations/es/LC_MESSAGES Add confirmation page when deleting image 2022-01-27 16:51:35 +01:00
__init__.py Add language configuration and Spanish translation 2022-01-13 11:36:46 +01:00
babel.cfg Add language configuration and Spanish translation 2022-01-13 11:36:46 +01:00
models.py Add scope permission support 2021-12-10 13:06:18 +01:00
og_server.py ogcp is AGPLv3+ 2021-05-20 18:45:38 +02:00
views.py Add confirmation page when deleting image 2022-01-27 16:51:35 +01:00