changeset 285:2ed424742e72

bulma (dialogs/confirm): use `ok_color` for confirm button
author Goffi <goffi@goffi.org>
date Tue, 25 Aug 2020 08:48:22 +0200
parents 671085989f2f
children f8026bf77a4c
files sat_templates/templates/bulma/dialogs/confirm.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/dialogs/confirm.html	Tue Aug 25 08:46:53 2020 +0200
+++ b/sat_templates/templates/bulma/dialogs/confirm.html	Tue Aug 25 08:48:22 2020 +0200
@@ -7,7 +7,7 @@
                         <p class="has-text-weight-bold">{{message}}</p>
                     </div>
                     <div class="column is-narrow has-text-centered">
-                        <button class="button is-danger click_to_ok">
+                        <button class="button is-{{ok_color}} click_to_ok">
                             {{ok_label|default("OK", true)}}
                         </button>
                         <button class="button click_to_cancel">