-
Notifications
You must be signed in to change notification settings - Fork 1
/
lobby.html
63 lines (54 loc) · 2.21 KB
/
lobby.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Room</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='styles/main.css'>
<link rel='stylesheet' type='text/css' media='screen' href='styles/lobby.css'>
</head>
<body>
<header id="nav">
<div class="nav--list">
<a href="lobby.html" />
<h3 id="logo">
<img src="./images/logo.png" alt="Site Logo">
</h3>
</a>
</div>
</header>
<main id="room__lobby__container">
<div id="form__container">
<div id="form__container__header">
<p>👋 Create or Join Room</p>
</div>
<form id="lobby__form">
<div class="form__field__wrapper">
<label>Your Name</label>
<input type="text" name="name" required placeholder="Enter your display name..." />
</div>
<div class="form__field__wrapper" id="room_id_field">
<label>Room ID</label>
<input type="text" name="room" id="lobby_room_id_btn" required placeholder="Enter room ID..." />
</div>
<span id="or_span">or</span>
<hr>
<div class="form__field__wrapper" id="generate_field">
<div id="lobby_generate_room_id_btn">Generate unique roomID</div>
</div>
<div class="form__field__wrapper">
<button type="submit" id="lobby_submit_btn">Go to Room
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z" />
</svg>
</button>
</div>
<div id="copyText">RoomID copied to clipboard</div>
</form>
</div>
</main>
</body>
<script type="text/javascript" src="./js/lobby.js"></script>
</html>