view sat_templates/templates/bulma/dialogs/notification.html @ 371:a5a80d761e3e

bulma (call): update template to integrate call features: previously, call template was a minimum UI for testing implementation. This commit introduce a usable UI with search interface, mute and full screen button, animations, and other UI/UX improvments. rel 423
author Goffi <goffi@goffi.org>
date Wed, 09 Aug 2023 00:11:39 +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>