view sat_templates/templates/bulma/dialogs/confirm.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 a587d664f62c
children
line wrap: on
line source

<div>
    <div class="modal has-justify-start is-active click_to_cancel">
        <div class="modal-content modal-dialog">
            <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>