summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-07-29 14:17:55 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-07-29 16:44:14 +0200
commitdf25ec62a863d05f5c16584cd1344011a3d66a0f (patch)
tree0c37949158f78fe70425b4ddf26db88b92843038 /ogcp/templates
parent05bab71162ddd382e7662f0774ca6b90a5c154d5 (diff)
Add "Delete client" action
Adds a new button in the scopes view. This action handles clients deletion on one or multiple scopes. Users must select clients using the scopes tree.
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 934177f..07d9b7f 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -22,6 +22,8 @@
form="scopesForm" formaction="{{ url_for('action_room_add') }}" formmethod="get">
<input class="btn btn-light" type="submit" value="{{ _('Add center') }}"
form="scopesForm" formaction="{{ url_for('action_center_add') }}" formmethod="get">
+ <input class="btn btn-light" type="submit" value="{{ _('Delete client') }}"
+ 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">
{% endblock %}