-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (74 loc) · 2.63 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="lib/vanilla-datatables/vanilla-dataTables.css" />
<script src="lib/vanilla-datatables/vanilla-dataTables.js"></script>
<script src="palace.js"></script>
<title>
Palace
</title>
</head>
<body id="landing">
<div id="header">
Palace
</div>
<div id="create-lobby" class="lobby">
<h2>Create a Lobby:</h2>
<p>
<form id="create-lobby-form">
<div class="create-lobby-item">
Lobby Name: <input type="text" name="lobbyname" id="lobby-name-input" required="true" maxlength="20">
</div>
<div class="create-lobby-item">
Your Name: <input type="text" name="ownername" id="owner-name-input" required="true" maxlength="20">
</div>
<div class="create-lobby-item">
Max Players: <input id="max-players-input" type="number" name="maxplayers" min="2" max="8" step="1" required="true">
</div>
<div class="create-lobby-item">
Turn Timer: <img class="table-icons" src="./img/icons/question-circle-solid.svg" title="Note: 0 means no turn time limit.">
<input id="turn-timer-input" type="number" name="maxplayers" min="0" max="255" step="1" value="50" required="true">
</div>
<div class="create-lobby-item">
Private? <input type="checkbox" name="private" id='private-checkbox'>
</div>
<div class="create-lobby-item">
Password: <input type="password" name="password" id='password-input' maxlength="20" disabled>
</div>
<div class="create-lobby-item">
<button type="button" id="create-lobby-button">Create Lobby</button>
</div>
</form>
</p>
</div>
<div id="join-lobby" class="lobby">
<h2 id='table-header'>
Join a Lobby:
<button type="button" id="refresh-lobbies-button" title="Refresh Lobby List">
<img class="table-icons" src="./img/icons/sync-alt.svg">
</button>
</h2>
<div id="lobbies-table-div">
<table id="lobbies-table">
</table>
</div>
<div id="player-info">
<span id="num-players">
</span>
<span id="lobby-controls">
</span>
<span id="spectator-count">
</span>
</div>
<div id="player-table-div">
<table id="player-table">
</table>
</div>
</div>
<div class="overlay" id="overlay-div">
<div class="overlay-text" id="overlay-text">
</span>
</div>
</body>
</html>