Spaces:
Paused
Paused
Update flare-ui/src/index.html
Browse files- flare-ui/src/index.html +48 -4
flare-ui/src/index.html
CHANGED
|
@@ -2,14 +2,58 @@
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
-
<title>Flare
|
| 6 |
<base href="/">
|
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 8 |
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
| 9 |
-
<link href="https://fonts.
|
|
|
|
| 10 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
</head>
|
| 12 |
-
<body>
|
| 13 |
-
<app-root
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
</body>
|
| 15 |
</html>
|
|
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
+
<title>Flare Admin</title>
|
| 6 |
<base href="/">
|
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 8 |
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
| 9 |
+
<link rel="preconnect" href="https://fonts.gstatic.com">
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
|
| 11 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
| 12 |
+
<style>
|
| 13 |
+
/* Initial loading spinner */
|
| 14 |
+
.initial-loader {
|
| 15 |
+
position: fixed;
|
| 16 |
+
top: 0;
|
| 17 |
+
left: 0;
|
| 18 |
+
width: 100%;
|
| 19 |
+
height: 100%;
|
| 20 |
+
background: #f5f5f5;
|
| 21 |
+
display: flex;
|
| 22 |
+
flex-direction: column;
|
| 23 |
+
align-items: center;
|
| 24 |
+
justify-content: center;
|
| 25 |
+
z-index: 10000;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.spinner {
|
| 29 |
+
width: 60px;
|
| 30 |
+
height: 60px;
|
| 31 |
+
border: 4px solid #e0e0e0;
|
| 32 |
+
border-top: 4px solid #3f51b5;
|
| 33 |
+
border-radius: 50%;
|
| 34 |
+
animation: spin 1s linear infinite;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
@keyframes spin {
|
| 38 |
+
0% { transform: rotate(0deg); }
|
| 39 |
+
100% { transform: rotate(360deg); }
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.initial-loader p {
|
| 43 |
+
margin-top: 20px;
|
| 44 |
+
color: #666;
|
| 45 |
+
font-size: 16px;
|
| 46 |
+
font-family: 'Roboto', sans-serif;
|
| 47 |
+
}
|
| 48 |
+
</style>
|
| 49 |
</head>
|
| 50 |
+
<body class="mat-typography">
|
| 51 |
+
<app-root>
|
| 52 |
+
<!-- This spinner shows while Angular is loading -->
|
| 53 |
+
<div class="initial-loader">
|
| 54 |
+
<div class="spinner"></div>
|
| 55 |
+
<p>Loading Flare Admin...</p>
|
| 56 |
+
</div>
|
| 57 |
+
</app-root>
|
| 58 |
</body>
|
| 59 |
</html>
|