diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-03-14 17:24:23 +0100 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-03-14 17:24:23 +0100 |
commit | 57ab7c11a90f6d4b9a2d54d5590aad88ae7a133f (patch) | |
tree | bdde3a47818be37071f41931b2ca786a3c9b3fe2 /ogcp/templates/images.html | |
parent | feed13555454335355063f6b06dd9f035c5369ae (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/images.html')
-rw-r--r-- | ogcp/templates/images.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html index 2a67e58..7ef1efc 100644 --- a/ogcp/templates/images.html +++ b/ogcp/templates/images.html @@ -29,5 +29,10 @@ form="imagesForm" formaction="{{ url_for('action_image_info') }}" formmethod="get"> <input class="btn btn-light" type="submit" value="{{ _('Delete image') }}" form="imagesForm" formaction="{{ url_for('action_image_delete') }}" formmethod="get"> + {% if btn_back %} + <button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()"> + {{ _("Back") }} + </button> + {% endif %} {% endblock %} |