view libervia/web/pages/login/logged/page_meta.py @ 1557:855729ef75f2

browser (calls): improve call buttons: - following template change, there are now a call button for video and one for audio, and no more "switch" button, this is more intuitive - search items have been customised with a 3 dots menu to show a dropdown, which let select the "video" or "audio" call mode. By defaut, a click on a search item will do a video call.
author Goffi <goffi@goffi.org>
date Tue, 15 Aug 2023 17:16:45 +0200
parents eb00d593801d
children 7941444c1671
line wrap: on
line source

#!/usr/bin/env python3


from libervia.web.server import session_iface
from libervia.backend.core.log import getLogger

log = getLogger(__name__)

"""SàT log-in page, with link to create an account"""

template = "login/logged.html"


def prepare_render(self, request):
    template_data = request.template_data
    session_data = self.host.get_session_data(request, session_iface.IWebSession)
    template_data["guest_session"] = session_data.guest
    template_data["session_started"] = session_data.started