Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sat_templates/templates/bulma/chat/extra_recipient_field.html Fri Jul 04 17:33:22 2025 +0200 @@ -0,0 +1,26 @@ +<div class="recipient-field field has-addons mb-2"> + <div class="control"> + <div class="select"> + {% set selected = selected|default('to') %} + <select> + <option value="to" {% if selected == 'to' %}selected{% endif %}> + {% trans %}To{% endtrans %} + </option> + <option value="cc" {% if selected == 'cc' %}selected{% endif %}> + {% trans %}Cc{% endtrans %} + </option> + <option value="bcc" {% if selected == 'bcc' %}selected{% endif %}> + {% trans %}Bcc{% endtrans %} + </option> + </select> + </div> + </div> + <div class="control is-expanded"> + <input class="input" type="text" placeholder="{{ _('Recipient JID') }}"> + </div> + <div class="control"> + <button class="button delete-action" title="{% trans %}Remove{% endtrans %}"> + <span class="delete"></span> + </button> + </div> +</div>