-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirect.html
42 lines (42 loc) · 1.54 KB
/
redirect.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SnailURL</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<script src="./scripts/urlParameters.js" type="text/javascript"></script>
<script src="./scripts/snail.js" type="text/javascript"></script>
<script src="./scripts/main.js" type="text/javascript"></script>
</head>
<body onload="setup()">
<div id="content">
<h1>SnailURL</h1>
</div>
<br>
<section id="sign_in" class="hidden">
<p>The page you are trying to access is only available to certain people.</p><br>
<p><b>Plase sign in to continue:</b></p>
<label for="name">Your Username:</label>
<input id="name" type="text" oninput="rememberName(this.value)">
<button onclick="tryName()">Submit</button>
</section>
<section id="gateway" class="hidden">
<p>You need a password to access the page you are trying to get to.</p>
<label for="password">Password:</label>
<input id="password" type="password">
<button onclick="tryPass()">Submit</button>
</section>
<section id="countdown" class="hidden">
You will be redirected to
<div id="link" class="box"><i>unknown link</i></div>
in
<div id="time" class="box"><i>unknown</i></div>
seconds.<br><br>
<button onclick="leave()">Cancel</button>
<button onclick="redirect()" id="go now">Go Now</button>
</section>
<section id="notice">
Redirecting...
</section>
</body>
</html>