Mercurial > libervia-templates
annotate sat_templates/templates/bulma/chat/select.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 | 68c6f30aecab |
children |
rev | line source |
---|---|
230 | 1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
2 {% import 'components/avatar.html' as avatar with context %} | |
3 {% import 'input/form.html' as form with context %} | |
4 {% import 'input/field.html' as field with context %} | |
5 | |
6 {% block body %} | |
7 | |
8 <section class="section"> | |
368
68c6f30aecab
bulma (chat/select): put the search at top and replace technical terms:
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
9 {% call form.form(class="form--single") %} |
68c6f30aecab
bulma (chat/select): put the search at top and replace technical terms:
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
10 {{ field.search("search", _("Search rooms and peopleā¦"), required=true)}} |
68c6f30aecab
bulma (chat/select): put the search at top and replace technical terms:
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
11 {% endcall %} |
230 | 12 </section> |
13 | |
14 <section class="section"> | |
368
68c6f30aecab
bulma (chat/select): put the search at top and replace technical terms:
Goffi <goffi@goffi.org>
parents:
246
diff
changeset
|
15 <div id="chat_items" class="columns is-mobile is-multiline"> |
230 | 16 {% for room in rooms %} |
17 <div class="column is-2-desktop is-4-touch"> | |
18 <div class="card x-is-hoverable"> | |
19 <a href="{{room.url}}"> | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
234
diff
changeset
|
20 <div class="card-image is-flex has-items-centered px-1 py-1"> |
230 | 21 {{ avatar.avatar(room.jid, "is-64x64") }} |
22 </div> | |
246
1928ba66c194
bulma: replaced custom styles by new spacing helpers
Goffi <goffi@goffi.org>
parents:
234
diff
changeset
|
23 <div class="card-content has-text-centered has-text-shortenable px-1 py-1"> |
230 | 24 <span>{{room.name}}</span> |
25 </div> | |
26 </a> | |
27 </div> | |
28 </div> | |
29 {% endfor %} | |
30 </div> | |
31 </section> | |
32 | |
33 {% endblock body %} |