view sat_templates/templates/bulma/components/images.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 0e69b5843c2f
children
line wrap: on
line source

{% macro get_icon_client(ident, class='is-64x64') %}
    {% if ident.client %}
        {% if ident.client.pc %}
            {{ icon('desktop', cls='image is-inline-block {}'.format(class)) }}
        {% elif ident.client.phone %}
            {{ icon('mobile', cls='image is-inline-block {}'.format(class)) }}
        {% elif ident.client.web %}
            {{ icon('globe', cls='image is-inline-block {}'.format(class)) }}
        {% elif ident.client.console %}
            {{ icon('terminal', cls='image is-inline-block {}'.format(class)) }}
        {% else %}
            {{ icon('desktop', cls='image is-inline-block {}'.format(class)) }}
        {% endif %}
    {% endif %}
{% endmacro %}