summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-07-30 12:15:29 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-07-30 13:01:38 +0200
commit9d98cf0423e7fa0e74bc06ae8d47c9d4896564c1 (patch)
treed514d393c909e80dc2f50e9f521deff02d33c571 /ogcp/templates
parent95c113f0674bda60cce7f1cc82ec1bf2777ed170 (diff)
Add "Delete center" action
Creates "delete center" form with a select to choose a center to delete. Adds a new button in the scopes view. Because scopes checkboxes values maps to ips the only way to specify the center to delete is in the delete center form itself, using a select input.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/scopes.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index 07d9b7f..8ab30c0 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -26,4 +26,6 @@
form="scopesForm" formaction="{{ url_for('action_client_delete') }}" formmethod="post">
<input class="btn btn-light" type="submit" value="{{ _('Delete room') }}"
form="scopesForm" formaction="{{ url_for('action_room_delete') }}" formmethod="get">
+ <input class="btn btn-light" type="submit" value="{{ _('Delete center') }}"
+ form="scopesForm" formaction="{{ url_for('action_center_delete') }}" formmethod="get">
{% endblock %}