summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/center_details.html18
-rw-r--r--ogcp/templates/scopes.html2
2 files changed, 20 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 %}
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index a96ae62..04285be 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -60,6 +60,8 @@
form="scopesForm" formaction="{{ url_for('action_center_update') }}" formmethod="get">
<input class="btn btn-light dropdown-item {% block nav_center_delete %}{% endblock %}" type="submit" value="{{ _('Delete center') }}"
form="scopesForm" formaction="{{ url_for('action_center_delete') }}" formmethod="get">
+ <input class="btn btn-light dropdown-item {% block nav_center_info %}{% endblock %}" type="submit" value="{{ _('Center details') }}"
+ form="scopesForm" formaction="{{ url_for('action_center_info') }}" formmethod="get">
</div>
</div>