summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/image_details.html13
-rw-r--r--ogcp/templates/images.html2
2 files changed, 15 insertions, 0 deletions
diff --git a/ogcp/templates/actions/image_details.html b/ogcp/templates/actions/image_details.html
new file mode 100644
index 0000000..a4feb55
--- /dev/null
+++ b/ogcp/templates/actions/image_details.html
@@ -0,0 +1,13 @@
+{% extends 'base.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% block content %}
+
+<h1 class="m-5">{{_('Image details')}}</h1>
+
+{{ wtf.quick_form(form,
+ method='post',
+ button_map={'create': 'primary'},
+ extra_classes="mx-5") }}
+
+{% endblock %}
diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html
index e698af9..3faa029 100644
--- a/ogcp/templates/images.html
+++ b/ogcp/templates/images.html
@@ -25,5 +25,7 @@
{% endblock %}
{% block commands %}
+ <input class="btn btn-light" type="submit" value="{{ _('Image details') }}"
+ form="imagesForm" formaction="{{ url_for('action_image_info') }}" formmethod="get">
{% endblock %}