Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

2.5 KB
Raw Blame
<!DOCTYPE html>
<html lang="{{{language}}}" translate="no">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="robots" content="noindex" />
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <link rel="apple-touch-icon" sizes="180x180" href="app/assets/img/apple-touch-icon.png">
    <link rel="icon" href="{{{favicon}}}" />
    <link rel="manifest" crossorigin="use-credentials" href="app/assets/img/site.webmanifest">
    <meta name="msapplication-TileColor" content="#2d89ef">
    <meta name="msapplication-config" content="app/assets/img/browserconfig.xml">
    <meta name="theme-color" content="#ffffff">
    <meta name="apple-mobile-web-app-status-bar-style" content="default" />
    <meta name="base-href" content="{{{baseHref}}}" />
    <meta name="uri" content="{{{uri}}}" />

    {{{embedCode}}}

    <title>{{{applicationName}}}</title>

    <base href="{{{baseHref}}}" />

    <!--
      PreloadAssetTags replaces this marker at build time. Keep it after <base href>,
      which the hints resolve against, and before the inline JSON, which is large.
    -->
    <!-- asset-preloads -->

    <script type="application/json" id="_metabaseBootstrap">
      {{{bootstrapJSON}}}
    </script>

    <script type="application/json" id="_metabaseLocales">
      {"user": "{{{userLocale}}}", "site": "{{{siteLocale}}}"}
    </script>

    <script type="application/json" id="_metabaseUserColorScheme">
      {{{userColorScheme}}}
    </script>

    <!-- If you modify this script, make sure you update the whitelisted Content-Security-Policy hash in metabase.server.middleware.security -->
    <!-- The nonce is here so index_bootstrap.js can read it off `document.currentScript.nonce`.
         The browser blanks the attribute after parsing, so the value stays out of the DOM. -->
    <script type="text/javascript" nonce="{{{nonce}}}">{{{bootstrapJS}}}</script>
    <script type="text/javascript">{{{assetOnErrorJS}}}</script>

    <!-- The catalogue chunks this request needs. They install themselves, so the
         app's `import()` of them resolves without a request. Below
         index_bootstrap.js, which repairs <base href> when the Site URL setting
         is wrong, and these resolve against it. -->
    {{{localeScripts}}}
  </head>

  <body dir="ltr" class="mb-wrapper">
    <div id="root"></div>
  </body>
</html>