annotate sat_templates/templates/bulma/event/overview.html @ 400:140690a18b63

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 6c21a9857e08
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {# overview of current events
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
298
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents: 230
diff changeset
3 @variable item(xmlui_item): item to display
1c330913ff13 bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents: 230
diff changeset
4 @variable comments(data_object.BlogItems): comments of the item
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 @variable comments_service(unicode): service for adding comments
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 @variable comments_node(unicode): node for adding comments
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 #}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% import 'components/block.html' as block with context %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% block body %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ icon_defs('calendar') }}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 <section class="section">
326
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
16 <div class="message is-warning">
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <div class="message-body">
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 {% trans %}There is not events discovery yet, this will come in the future.{% endtrans %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 </div>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 </div>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
21
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 <div class="content has-items-centered is-flex">
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 {{ component.action_button(url_event_new) }}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 </div>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 {% if events is defined %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 <div class="message">
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 <div class="message-body">
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 {% trans nb_events=events|length%}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 You have currently {{nb_events}} event in your personal list
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 {% pluralize %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 You have currently {{nb_events}} events in your personal list
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 {% endtrans %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 </div>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 </div>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36
332
3db3509cbad1 bulma: fix items/pagination ordering in various places following ordering fix in Libervia/SàT Pubsub
Goffi <goffi@goffi.org>
parents: 326
diff changeset
37 {% call(part, interest) block.interests_grid(events|reverse, 'calendar') %}
326
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
38 {% if part == "header-title" %}
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
39 <a href="{{interest.url}}">
357
6c21a9857e08 bulma (event/overview): quick fix of the template following backend changes with events
Goffi <goffi@goffi.org>
parents: 332
diff changeset
40 <span class="tag is-medium is-rounded {{ 'is-light' if interest.start is in_the_past else 'is-info' }}">
6c21a9857e08 bulma (event/overview): quick fix of the template following backend changes with events
Goffi <goffi@goffi.org>
parents: 332
diff changeset
41 {{interest.start|date_fmt("full", date_only=true)}}
326
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
42 </span>
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
43 </a>
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
44 {% elif part == "content" %}
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
45 <a href="{{interest.url}}">
357
6c21a9857e08 bulma (event/overview): quick fix of the template following backend changes with events
Goffi <goffi@goffi.org>
parents: 332
diff changeset
46 <div><em>{{ interest.name[""]|default(_("unnamed")) }}</em></div>
326
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
47 </a>
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
48 <a href="{{interest.url}}">
357
6c21a9857e08 bulma (event/overview): quick fix of the template following backend changes with events
Goffi <goffi@goffi.org>
parents: 332
diff changeset
49 <div class="has-text-weight-semibold {{ 'has-text-grey' if interest.start is in_the_past else 'has-text-black' }}">
6c21a9857e08 bulma (event/overview): quick fix of the template following backend changes with events
Goffi <goffi@goffi.org>
parents: 332
diff changeset
50 {{interest.start|date_fmt("relative")}}
326
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
51 </div>
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
52 </a>
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
53 {% endif %}
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
54
f3c8a6af4ee2 bulma (events/overview): show event date and remaining time
Goffi <goffi@goffi.org>
parents: 298
diff changeset
55 {% endcall %}
230
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
56
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
57 {% endif %}
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
58 </section>
0e69b5843c2f theme: bulma theme first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 {% endblock body %}