Mercurial > libervia-templates
annotate sat_templates/templates/bulma/dialogs/retry-notification.html @ 388:dc83f45625b3
bulma (file, components): fix color fo icons:
icons have no color specified anymore for a while, and use the color of parent elements.
As they are often used in a `<a>` element (to work without javascript), they are often
using a link color. This commit change a few icons to use a dark color instead.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 10 Dec 2023 10:55:09 +0100 |
parents | e3e11ced9f8f |
children |
rev | line source |
---|---|
356
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 <div class="main_notification columns is-centered"> |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 <div class="column is-narrow has-items-centered"> |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 {% set level_map={ |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 'success': 'is-success', |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 'info': 'is-info', |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 'warning': 'is-warning', |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 'error': 'is-danger' |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 } |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 %} |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 <div class="notification {{level_map[level]}} py-4"> |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 {{message}} |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 <button class="button is-rounded is-small click_to_retry ml-5 is-valign-middle">{% trans %}retry{% endtrans %} (<span class="retry_counter">X</span>s)</button> |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 </div> |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 </div> |
e3e11ced9f8f
bulma: new `retry-notification` template:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 </div> |