From a72a93b06a4c5cd7b0e26adad0d28c207833c144 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Tue, 1 Dec 2020 16:42:06 +0000 Subject: [PATCH] Ensure buttons marked cpanel-button--destructive have confirmation alerts. --- controlpanel/frontend/jinja2/datasource-access-update.html | 2 +- controlpanel/frontend/jinja2/includes/parameter-list.html | 2 +- controlpanel/frontend/jinja2/policy-update.html | 2 +- controlpanel/frontend/jinja2/webapp-detail.html | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/controlpanel/frontend/jinja2/datasource-access-update.html b/controlpanel/frontend/jinja2/datasource-access-update.html index 6f5836950..384796a5f 100644 --- a/controlpanel/frontend/jinja2/datasource-access-update.html +++ b/controlpanel/frontend/jinja2/datasource-access-update.html @@ -54,7 +54,7 @@

{{ csrf_input }} - +
{% endif %} diff --git a/controlpanel/frontend/jinja2/includes/parameter-list.html b/controlpanel/frontend/jinja2/includes/parameter-list.html index e8590900e..7a04a0c82 100644 --- a/controlpanel/frontend/jinja2/includes/parameter-list.html +++ b/controlpanel/frontend/jinja2/includes/parameter-list.html @@ -20,7 +20,7 @@
{{ csrf_input }} - +
diff --git a/controlpanel/frontend/jinja2/policy-update.html b/controlpanel/frontend/jinja2/policy-update.html index 446b0faba..561a3f884 100644 --- a/controlpanel/frontend/jinja2/policy-update.html +++ b/controlpanel/frontend/jinja2/policy-update.html @@ -63,6 +63,6 @@

{{ page_title }}

{{ csrf_input }} - +
{% endblock %} diff --git a/controlpanel/frontend/jinja2/webapp-detail.html b/controlpanel/frontend/jinja2/webapp-detail.html index 982f3c331..979c7b34c 100644 --- a/controlpanel/frontend/jinja2/webapp-detail.html +++ b/controlpanel/frontend/jinja2/webapp-detail.html @@ -170,7 +170,7 @@

{% if user.id %}
{{ csrf_input }} -
@@ -247,14 +247,14 @@

App data sources

{{ csrf_input }} -
{% if request.user.has_perm('api.remove_app_bucket', app) %}
{{ csrf_input }} -