summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/commands.html
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-03-14 17:24:23 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-03-14 17:24:23 +0100
commit57ab7c11a90f6d4b9a2d54d5590aad88ae7a133f (patch)
treebdde3a47818be37071f41931b2ca786a3c9b3fe2 /ogcp/templates/commands.html
parentfeed13555454335355063f6b06dd9f035c5369ae (diff)
Add back button to all actions
Add a back button to facilitate users to return to the previous page.
Diffstat (limited to 'ogcp/templates/commands.html')
-rw-r--r--ogcp/templates/commands.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/templates/commands.html b/ogcp/templates/commands.html
index 5298bcc..76dc191 100644
--- a/ogcp/templates/commands.html
+++ b/ogcp/templates/commands.html
@@ -94,6 +94,12 @@
form="scopesForm" formaction="{{ url_for('action_legacy_rt_log') }}" formmethod="get">
</div>
</div>
+
+ {% if btn_back %}
+ <button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">
+ {{ _("Back") }}
+ </button>
+ {% endif %}
{% endblock %}
{% block content %}