Mercurial > libervia-templates
view 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 |
line wrap: on
line source
<button class="button {% if call_mode == 'video' %}is-success{% else %}is-dark{% endif %}" id="call_btn"> {% if call_mode == 'video' %} <i class="icon-videocam" aria-hidden="true"></i> {% trans %}Video Call{% endtrans %} {% else %} <i class="icon-phone" aria-hidden="true"></i> {% trans %}Audio Call{% endtrans %} {% endif %} </button>