-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
66 lines (62 loc) · 2.47 KB
/
404.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
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>RhubarbVR</title>
<base href="/" />
<link href="/_content/Rhubarb_Shared/css/bootstrap/bootstrap-icons.css" rel="stylesheet" />
<link href="/_content/Rhubarb_Shared/css/bootstrap/bootstrap.min.css" rel="stylesheet" />
<link href="/_content/Rhubarb_Shared/css/app.css" rel="stylesheet" />
<link rel="icon" type="image/x-icon" href="/_content/Rhubarb_Shared/favicon.ico">
<link href="Rhubarb_Web.styles.css" rel="stylesheet" />
<link href="manifest.json" rel="manifest" />
<link rel="apple-touch-icon" sizes="512x512" href="/_content/Rhubarb_Shared/icon-512.png" />
<link rel="apple-touch-icon" sizes="192x192" href="/_content/Rhubarb_Shared/icon-192.png" />
</head>
<body>
<div id="app">
<div class='LoadingCube-container'>
<div class='cube'>
<div class='front'></div>
<div class='back'></div>
<div class='right'></div>
<div class='left'></div>
<div class='top'></div>
<div class='bottom'></div>
</div>
</div>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.webassembly.js"></script>
<script>navigator.serviceWorker.register('service-worker.js');</script>
<script src="_content/Rhubarb_Shared/darkreader.js"></script>
<script>
DarkReader.setFetchMethod(window.fetch);
function UpdateTheme(lightMode) {
console.info("Theme Change IsLight:" + lightMode);
if (lightMode) {
DarkReader.disable();
} else {
DarkReader.enable({
brightness: 100,
contrast: 90,
sepia: 10
});
}
}
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => {
UpdateTheme(!event.matches);
});
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
UpdateTheme(false);
} else {
UpdateTheme(true);
}
</script>
</body>
</html>