1
1
<!DOCTYPE html>
2
- <!-- Do not modify this file directly -->
3
-
4
2
< html lang ="en ">
5
-
6
3
< head >
4
+ <!-- Encoding and Viewport -->
7
5
< meta charset ="utf-8 ">
8
6
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
9
7
< meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
8
+ <!-- Favicon + App Icon -->
10
9
< link rel ="icon " type ="image/png " sizes ="64x64 " href ="<%= BASE_URL %>/web-icons/favicon-64x64.png ">
11
10
< link rel ="icon " type ="image/png " sizes ="32x32 " href ="web-icons/favicon-32x32.png ">
12
11
< link rel ="icon " href ="/favicon.ico " />
13
12
< link rel ="icon " type ="image/png " href ="<%= BASE_URL %>favicon.ico " />
13
+ <!-- Default Page Title -->
14
14
< title > Dashy</ title >
15
15
</ head >
16
16
17
17
< body >
18
+ <!-- built files will be auto injected -->
19
+ < div id ="app ">
20
+ <!-- Loading screen, will be replaced when app loaded -->
21
+ < div class ="loading-placeholder " id ="loader "> < h1 > Dashy</ h1 > < p > Loading...</ p > </ div >
22
+ </ div >
18
23
<!-- Devices without JS enabled -->
19
24
< noscript >
20
- < strong > Sorry, JavaScript is required to run this app 😥</ strong >
25
+ < strong > Sorry, JavaScript needs to be enabled to run Dashy 😥</ strong >
21
26
</ noscript >
22
-
23
- <!-- built files will be auto injected -->
24
- < div id ="app "> </ div >
27
+ <!-- Styles for loading screen -->
28
+ < style type ="text/css ">
29
+ body { margin : 0 ; }
30
+ # app .loading-placeholder {
31
+ position : absolute;
32
+ margin : 0 ;
33
+ padding : 0 ;
34
+ width : 100% ;
35
+ height : 100% ;
36
+ display : flex;
37
+ flex-direction : column;
38
+ justify-content : center;
39
+ align-items : center;
40
+ cursor : progress;
41
+ background : # 121212 ;
42
+ }
43
+ # app .loading-placeholder h1 {
44
+ font-size : 20vh ;
45
+ font-family : Tahoma, monospace;
46
+ cursor : progress;
47
+ color : # 0c0c0c ;
48
+ text-shadow : 0px 4px 4px # 090909, 0 0 0 # 000, 0px 2px 2px # 000000 ;
49
+ }
50
+ # app .loading-placeholder p {
51
+ font-size : 2rem ;
52
+ font-family : monospace;
53
+ cursor : progress;
54
+ color : # 0c0c0c ;
55
+ text-shadow : 0 1px 1px # 090909, 0 0 0 # 000, 0 1px 1px # 000000 ;
56
+ }
57
+ ::selection { background-color : # db78fc ; color : # 121212 ; }
58
+ </ style >
25
59
</ body >
26
-
27
60
</ html >
0 commit comments