summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-03 12:18:49 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-03 12:52:09 +0200
commit84365a0db240144c5e8b55966489ffbaa31318b2 (patch)
tree18e6337eb5160eb1c52f04b37cb5b857398a1c07
parent14d67849583c68ab0b0ff719abd1347a7d9bf8c8 (diff)
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.
-rw-r--r--ogcp/templates/commands.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/ogcp/templates/commands.html b/ogcp/templates/commands.html
index 9bb0176..6f77316 100644
--- a/ogcp/templates/commands.html
+++ b/ogcp/templates/commands.html
@@ -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">