Mercurial > libervia-templates
annotate sat_templates/templates/bulma/list/discover.html @ 372:a603cf0fa5d1
bulma (call): add a button for screen sharing:
- add a button for screen sharing, only on desktop
- split `muted` state to `inactive` and `muted` where `muted` is only about the color
- use the `inactive` state with an other color (in `screen-off` class) to indicate when
screen is not shared
rel 432
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 14 Aug 2023 16:31:46 +0200 |
parents | 3054387cac3b |
children |
rev | line source |
---|---|
298
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {% extends 'base/base.html' %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 {% import 'components/block.html' as block with context %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 {% import 'components/images.html' as images with context %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 {% import 'components/avatar.html' as avatar with context %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 {% import 'input/form.html' as form with context %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 {% import 'input/field.html' as field with context %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 {% block body %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 {{ icon_defs('clipboard') }} |
303
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
10 {% if icons_names is defined %} |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
11 {{ icon_defs(*icons_names) }} |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
12 {% endif %} |
298
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 <section class="section"> |
303
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
14 <nav class="level mb-4"> |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
15 <div class="level-left"> |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
16 <div class="level-item"> |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
17 {{ component.action_button(url_list_create, label=_("create a list")) }} |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
18 </div> |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
19 </div> |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
20 </nav> |
298
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 <article class="message has-text-centered"> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 <div class="message-body"> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 {% trans %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 Please select the list to use. |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 {% endtrans %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
26 </div> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
27 </article> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
28 {% if lists_directory is defined %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
29 <div class="disco_lists"> |
303
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
30 |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
31 <div class="columns is-multiline is-mobile"> |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
32 {% for list_data in lists_directory %} |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
33 {{ block.icon_item( |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
34 list_data.icon_name or "clipboard", |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
35 list_data.name, |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
36 list_data.url, |
308
3054387cac3b
bulma (list/discover): add delete button to all items but ones from config
Goffi <goffi@goffi.org>
parents:
303
diff
changeset
|
37 delete_icon=not list_data.from_config, |
303
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
38 data=list_data) |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
39 }} |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
40 {% endfor %} |
877f01720036
bulma (lists): creation, invitations, item deletion:
Goffi <goffi@goffi.org>
parents:
298
diff
changeset
|
41 </div> |
298
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
42 </div> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
43 {% endif %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
44 </section> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
45 <section class="section"> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
46 {% call form.form(class="form--single") %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
47 {{ field.text("jid", _("list jid"), required=true)}} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
48 {{ field.submit(_("Access")) }} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
49 {% endcall %} |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
50 </section> |
1c330913ff13
bulma (tickets): renamed "tickets" to "lists"
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
51 {% endblock body %} |