Mercurial > libervia-templates
view sat_templates/templates/bulma/dialogs/notification.html @ 325:8c779fb46384
bulma (components/block): interests_grid is more customisable:
- new `delete_icon` argument can be set to `false` if delete icon is not desired
- the macro can now be called, the caller then get 2 arguments: part to customise and
current interest. Part to customise can be:
* `header-title`: markup to put in the title
* `content`: car content (replaces the default `interest.name`)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 May 2021 18:44:47 +0200 |
parents | dea66eead698 |
children |
line wrap: on
line source
<div class="main_notification columns is-centered"> <div class="column is-narrow has-items-centered"> {% set level_map={ 'success': 'is-success', 'info': 'is-info', 'warning': 'is-warning', 'error': 'is-danger' } %} <div class="notification {{level_map[level]}} pr-6 py-4"> <button class="delete click_to_close"></button> {{message}} </div> </div> </div>