Mercurial > libervia-templates
annotate sat_templates/templates/bulma/call/call_button.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 | a5a80d761e3e |
children |
rev | line source |
---|---|
371
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 <button class="button {% if call_mode == 'video' %}is-success{% else %}is-dark{% endif %}" id="call_btn"> |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 {% if call_mode == 'video' %} |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 <i class="icon-videocam" aria-hidden="true"></i> |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 {% trans %}Video Call{% endtrans %} |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 {% else %} |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 <i class="icon-phone" aria-hidden="true"></i> |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 {% trans %}Audio Call{% endtrans %} |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 {% endif %} |
a5a80d761e3e
bulma (call): update template to integrate call features:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 </button> |