view sat_templates/templates/bulma/dialogs/confirm.html @ 289:f1a39607d6a5

bulma (base/base.html): `full_screen_body` parameter + body_wrapper: - if `full_screen_body` is set in template, the `body--fullscreen` class will be added to `<body>` element. It will then be a flexbox container (in columns), and displayed on the whole viewport. - new `body_wrapper` block, if a page needs to replace the `#body` container.
author Goffi <goffi@goffi.org>
date Mon, 28 Sep 2020 17:25:26 +0200
parents 2ed424742e72
children a587d664f62c
line wrap: on
line source

<div>
    <div class="modal has-justify-start is-active click_to_cancel">
        <div class="modal-content">
            <div class="notification is-warning">
                <div class="columns">
                    <div class="column is-flex has-items-vcentered">
                        <p class="has-text-weight-bold">{{message}}</p>
                    </div>
                    <div class="column is-narrow has-text-centered">
                        <button class="button is-{{ok_color}} click_to_ok">
                            {{ok_label|default("OK", true)}}
                        </button>
                        <button class="button click_to_cancel">
                            {{cancel_label|default("Cancel", true)}}
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>