summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/center_details.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-17 16:42:09 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-17 17:06:01 +0200
commitd135a4806dc12d24240fd50fcbcb5ab6f5c89db1 (patch)
tree6788f8caf66d0e5a937ad87d2ec3e6ae3005c620 /ogcp/templates/actions/center_details.html
parent74c55987ef5662d666e0844b3e18c824cd9dcee2 (diff)
ogcp: add center details view to scopes management
Add a readonly view for the center data. Mark all the form fields as readonly and set the hidden attribute to the submit field.
Diffstat (limited to 'ogcp/templates/actions/center_details.html')
-rw-r--r--ogcp/templates/actions/center_details.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/ogcp/templates/actions/center_details.html b/ogcp/templates/actions/center_details.html
new file mode 100644
index 0000000..5f5d37a
--- /dev/null
+++ b/ogcp/templates/actions/center_details.html
@@ -0,0 +1,18 @@
+{% extends 'scopes.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% set sidebar_state = 'disabled' %}
+{% set btn_back = true %}
+
+{% block nav_center %} active {% endblock %}
+{% block nav_center_details %} active {% endblock %}
+{% block content %}
+
+<h1 class="m-5">{{_('Center details')}}</h1>
+
+{{ wtf.quick_form(form,
+ method='post',
+ button_map={'submit': 'primary'},
+ extra_classes="mx-5") }}
+
+{% endblock %}