forked from digitalpalireader/digitalpalireader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-upgrade.html
82 lines (70 loc) · 4.11 KB
/
index-upgrade.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en" manifest="dpr.appcache">
<head>
<meta charset="utf-8">
<title>Digital Pāli Reader (beta)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="15">
<link rel="icon" href="./favicon.png" />
<title>Digital Pāli Reader (beta) is under maintenance</title>
<script>
const getDeploymentVar = (depVar, defVal) => depVar.startsWith('#{') ? defVal : depVar;
var deploymentEnvironmentName = '#{DeploymentEnvironmentName}#';
var deploymentReleaseNumber = '#{DeploymentReleaseNumber}#';
var deploymentCreatedTimestamp = '#{DeploymentCreatedTimestamp}#';
var deploymentAppInsightsInstrumentationKey = '#{DeploymentAppInsightsInstrumentationKey}#';
var environmentName = getDeploymentVar(deploymentEnvironmentName, 'localdev');
var releaseNumber = getDeploymentVar(deploymentReleaseNumber, '0.0.0');
var createdTimestamp = getDeploymentVar(deploymentCreatedTimestamp, new Date());
var appInsightsInstrumentationKey = getDeploymentVar(deploymentAppInsightsInstrumentationKey, '00000000-0000-0000-0000-000000000000');
var sdkInstance = "appInsightsSDK"; window[sdkInstance] = "appInsights"; var aiName = window[sdkInstance], aisdk = window[aiName] || function (e) { function n(e) { t[e] = function () { var n = arguments; t.queue.push(function () { t[e].apply(t, n) }) } } var t = { config: e }; t.initialize = !0; var i = document, a = window; setTimeout(function () { var n = i.createElement("script"); n.src = e.url || "https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js", i.getElementsByTagName("script")[0].parentNode.appendChild(n) }); try { t.cookie = i.cookie } catch (e) { } t.queue = [], t.version = 2; for (var r = ["Event", "PageView", "Exception", "Trace", "DependencyData", "Metric", "PageViewPerformance"]; r.length;)n("track" + r.pop()); n("startTrackPage"), n("stopTrackPage"); var s = "Track" + r[0]; if (n("start" + s), n("stop" + s), n("addTelemetryInitializer"), n("setAuthenticatedUserContext"), n("clearAuthenticatedUserContext"), n("flush"), t.SeverityLevel = { Verbose: 0, Information: 1, Warning: 2, Error: 3, Critical: 4 }, !(!0 === e.disableExceptionTracking || e.extensionConfig && e.extensionConfig.ApplicationInsightsAnalytics && !0 === e.extensionConfig.ApplicationInsightsAnalytics.disableExceptionTracking)) { n("_" + (r = "onerror")); var o = a[r]; a[r] = function (e, n, i, a, s) { var c = o && o(e, n, i, a, s); return !0 !== c && t["_" + r]({ message: e, url: n, lineNumber: i, columnNumber: a, error: s }), c }, e.autoExceptionInstrumented = !0 } return t }(
{
instrumentationKey: appInsightsInstrumentationKey
}
); window[aiName] = aisdk, aisdk.queue && 0 === aisdk.queue.length && aisdk.trackPageView({});
</script>
<style>
html,
body {
height: 100%;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
font-size: 18px;
padding: 0px;
margin: 0px;
overflow: auto;
}
#main-container-maintenance-page {
height: 100%;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr auto auto 1fr;
grid-template-areas:
"."
"spinner"
"message"
".";
grid-gap: 0.5rem;
}
.spin-img-infinitely {
animation: spin-img-infinitely-kfs 8s infinite linear;
}
@keyframes spin-img-infinitely-kfs {
from {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(359deg);
}
}
</style>
</head>
<body>
<div id="main-container-maintenance-page">
<img style="grid-area: spinner; justify-self: center;" class="spin-img-infinitely" src="/digitalpalireader/content/images/dwheel.png" alt="Loading...">
<div style="grid-area: message; justify-self: center;">
<h1>Digital Pāli Reader is under maintenance. Please check back in a few mins...</h1>
</div>
</div>
</body>
</html>