forked from kumahq/kuma-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (58 loc) 路 1.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- This trailing slash matters! Do not remove it. See also: https://stackoverflow.com/a/26043021/2036825 -->
<base href="%VITE_BASE_GUI_PATH%/" />
<link rel="icon" href="/favicon.png" />
<title>Manager</title>
<style type="text/css">
html:not(.kuma-ready) {
background-image: url('/kuma-loader-v1.gif');
background-position: center center;
background-repeat: none;
background-repeat: no-repeat;
height: 100%;
display: flex;
align-items: center;
}
html:not(.kuma-ready)::before,
html:not(.kuma-ready)::after {
position: absolute;
left: 50%;
margin-left: -125px;
margin-top: 170px;
display: block;
content: '';
height: 5px;
width: 250px;
}
html:not(.kuma-ready)::before {
background-color: #afb7c5 /*$kui-color-background-neutral-weak*/;
}
html:not(.kuma-ready)::after {
background-color: #5f9aff /*$kui-color-background-primary-weak*/;
animation: 1s ease-out infinite both load;
}
@keyframes load {
from {
width: 0;
}
to {
width: 250px;
}
}
</style>
<script type="application/json" id="kuma-config">%VITE_KUMA_CONFIG%</script>
</head>
<body>
<noscript>
<strong>
We're sorry but this site doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>