mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-21 20:07:27 +00:00
39 lines
975 B
HTML
39 lines
975 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Hass.io</title>
|
|
<meta name='viewport' content='width=device-width, user-scalable=no'>
|
|
<style>
|
|
body {
|
|
height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
<!--EXTRA_SCRIPTS-->
|
|
</head>
|
|
<body>
|
|
<hassio-app></hassio-app>
|
|
<script>
|
|
function addScript(src) {
|
|
var e = document.createElement('script');
|
|
e.src = src;
|
|
document.write(e.outerHTML);
|
|
}
|
|
var webComponentsSupported = (
|
|
'customElements' in window &&
|
|
'import' in document.createElement('link') &&
|
|
'content' in document.createElement('template'));
|
|
if (!webComponentsSupported) {
|
|
addScript('/static/webcomponents-lite.js');
|
|
}
|
|
</script>
|
|
<!--
|
|
Disabled while we make Home Assistant able to serve the right files.
|
|
<script src="./app.js"></script>
|
|
-->
|
|
<link rel='import' href='./hassio-app.html'>
|
|
</body>
|
|
</html>
|