mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Improve index.html template
This commit is contained in:
parent
11cc065845
commit
537a2a6ef6
@ -69,6 +69,10 @@
|
|||||||
<paper-spinner active></paper-spinner>
|
<paper-spinner active></paper-spinner>
|
||||||
Home Assistant had trouble<br>connecting to the server.<br><br><a href='/'>TRY AGAIN</a>
|
Home Assistant had trouble<br>connecting to the server.<br><br><a href='/'>TRY AGAIN</a>
|
||||||
</div>
|
</div>
|
||||||
|
<home-assistant icons='{{ icons }}'></home-assistant>
|
||||||
|
<script src='/static/{{ core_url }}'></script>
|
||||||
|
<link rel='import' href='/static/{{ ui_url }}' onerror='initError()' async>
|
||||||
|
<link rel='import' href='/static/{{ icons_url }}' async>
|
||||||
<script>
|
<script>
|
||||||
var webComponentsSupported = (
|
var webComponentsSupported = (
|
||||||
'registerElement' in document &&
|
'registerElement' in document &&
|
||||||
@ -82,9 +86,5 @@
|
|||||||
document.head.appendChild(script)
|
document.head.appendChild(script)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<home-assistant icons='{{ icons }}'></home-assistant>
|
|
||||||
<script src='/static/{{ core_url }}'></script>
|
|
||||||
<link rel='import' href='/static/{{ ui_url }}' onerror='initError()' async>
|
|
||||||
<link rel='import' href='/static/{{ icons_url }}' async>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user