mirror of https://git.48k.eu/ogcp
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 %}" ... |
||
---|---|---|
.. | ||
cfg | ||
forms | ||
static | ||
templates | ||
translations/es/LC_MESSAGES | ||
__init__.py | ||
babel.cfg | ||
models.py | ||
og_server.py | ||
views.py |