comparison sat_templates/templates/bulma/dialogs/confirm.html @ 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 a62822c6a114
children a587d664f62c
comparison
equal deleted inserted replaced
284:671085989f2f 285:2ed424742e72
5 <div class="columns"> 5 <div class="columns">
6 <div class="column is-flex has-items-vcentered"> 6 <div class="column is-flex has-items-vcentered">
7 <p class="has-text-weight-bold">{{message}}</p> 7 <p class="has-text-weight-bold">{{message}}</p>
8 </div> 8 </div>
9 <div class="column is-narrow has-text-centered"> 9 <div class="column is-narrow has-text-centered">
10 <button class="button is-danger click_to_ok"> 10 <button class="button is-{{ok_color}} click_to_ok">
11 {{ok_label|default("OK", true)}} 11 {{ok_label|default("OK", true)}}
12 </button> 12 </button>
13 <button class="button click_to_cancel"> 13 <button class="button click_to_cancel">
14 {{cancel_label|default("Cancel", true)}} 14 {{cancel_label|default("Cancel", true)}}
15 </button> 15 </button>