templates: fix commands button layout

Fix <div> structure to enable proper flow layout when the web
size changes and the command buttons need to reposition.
master
Alejandro Sirgo Rica 2024-07-03 12:18:49 +02:00
parent 14d6784958
commit 84365a0db2
1 changed files with 5 additions and 4 deletions

View File

@ -96,10 +96,11 @@
{{ _('Script') }}
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<input class="btn btn-light dropdown-item{% block nav_run_script %}{% endblock %}" type="submit" value="{{ _('Run') }}"
form="scopesForm" formaction="{{ url_for('action_run_script') }}" formmethod="get">
<input class="btn btn-light dropdown-item{% block nav_display_output %}{% endblock %}" type="submit" value="{{ _('Display output') }}"
form="scopesForm" formaction="{{ url_for('action_script_display_output') }}" formmethod="get">
<input class="btn btn-light dropdown-item{% block nav_run_script %}{% endblock %}" type="submit" value="{{ _('Run') }}"
form="scopesForm" formaction="{{ url_for('action_run_script') }}" formmethod="get">
<input class="btn btn-light dropdown-item{% block nav_display_output %}{% endblock %}" type="submit" value="{{ _('Display output') }}"
form="scopesForm" formaction="{{ url_for('action_script_display_output') }}" formmethod="get">
</div>
</div>
<div class="dropdown btn">