forked from FeeshDev/viter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (68 loc) · 3.19 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
66
67
68
69
70
71
72
73
74
<head>
<title>Viter.io Alpha</title>
<meta property="og:type" content="website">
<meta property="og:title" content="Play Viter.io Alpha">
<meta property="og:description" content="Viter.io Alpha testing is now open!">
<meta property="og:image" content="https://viter.io/client/images/objects/obstacles/pine0.png">
<script src="/client/msgpack.js"></script>
<link rel="icon" type="image/vnd.microsoft.icon" href="/client/images/menu/favicon.ico">
<link rel="stylesheet" href="/client/main.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7WEYRHR9F7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-7WEYRHR9F7');
</script>
<script src="/client/script.js"></script>
</head>
<body>
<div id="gameArea">
<canvas id="canvas"></canvas>
<input autofocus id="commandInput" type="text" placeholder="Enter command" maxlength="100" visibility="visible">
</div>
<div id="menu">
<div id="playMenu">
<h1 id="title">
<img id="logo" src="./client/images/menu/logo.png">
</h1>
<input id="nameInput" class="defaultBorder" autofocus maxlength="20" placeholder="Tank Name"><br>
<select id="serverSelect" class="defaultBorder">
</select><br>
<button id="playButton" class="customBtn defaultBorder">Play</button><br>
<button onclick="document.getElementById('settingsDiv').style.visibility = 'visible'"
class="customBtn defaultBorder" id="settings">Settings</button><br>
</div>
<p id="playerCount">0 players shooting.</p>
<img id="discord" src="./client/images/menu/discord.png" onclick="window.open('https://discord.gg/hkUpzpyFDT')">
<div id="changelog">
<p id="changelog-p"><a href="./changelog" rel="noopener" target="_blank">Changelog</a></p>
<!-- Update template -->
<!-- <div>
<p class="update">Update vXX.XX</p>
<p class="log"> test test test test test test test test test test test</p>
<p></p>
</div> -->
<div>
<p class="update">Update v0.1 - Closed Beta</p>
<li class="log">Added changelog to main page.</li>
<li class="log">Added changelog history page.</li>
<br><br>
</div>
</div>
<div id="settingsDiv" class="defaultBorder">
<button onclick="document.getElementById('settingsDiv').style.visibility = 'hidden'" id="closeButton"
class="customBtn defaultBorder">×</button>
<h2>Setting</h2>
</div>
</div>
<div id="death-screen">
<div id="death-menu">
<canvas id="death-canvas"></canvas>
<button id="return" class="customBtn defaultBorder">Return to Menu</button>
</div>
</div>
</body>