<?xml version="1.0"?>
<t t-name="web.webclient_bootstrap">
        <t t-call="web.layout">
            <t t-set="head_web">
                <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
                <meta name="theme-color" content="#71639e"/>
                <link rel="manifest" href="/web/manifest.webmanifest" crossorigin="use-credentials"/>
                <link rel="apple-touch-icon" href="/web/static/img/odoo-icon-ios.png"/>
                <script type="text/javascript">
                    // Block to avoid leaking variables in the script scope
                    {
                        odoo.__session_info__ = <t t-out="json.dumps(session_info)"/>;
                        const { user_context } = odoo.__session_info__;
                        const lang = new URLSearchParams(document.location.search).get("lang");
                        let menuURL = "/web/webclient/load_menus";
                        if (lang) {
                            user_context.lang = lang;
                            menuURL += `&amp;lang=${lang}`;
                        }
                        odoo.reloadMenus = () =&gt; fetch(menuURL, { cache: "no-store" }).then(res =&gt; res.json());
                        odoo.loadMenusPromise = odoo.reloadMenus();
                    }
                </script>
                <t t-call-assets="web.assets_web_print" media="print" t-js="false"/>

                <t t-if="request.cookies.get('color_scheme') == 'dark'">
                    <t t-call-assets="web.assets_web_dark" media="screen"/>
                </t>
                <t t-else="">
                    <t t-call-assets="web.assets_web" media="screen"/>
                </t>
                <t t-call="web.conditional_assets_tests" media="screen"/>
            </t>
            <t t-set="head" t-value="head_web + (head or '')" media="screen"/>
            <t t-set="body_classname" t-value="'o_web_client'"/>
        </t>
    </t>

    