From da9b2ea9c2ef37eb191ba0a9e78e62ce942dc912 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 3 Sep 2021 14:51:15 +0200 Subject: Add image details action This action is used to visualize the specific details of an image, as its ID, name, size, etc. --- ogcp/templates/actions/image_details.html | 13 +++++++++++++ ogcp/templates/images.html | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 ogcp/templates/actions/image_details.html (limited to 'ogcp/templates') 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 %} + +

{{_('Image details')}}

+ +{{ 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 %} + {% endblock %} -- cgit v1.2.3-18-g5258