Mercurial > libervia-templates
annotate sat_templates/templates/bulma/dialogs/confirm.html @ 317:ae903ca0ed66
bulma (input/field): color can now be specified for `submit` button
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Apr 2021 15:52:34 +0200 |
parents | a587d664f62c |
children |
rev | line source |
---|---|
244
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 <div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 <div class="modal has-justify-start is-active click_to_cancel"> |
294
a587d664f62c
bulma (dialogs,css): added `modal-dialog` to avoid transforming other modals
Goffi <goffi@goffi.org>
parents:
285
diff
changeset
|
3 <div class="modal-content modal-dialog"> |
244
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 <div class="notification is-warning"> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 <div class="columns"> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 <div class="column is-flex has-items-vcentered"> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 <p class="has-text-weight-bold">{{message}}</p> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 </div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 <div class="column is-narrow has-text-centered"> |
285
2ed424742e72
bulma (dialogs/confirm): use `ok_color` for confirm button
Goffi <goffi@goffi.org>
parents:
244
diff
changeset
|
10 <button class="button is-{{ok_color}} click_to_ok"> |
244
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 {{ok_label|default("OK", true)}} |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 </button> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 <button class="button click_to_cancel"> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 {{cancel_label|default("Cancel", true)}} |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 </button> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 </div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 </div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 </div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 </div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 </div> |
a62822c6a114
bulma: added a notification area + first dialog template for confirmation request
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 </div> |