view sat_templates/templates/bulma/list/overview.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 27511c821481
children
line wrap: on
line source

{# display the list of list #}

{% set category_menu = [('list_item_new', url_list_new)] %}
{% extends 'base/base.html' %}
{% import 'input/xmlui.html' as xmlui with context %}
{% import 'input/navigation.html' as navigation with context %}
{% import 'input/textbox.html' as textbox with context %}

{% block body %}
<section class="section has-background-white">
    <nav class="level mb-4">
        <div class="level-left">
            <div class="level-item">
                {{ component.action_button(url_list_new) }}
            </div>
            {% if owner %}
                <div class="level-item">
                    {{
                        component.action_button(
                            "#",
                            label=_("manage invitations"),
                            icon="group",
                            id="button_manage")
                    }}
                </div>
            {% endif %}
        </div>
        <div class="level-right">
            <div class="level-item">
                {{ textbox.search() }}
            </div>
        </div>
    </nav>
    {% if list_type == "todo" %}
        {% include "list/view_todo.html" %}
    {% elif list_type == "grocery" %}
        {% include "list/view_grocery.html" %}
    {% else %}
        {% include "list/view_generic.html" %}
    {% endif %}
</section>
{{ navigation.prev_next(_("previous page"), _("next page")) }}
{% endblock body %}