-
Notifications
You must be signed in to change notification settings - Fork 0
/
Client.html
65 lines (59 loc) · 1.74 KB
/
Client.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>MiniIRC ✭ ZeeZide</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<link rel="stylesheet" media="all" href="Styles/Client.css" />
<script src="Model/ClientUtils.js" ></script>
<script src="Model/ClientConnection.js" ></script>
<script src="Model/ChatItem.js" ></script>
<script src="ViewControllers/SidebarVC.js" ></script>
<script src="ViewControllers/MessagesVC.js"></script>
<script src="ViewControllers/MainVC.js" ></script>
</head>
<body>
<div class="chat">
<aside>
<section class="info">
<h1>MiniIRC ✭ ZeeZide</h1>
<div class="username"></div>
</section>
<section class="server list">
<ul id='serverList'>
<li id="server" class="selected">Server</li>
</ul>
</section>
<section class="channels list hidden">
<h2>Channels</h2>
<ul id='channelList'>
</ul>
</section>
<section class="queries list hidden">
<h2>Direct Messages</h2>
<ul id='queryList'>
</ul>
</section>
</aside>
<main>
<header>
<h1 id='chatTitle'>Server</h1>
</header>
<section>
</section>
<footer>
<form>
<input type="text" placeholder="Enter IRC commands (or /help)" />
</form>
</footer>
</main>
</div>
<script>
(function() {
var controller = new MainVC("nick", "ws://localhost:1337/websocket");
controller.loadView();
controller.viewDidAppear();
}())
</script>
</body>
</html>