Mercurial > libervia-templates
diff sat_templates/templates/bulma/dialogs/modal.html @ 406:049a0638f6fa
chat: Keywords handling:
- Keywords are now displayed in messages.
- Modal panel has been updated to allow for side panels, i.e. modal panel comming from
top, bottom, right or left with an animation, and which can be closed by
clicking/touching outside of the panel.
rel 458
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Jun 2025 10:50:35 +0200 |
parents | 65c53ec5e777 |
children |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/dialogs/modal.html Wed May 21 15:41:00 2025 +0200 +++ b/sat_templates/templates/bulma/dialogs/modal.html Fri Jun 06 10:50:35 2025 +0200 @@ -1,8 +1,15 @@ -<div class="modal is-active"> +{% if position == 'center' %} +<div class="modal"> <div class="modal-background"></div> <div class="modal-content"> + {# Center modal content goes here #} </div> - {% if closable %} - <button class="modal-close is-large" aria-label="close"></button> - {% endif %} </div> +{% else %} +<div class="modal-panel"> + <div class="modal-panel-background"></div> + <div class="modal-panel-container"> + {# Side panel content goes here #} + </div> +</div> +{% endif %}