-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (60 loc) · 1.79 KB
/
index.html
File metadata and controls
66 lines (60 loc) · 1.79 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
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ASync | Group System</title>
<link rel="stylesheet" href="style.css" />
<script src="/socket.io/socket.io.js"></script>
</head>
<body>
<div id="login-screen">
<div class="login-box">
<h1>ASync <span class="blink">HUB</span></h1>
<p>Bergabung ke Jaringan</p>
<input
type="text"
id="username-input"
placeholder="Codename Agent..."
autocomplete="off"
/>
<button onclick="loginSystem()">MASUK SYSTEM</button>
</div>
</div>
<div id="app-screen" class="hidden">
<div class="sidebar">
<div class="sidebar-header">ROOMS</div>
<div id="room-list"></div>
<div class="new-room-area">
<input
type="text"
id="new-room-input"
placeholder="Nama Room Baru..."
/>
<button onclick="joinNewRoom()">+</button>
</div>
</div>
<div class="chat-area">
<header>
<div class="chat-info">
<h2 id="current-room-name">Lobby</h2>
<span class="status-indicator online"
>Connected as <span id="my-name">...</span></span
>
</div>
</header>
<div id="chat-wrapper"></div>
<div class="input-area">
<input
type="text"
id="message-input"
placeholder="Ketik pesan..."
autocomplete="off"
/>
<button onclick="sendMessage()">KIRIM</button>
</div>
</div>
</div>
<script src="client.js"></script>
</body>
</html>