Files
rio/frontend/index.html
2024-08-21 19:41:02 +02:00

30 lines
1.1 KiB
HTML

<!doctype html>
<!--
Until the CSS is loaded and the server sends us the theme colors, make the
background dark so that dark mode users don't get flashbanged by a completely
white screen
-->
<html data-theme="dark" style="background: #333">
<head>
<title>{title}</title>
<meta name="{meta}" />
<link rel="icon" type="image/x-icon" href="rio/favicon.png" />
<link rel="stylesheet" href="css/style.scss" />
<script>
globalThis.SESSION_TOKEN = '{session_token}';
globalThis.PING_PONG_INTERVAL_SECONDS = '{ping_pong_interval}';
globalThis.RIO_DEBUG_MODE = '{debug_mode}';
globalThis.RUNNING_IN_WINDOW = '{running_in_window}';
globalThis.CHILD_ATTRIBUTE_NAMES = '{child_attribute_names}';
// Always end with a slash
globalThis.RIO_BASE_URL = '/rio-base-url-placeholder/';
globalThis.initialMessages = '{initial_messages}';
</script>
<script src="code/app.ts" type="module"></script>
</head>
<body class="rio-switcheroo-background"></body>
</html>