2019-05-02 20:35:46 +02:00
|
|
|
<!DOCTYPE html>
|
2020-04-08 12:36:06 +02:00
|
|
|
<html>
|
2018-05-10 20:25:36 +02:00
|
|
|
<head>
|
|
|
|
<title>Home Assistant</title>
|
2023-04-20 11:10:12 +02:00
|
|
|
<%= renderTemplate("_header.html.template") %>
|
2023-04-24 11:27:40 +02:00
|
|
|
<%= renderTemplate("_style_base.html.template") %>
|
2018-07-17 10:05:27 +02:00
|
|
|
<style>
|
2023-11-27 23:06:51 +01:00
|
|
|
html {
|
|
|
|
background-color: var(--primary-background-color, #fafafa);
|
|
|
|
color: var(--primary-text-color, #212121);
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
html {
|
|
|
|
background-color: var(--primary-background-color, #111111);
|
|
|
|
color: var(--primary-text-color, #e1e1e1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 32px 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-08-27 22:10:15 +02:00
|
|
|
.content {
|
2023-11-27 23:06:51 +01:00
|
|
|
width: 100%;
|
|
|
|
max-width: 400px;
|
2018-08-27 22:10:15 +02:00
|
|
|
margin: 0 auto;
|
2023-12-07 14:45:05 +01:00
|
|
|
padding: 0 16px;
|
|
|
|
box-sizing: content-box;
|
2018-08-27 22:10:15 +02:00
|
|
|
}
|
2023-11-27 23:06:51 +01:00
|
|
|
|
2018-08-27 22:10:15 +02:00
|
|
|
.header {
|
|
|
|
display: flex;
|
2023-11-27 23:06:51 +01:00
|
|
|
align-items: center;
|
2018-08-27 22:10:15 +02:00
|
|
|
justify-content: center;
|
2023-11-27 23:06:51 +01:00
|
|
|
margin-bottom: 32px;
|
2018-08-27 22:10:15 +02:00
|
|
|
}
|
2023-11-27 23:06:51 +01:00
|
|
|
|
|
|
|
.header img {
|
|
|
|
height: 56px;
|
|
|
|
width: 56px;
|
2018-07-17 10:05:27 +02:00
|
|
|
}
|
|
|
|
</style>
|
2018-05-10 20:25:36 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-08-27 22:10:15 +02:00
|
|
|
<div class="content">
|
2019-05-02 20:35:46 +02:00
|
|
|
<div class="header">
|
2023-11-27 23:06:51 +01:00
|
|
|
<img src="/static/icons/favicon-192x192.png" alt="Home Assistant" />
|
2018-08-27 22:10:15 +02:00
|
|
|
</div>
|
2023-09-26 20:17:03 +02:00
|
|
|
<ha-authorize></ha-authorize>
|
2018-08-27 22:10:15 +02:00
|
|
|
</div>
|
2023-04-20 11:10:12 +02:00
|
|
|
<%= renderTemplate("_js_base.html.template") %>
|
|
|
|
<%= renderTemplate("_preload_roboto.html.template") %>
|
2020-10-14 22:20:39 +02:00
|
|
|
<script crossorigin="use-credentials">
|
2021-06-30 12:02:01 +02:00
|
|
|
// Safari 12 and below does not have a compliant ES2015 implementation of template literals, so we ship ES5
|
|
|
|
if (!isS11_12) {
|
2023-04-20 11:10:12 +02:00
|
|
|
<% for (const entry of latestEntryJS) { %>
|
|
|
|
import("<%= entry %>");
|
|
|
|
<% } %>
|
2021-06-30 12:02:01 +02:00
|
|
|
window.latestJS = true;
|
|
|
|
window.providersPromise = fetch("/auth/providers", {
|
|
|
|
credentials: "same-origin",
|
|
|
|
});
|
2021-06-03 22:50:33 +02:00
|
|
|
}
|
2019-05-02 20:35:46 +02:00
|
|
|
</script>
|
2023-04-20 11:10:12 +02:00
|
|
|
<%= renderTemplate("_script_load_es5.html.template") %>
|
2018-05-10 20:25:36 +02:00
|
|
|
</body>
|
2021-11-08 10:29:34 +01:00
|
|
|
</html>
|