comparison sat_templates/templates/bulma/dialogs/retry-notification.html @ 356:e3e11ced9f8f

bulma: new `retry-notification` template: this template is used notably when server connection is lost, and it will be checked again after a delay.
author Goffi <goffi@goffi.org>
date Thu, 30 Mar 2023 17:03:57 +0200
parents
children
comparison
equal deleted inserted replaced
355:ff67c700405e 356:e3e11ced9f8f
1 <div class="main_notification columns is-centered">
2 <div class="column is-narrow has-items-centered">
3 {% set level_map={
4 'success': 'is-success',
5 'info': 'is-info',
6 'warning': 'is-warning',
7 'error': 'is-danger'
8 }
9 %}
10
11 <div class="notification {{level_map[level]}} py-4">
12 {{message}}
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>
14 </div>
15 </div>
16 </div>