comparison sat_templates/templates/bulma/dialogs/notification.html @ 271:dea66eead698

bulma (dialogs): new `notification.html` template
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:46:03 +0200
parents
children
comparison
equal deleted inserted replaced
270:2378084522e1 271:dea66eead698
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]}} pr-6 py-4">
12 <button class="delete click_to_close"></button>
13 {{message}}
14 </div>
15 </div>
16 </div>