forked from opencast/opencast-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (65 loc) · 2.01 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 name="git-commit" content="%VITE_GIT_COMMIT_HASH%">
<meta name="build-date" content="%VITE_APP_BUILD_DATE%">
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description"
content="Opencast's video editor" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />
<title>Opencast Editor</title>
<style>
/* These styles are only used for the initial loading indicator */
@keyframes loading-rotation {
0% { transform: rotate(0); }
100% { transform: rotate(360deg); }
}
html, body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100%;
}
.loading-indicator {
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
display: flex;
}
.loading-indicator > svg {
max-width: 120px;
max-height: 120px;
width: 30vw;
height: 30vh;
animation: 2s linear infinite none loading-rotation;
}
.loading-indicator > svg > circle {
fill: none;
stroke: black;
stroke-width: 10;
stroke-dasharray: 167; /* 2/3 of circumference */
stroke-linecap: round;
}
</style>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script type="module" src="/src/index.tsx"></script>
<div id="root">
<!-- Loading indicator, shown until React starts rendering -->
<div class="loading-indicator">
<svg viewbox="0 0 100 100">
<circle cx="50" cy="50" r="40" />
</svg>
</div>
</div>
</body>
</html>