-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredirect.html
More file actions
executable file
·165 lines (153 loc) · 4 KB
/
redirect.html
File metadata and controls
executable file
·165 lines (153 loc) · 4 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta http-equiv="refresh" content="4;url=https://${}" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/icons/apple-touch-icon.png?v=3eBRkGAzYO"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/icons/favicon-32x32.png?v=3eBRkGAzYO"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/icons/favicon-16x16.png?v=3eBRkGAzYO"
/>
<link rel="manifest" href="/icons/site.webmanifest?v=3eBRkGAzYO" />
<link
rel="mask-icon"
href="/icons/safari-pinned-tab.svg?v=3eBRkGAzYO"
color="#5bbad5"
/>
<link rel="shortcut icon" href="/icons/favicon.ico?v=3eBRkGAzYO" />
<meta name="apple-mobile-web-app-title" content="RedPoint" />
<meta name="application-name" content="RedPoint" />
<meta name="msapplication-TileColor" content="#2d89ef" />
<meta
name="msapplication-config"
content="/icons/browserconfig.xml?v=3eBRkGAzYO"
/>
<meta name="theme-color" content="#ffffff" />
<style>
body {
background-color: #484c55;
font-family: "Roboto", sans-serif;
color: white;
}
img {
/* margin-left: -28px; */
margin-top: 20px;
width: 300px;
}
progress {
background-color: #494c54;
border: 1px solid #353a40;
height: 6px;
border-radius: 3px;
width: 250px;
margin-top: 1em;
}
progress::-webkit-progress-bar {
background-color: #353a40;
border: 0;
height: 6px;
border-radius: 3px;
}
progress::-webkit-progress-value {
background-color: #ed7164;
border: none;
height: 6px;
border-radius: 3px;
}
progress::-moz-progress-bar {
background-color: #ed7164;
border: 0;
height: 6px;
border-radius: 3px;
}
h3 {
margin-block-end: 0;
}
.logo {
position: absolute;
left: 50%;
margin-left: -150px;
}
.info {
position: absolute;
left: 50%;
margin-left: -125px;
top: 135px;
}
.horizontal-bar {
margin: -8px -8px 0 -8px;
height: 55px;
background-color: #353a40;
}
.flex-container {
display: flex;
align-items: center;
justify-content: center;
}
</style>
<link
rel="shortcut icon"
type="image/png"
href="https://storage.googleapis.com/redpoint_bucket/favicon-16x16.png"
/>
<title>Redpoint Notebooks</title>
</head>
<body>
<header>
<div class="horizontal-bar"></div>
</header>
<div class="flex-container logo">
<img
src="https://leamasti.sirv.com/redpoint-brand-logo_horizontal-on_dark.png"
alt="redpoint-brand-logo-horizontal-on-dark"
border="0"
/>
</div>
<div class="info">
<div class="flex-container">
<progress id="progress" value="10" max="100"></progress>
</div>
<div class="flex-container">
<h3>Initializing notebook...</h3>
</div>
<div class="flex-container">
<p>Please wait while we redirect you</p>
</div>
</div>
</body>
<script>
let progress = 0;
const stop = setInterval(() => {
const bar = document.getElementById("progress");
if (progress < 100) {
progress += 0.25;
bar.setAttribute("value", String(progress));
}
}, 10);
// let newLocation = "${}";
// let requestStatus;
// setTimeout(() => {
// fetch(newLocation).then(response => {
// console.log(response.status);
// if (response.status === 200) {
// resolve(response);
// // window.location = newLocation;
// }
// });
// }, 4000);
</script>
</html>