annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
386
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 <div class="extra-menu-popup">
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 <ul class="menu-list">
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 <li class="action_quote">
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <a href="#" class="">
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {{ icon('quote-left', cls='icon is-small') }} {% trans %}Quote{% endtrans %}
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 </a>
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 </li>
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 {% if edit %}
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <li class="action_edit">
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 <a href="#" class="">
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 {{ icon('pencil', cls='icon is-small') }} {% trans %}Edit{% endtrans %}
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </a>
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 </li>
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {% endif %}
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 </ul>
e63fb06052ae bulma: message edition + extra menu + improvments:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </div>