view sat_templates/templates/bulma/call/call_button.html @ 374:5646df8bd391

bulma (call): calling mode improvments: - instead of a "switch" button, there are now 2 button with only an icon, one for video call and the other for audio call, they appear on the same row as the search bar - search item can now be extended using "call" blocks, and options are used - call search items don't show group, and now display an "extra" menu (3 dots menu) with a dropdown to select audio or video call.
author Goffi <goffi@goffi.org>
date Tue, 15 Aug 2023 17:12:18 +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>