mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Frontend: Style loading page like login form
This commit is contained in:
parent
4b31a22a1c
commit
0a2652630f
@ -5,24 +5,46 @@
|
|||||||
<title>Home Assistant</title>
|
<title>Home Assistant</title>
|
||||||
|
|
||||||
<link rel='manifest' href='/static/manifest.json' />
|
<link rel='manifest' href='/static/manifest.json' />
|
||||||
|
|
||||||
<meta name='apple-mobile-web-app-capable' content='yes'>
|
|
||||||
<meta name='mobile-web-app-capable' content='yes'>
|
|
||||||
|
|
||||||
<meta name='viewport' content='width=device-width,
|
|
||||||
user-scalable=no' />
|
|
||||||
|
|
||||||
<link rel='shortcut icon' href='/static/favicon.ico' />
|
<link rel='shortcut icon' href='/static/favicon.ico' />
|
||||||
<link rel='icon' type='image/png'
|
<link rel='icon' type='image/png'
|
||||||
href='/static/favicon-192x192.png' sizes='192x192'>
|
href='/static/favicon-192x192.png' sizes='192x192'>
|
||||||
<link rel='apple-touch-icon' sizes='180x180'
|
<link rel='apple-touch-icon' sizes='180x180'
|
||||||
href='/static/favicon-apple-180x180.png'>
|
href='/static/favicon-apple-180x180.png'>
|
||||||
|
<meta name='apple-mobile-web-app-capable' content='yes'>
|
||||||
|
<meta name='mobile-web-app-capable' content='yes'>
|
||||||
|
<meta name='viewport' content='width=device-width,
|
||||||
|
user-scalable=no' />
|
||||||
<meta name='theme-color' content='#03a9f4'>
|
<meta name='theme-color' content='#03a9f4'>
|
||||||
</head>
|
<style>
|
||||||
<body fullbleed>
|
#init {
|
||||||
<h3 id='init' align='center'>Initializing Home Assistant</h3>
|
display: -webkit-flex;
|
||||||
<script src='/static/webcomponents-lite.min.js'></script>
|
display: flex;
|
||||||
<link rel='import' href='/static/{{ app_url }}' />
|
-webkit-flex-direction: column;
|
||||||
<home-assistant auth='{{ auth }}'></home-assistant>
|
-webkit-justify-content: center;
|
||||||
|
-webkit-align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
font-family: 'Roboto', 'Noto', sans-serif;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
#init p {
|
||||||
|
margin-bottom: 101px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body fullbleed>
|
||||||
|
<div id='init'>
|
||||||
|
<img src='/static/splash.png' height='230' />
|
||||||
|
<p>Initializing</p>
|
||||||
|
</div>
|
||||||
|
<script src='/static/webcomponents-lite.min.js'></script>
|
||||||
|
<link rel='import' href='/static/{{ app_url }}' />
|
||||||
|
<home-assistant auth='{{ auth }}'></home-assistant>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
BIN
homeassistant/components/frontend/www_static/splash.png
Normal file
BIN
homeassistant/components/frontend/www_static/splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
x
Reference in New Issue
Block a user