view sat_templates/templates/bulma/dialogs/retry-notification.html @ 402:2bbcb7da56bc default tip

bulma: use Font-Awesome instead of Fontello + start of major redesign: - Font-Awesome is now used instead of Fontello, following change in Libervia Media. - This is a beginning of a major redesign of the web templates/web frontend. This currently breaks a lot of thing.
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 22:53:26 +0200
parents e3e11ced9f8f
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]}} py-4">
            {{message}}
            <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>
        </div>
    </div>
</div>