mirror of
https://github.com/home-assistant/frontend.git
synced 2026-05-31 20:43:23 +01:00
0c406335f5
* Upgrade deps * Revert workbox back to 3 * Fix var name
58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Home Assistant</title>
|
|
<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 />
|
|
<%= require('raw-loader!./_header.html.template').default %>
|
|
<style>
|
|
.content {
|
|
padding: 20px 16px;
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
font-size: 1.96em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.header img {
|
|
margin-right: 16px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="content">
|
|
<div class='header'>
|
|
<img src="/static/icons/favicon-192x192.png" height="52">
|
|
Home Assistant
|
|
</div>
|
|
|
|
<ha-onboarding>Initializing</ha-onboarding>
|
|
</div>
|
|
<% if (!latestBuild) { %>
|
|
<script src="/static/custom-elements-es5-adapter.js"></script>
|
|
<script src="<%= compatibility %>"></script>
|
|
<% } %>
|
|
<script>
|
|
window.stepsPromise = fetch('/api/onboarding', { credentials: 'same-origin' });
|
|
|
|
var webComponentsSupported = (
|
|
'customElements' in window &&
|
|
'content' in document.createElement('template'));
|
|
if (!webComponentsSupported) {
|
|
var e = document.createElement('script');
|
|
e.src = '/static/webcomponents-bundle.js';
|
|
document.write(e.outerHTML);
|
|
}
|
|
</script>
|
|
<script src="<%= entrypoint %>"></script>
|
|
<script src='<%= hassIconsJS %>' async></script>
|
|
</body>
|
|
</html>
|