Mercurial > libervia-templates
annotate sat_templates/templates/bulma/invitation/new_item.html @ 374:5646df8bd391
bulma (call): calling mode improvments:
- instead of a "switch" button, there are now 2 button with only an icon, one for video
call and the other for audio call, they appear on the same row as the search bar
- search item can now be extended using "call" blocks, and options are used
- call search items don't show group, and now display an "extra" menu (3 dots menu) with a
dropdown to select audio or video call.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 15 Aug 2023 17:12:18 +0200 |
parents | a617d37a52e5 |
children |
rev | line source |
---|---|
273
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {% import 'components/avatar.html' as avatar with context %} |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 <div class="dropdown-item media has-items-vcentered" {{ {'data-entity-jid': entity_jid}|xmlattr }}> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 {% if identities is defined %} |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 <div class="media-left"> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 {{ avatar.avatar(entity_jid) }} |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 </div> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 {% endif %} |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 <div class="media-content"> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 <div class="content"> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 {{identities[entity_jid].nicknames[0] if identities[entity_jid].nicknames else entity_jid}}<br> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 <span class="is-italic is-size-7 has-text-grey-light">{{entity_jid}}</span> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 </div> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 </div> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 <div class="media-right"> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 <button class="button click_to_ok"> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 <span>{% trans %}invite{% endtrans %}</span> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 <span class="icon is-small"> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 <i class="icon-plus-circled"></i> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 </span> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 </button> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 </div> |
a617d37a52e5
bulma (invitation): template for new item
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 </div> |