Mercurial > libervia-templates
comparison sat_templates/templates/bulma/chat/extra_recipient_field.html @ 411:f7a434581872 default tip
chat: Add forward, rich editing and extra recipients:
- There is a new "forward" menu in message. For now, a simple prompt ask for recipient JID.
- A new "extra" menu is available next to input field. Inside there are 2 items for now:
add extra recipient, and toggle rich edit mode.
- Extra recipient option add a field to add an email-like "to", "cc" or "bcc" recipients.
- Rich edit let use rich styling such as bold, italic, underline, etc.
rel 461
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jul 2025 17:33:22 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
410:a5588ea3bcd6 | 411:f7a434581872 |
---|---|
1 <div class="recipient-field field has-addons mb-2"> | |
2 <div class="control"> | |
3 <div class="select"> | |
4 {% set selected = selected|default('to') %} | |
5 <select> | |
6 <option value="to" {% if selected == 'to' %}selected{% endif %}> | |
7 {% trans %}To{% endtrans %} | |
8 </option> | |
9 <option value="cc" {% if selected == 'cc' %}selected{% endif %}> | |
10 {% trans %}Cc{% endtrans %} | |
11 </option> | |
12 <option value="bcc" {% if selected == 'bcc' %}selected{% endif %}> | |
13 {% trans %}Bcc{% endtrans %} | |
14 </option> | |
15 </select> | |
16 </div> | |
17 </div> | |
18 <div class="control is-expanded"> | |
19 <input class="input" type="text" placeholder="{{ _('Recipient JID') }}"> | |
20 </div> | |
21 <div class="control"> | |
22 <button class="button delete-action" title="{% trans %}Remove{% endtrans %}"> | |
23 <span class="delete"></span> | |
24 </button> | |
25 </div> | |
26 </div> |