Mercurial > libervia-templates
diff sat_templates/templates/bulma/chat/extra_menu.html @ 386:e63fb06052ae
bulma: message edition + extra menu + improvments:
- add an extra menu template with `Edit` and `Quote`
- add a template for previous editions popup
- fix `own_msg` class application
- add CSS for edit mode
- cosmetic changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Nov 2023 17:48:00 +0100 |
parents | |
children | 8b990c78d4b5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/chat/extra_menu.html Tue Nov 28 17:48:00 2023 +0100 @@ -0,0 +1,16 @@ +<div class="extra-menu-popup"> + <ul class="menu-list"> + <li class="action_quote"> + <a href="#" class=""> + {{ icon('quote-left', cls='icon is-small') }} {% trans %}Quote{% endtrans %} + </a> + </li> + {% if edit %} + <li class="action_edit"> + <a href="#" class=""> + {{ icon('pencil', cls='icon is-small') }} {% trans %}Edit{% endtrans %} + </a> + </li> + {% endif %} + </ul> +</div>