-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
117 lines (107 loc) · 3.84 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>ViewBot</title>
<!-- Javascript -->
<script>
if (typeof process === 'undefined') {
alert(`This isnt the way to run this app. Visit https://github.com/NichuNaizam/ViewBot for more info!`);
}
if (!crossOriginIsolated) SharedArrayBuffer = ArrayBuffer;
</script>
<script src="js/app.js"></script>
<script src="js/loginMenu.js"></script>
<script src="js/guild.js"></script>
<script src="js/members.js"></script>
<script src="js/channels.js"></script>
<script src="js/messages.js"></script>
<script src="js/messagebox.js"></script>
<script src="js/userPresence.js"></script>
<script src="js/userMenu.js"></script>
<script src="js/dmList.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="styles/login.css">
<link rel="stylesheet" href="styles/navbar.css">
<link rel="stylesheet" href="styles/membersMenu.css">
<link rel="stylesheet" href="styles/channels.css">
<link rel="stylesheet" href="styles/messages.css">
<link rel="stylesheet" href="styles/userMenu.css">
</head>
<body onload="load()">
<div class="container">
<!-- Token Login -->
<div id="login-panel" class="login-panel">
<div class="login-panel-wrapper">
<h1 class="viewbot-title">ViewBot</h1>
<h2 class="token-label">Token</h5>
<p id="invalid-token-label">Invalid Token</p>
<input type="password" id="token-input">
<button id="login-btn">Log in</button>
</div>
</div>
<!-- Navbar -->
<div id="navbar" class="navbar">
<nav>
<ul id="navbar-guild-container">
<!-- <li class="channel">
Test channel 1
</li> -->
</ul>
</nav>
</div>
<!-- Online members menu -->
<div id="members-menu" class="members-menu">
<nav>
<ul id="members-menu-container">
<!-- <li class="member">
<img class="member-avatar" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRux8emJSEcZqzVkLF4jOewzVIZNkmPkSnEHQ&usqp=CAU" alt="avatar">
<p class="member-username">Guild User</p>
</li> -->
</ul>
</nav>
</div>
<!-- Channels Menu -->
<div id="channels-menu" class="channels-menu">
<nav>
<ul id="channels-menu-container">
</ul>
</nav>
</div>
<!-- User Menu -->
<div class="user-menu" id='user-menu'>
</div>
<!-- Messages menu -->
<div id="messages-menu" class="messages-menu">
<nav>
<ul id="messages-menu-container">
<!-- <li class="message">
<img class="message-avatar" src="https://cdn.discordapp.com/avatars/688328042212360208/9b78edb569c4fd08c48ed2e0bf8404f9.png" alt="NichuNaizam">
<p class="message-author">NichuNaizam</p>
<p class="message-content">This is a test message</p>
</li>
<li class="message">
<img class="message-avatar" src="https://cdn.discordapp.com/avatars/688328042212360208/9b78edb569c4fd08c48ed2e0bf8404f9.png" alt="NichuNaizam">
<p class="message-author">NichuNaizam</p>
<p class="message-content">This is a test message</p>
</li>
<li class="message">
<img class="message-avatar" src="https://cdn.discordapp.com/avatars/688328042212360208/9b78edb569c4fd08c48ed2e0bf8404f9.png" alt="NichuNaizam">
<p class="message-author">NichuNaizam</p>
<p class="message-content">This is a test message</p>
</li>
<li class="message">
<img class="message-avatar" src="https://cdn.discordapp.com/avatars/688328042212360208/9b78edb569c4fd08c48ed2e0bf8404f9.png" alt="NichuNaizam">
<p class="message-author">NichuNaizam</p>
<p class="message-content">This is a test message</p>
</li> -->
</ul>
<div class="message-input-container">
<input type="text" placeholder="Message" id="message-input">
</div>
</nav>
</div>
</div>
</body>
</html>