2018-05-10 20:25:36 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Home Assistant</title>
|
2018-08-27 22:10:15 +02:00
|
|
|
<link rel='preload' href='/static/fonts/roboto/Roboto-Light.ttf' as='font' crossorigin />
|
|
|
|
<link rel='preload' href='/static/fonts/roboto/Roboto-Regular.ttf' as='font' crossorigin />
|
2019-04-02 21:14:10 +02:00
|
|
|
<%= require('raw-loader!./_header.html.template').default %>
|
2018-07-17 10:05:27 +02:00
|
|
|
<style>
|
2018-08-27 22:10:15 +02:00
|
|
|
.content {
|
|
|
|
padding: 20px 16px;
|
|
|
|
max-width: 360px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
font-size: 1.96em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header img {
|
|
|
|
margin-right: 16px;
|
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">
|
|
|
|
<div class='header'>
|
|
|
|
<img src="/static/icons/favicon-192x192.png" height="52">
|
|
|
|
Home Assistant
|
|
|
|
</div>
|
|
|
|
<ha-authorize><p>Initializing</p></ha-authorize>
|
|
|
|
</div>
|
2018-07-26 09:30:03 +02:00
|
|
|
<% if (!latestBuild) { %>
|
|
|
|
<script src="/static/custom-elements-es5-adapter.js"></script>
|
|
|
|
<script src="<%= compatibility %>"></script>
|
|
|
|
<% } %>
|
2018-05-10 20:25:36 +02:00
|
|
|
<script>
|
2018-08-27 22:10:15 +02:00
|
|
|
window.providersPromise = fetch('/auth/providers', { credentials: 'same-origin' });
|
|
|
|
|
2018-05-15 19:31:47 +02:00
|
|
|
var webComponentsSupported = (
|
|
|
|
'customElements' in window &&
|
|
|
|
'content' in document.createElement('template'));
|
|
|
|
if (!webComponentsSupported) {
|
2018-05-17 23:51:07 +02:00
|
|
|
var e = document.createElement('script');
|
|
|
|
e.src = '/static/webcomponents-bundle.js';
|
|
|
|
document.write(e.outerHTML);
|
2018-05-15 19:31:47 +02:00
|
|
|
}
|
2018-05-10 20:25:36 +02:00
|
|
|
</script>
|
2018-07-26 09:30:03 +02:00
|
|
|
<script src="<%= entrypoint %>"></script>
|
2018-08-24 21:59:50 +02:00
|
|
|
<script src='<%= hassIconsJS %>' async></script>
|
2018-05-10 20:25:36 +02:00
|
|
|
</body>
|
|
|
|
</html>
|