annotate sat_templates/templates/default/components/common.html @ 400:140690a18b63 default tip

call: group call design: Design for group call (which is used for both group call and A/V conferences) has been improved to: - have a working fullscreen button; - have a better display of peer users in grid, with responsive design; - have a nicer design for peer user, and adding avatar/nickname as overlay on the bottom of the video stream; - add a way to (un)pin a peer user, which make is appear on the whole width on top of the grid. rel 448 HG<S-Insert>: changed sat_templates/templates/bulma/call/group_peer.html
author Goffi <goffi@goffi.org>
date Tue, 06 Aug 2024 23:50:17 +0200
parents 7539d98e1d08
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
187
7539d98e1d08 components (menu): disable cache when importing "menu_labels":
Goffi <goffi@goffi.org>
parents: 183
diff changeset
1 {% import 'components/menu_labels.html' as ml with context %}
7539d98e1d08 components (menu): disable cache when importing "menu_labels":
Goffi <goffi@goffi.org>
parents: 183
diff changeset
2 {# we need to use "with context" to disable cache, needed for i18n #}
66
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
3
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% macro menu(menus, class='') %}
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <nav class="menu {{class}}">
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <ul>
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 {% for name,url in menus %}
166
178f55b825b7 small refactoring/redesign, better BEM integration:
Goffi <goffi@goffi.org>
parents: 164
diff changeset
8 <li><a class="menu_item menu_item--{{name}}" {{ {'href': url}|xmlattr }}>{{ml.label[name]}}</a></li>
66
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {% endfor %}
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </ul>
183
240bbac435f4 base: implemented language button:
Goffi <goffi@goffi.org>
parents: 166
diff changeset
11 {% if caller is defined %}
240bbac435f4 base: implemented language button:
Goffi <goffi@goffi.org>
parents: 166
diff changeset
12 {{ caller()}}
240bbac435f4 base: implemented language button:
Goffi <goffi@goffi.org>
parents: 166
diff changeset
13 {% endif %}
66
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 </nav>
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% endmacro %}