mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 07:06:30 +00:00
Fix new panel build for 0.70.0 (#481)
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
parent
a85172f30b
commit
316190dff8
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -16,20 +16,23 @@
|
|||||||
<body>
|
<body>
|
||||||
<hassio-app></hassio-app>
|
<hassio-app></hassio-app>
|
||||||
<script>
|
<script>
|
||||||
function addScript(src) {
|
function addScript(src) {
|
||||||
var e = document.createElement('script');
|
var e = document.createElement('script');
|
||||||
e.src = src;
|
e.src = src;
|
||||||
document.head.appendChild(e);
|
document.write(e.outerHTML);
|
||||||
}
|
}
|
||||||
var webComponentsSupported = (
|
var webComponentsSupported = (
|
||||||
'customElements' in window &&
|
'customElements' in window &&
|
||||||
'import' in document.createElement('link') &&
|
'import' in document.createElement('link') &&
|
||||||
'content' in document.createElement('template'));
|
'content' in document.createElement('template'));
|
||||||
if (!webComponentsSupported) {
|
if (!webComponentsSupported) {
|
||||||
addScript('/static/webcomponents-lite.js');
|
addScript('/static/webcomponents-bundle.js');
|
||||||
}
|
}
|
||||||
</script>
|
</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'>
|
<link rel='import' href='./hassio-app.html'>
|
||||||
<link rel='import' href='/static/mdi.html' async>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
Subproject commit eeba117e4bff3ae408b4759880ab1be0d1e500fb
|
Subproject commit 045b1d02be40f95b0674c50fb36c1d9c9e52b291
|
Loading…
x
Reference in New Issue
Block a user