Mercurial > libervia-templates
diff sat_templates/templates/bulma/dialogs/confirm.html @ 244:a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 17:57:13 +0200 |
parents | |
children | 2ed424742e72 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/dialogs/confirm.html Fri Jun 19 17:57:13 2020 +0200 @@ -0,0 +1,21 @@ +<div> + <div class="modal has-justify-start is-active click_to_cancel"> + <div class="modal-content"> + <div class="notification is-warning"> + <div class="columns"> + <div class="column is-flex has-items-vcentered"> + <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"> + {{ok_label|default("OK", true)}} + </button> + <button class="button click_to_cancel"> + {{cancel_label|default("Cancel", true)}} + </button> + </div> + </div> + </div> + </div> + </div> +</div>