forked from xtoazt/Eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (93 loc) · 3.92 KB
/
Copy pathindex.html
File metadata and controls
103 lines (93 loc) · 3.92 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title data-default>𝙴𝚌𝚕𝚒𝚙𝚜𝚎</title>
<link rel="icon" type="image/png" href="favicon.png">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script type="module" src="script.js"></script>
</head>
<body>
<div id="signup" class="container">
<h2>Signup</h2>
<input type="text" id="signupUsername" placeholder="Enter Username" required />
<div class="password-container">
<input type="password" id="signupPassword" placeholder="Enter Password" required />
<span class="toggle-password" id="toggleSignupPassword">
<i class="fas fa-eye"></i>
</span>
</div>
<button id="signupBtn">Signup</button>
<div class="link" id="toLogin">Already have an account? Login</div>
</div>
<div id="login" class="container">
<h2>Login</h2>
<input type="text" id="loginUsername" placeholder="Enter Username" required />
<div class="password-container">
<input type="password" id="loginPassword" placeholder="Enter Password" required />
<span class="toggle-password" id="toggleLoginPassword">
<i class="fas fa-eye"></i>
</span>
</div>
<button id="loginBtn">Login</button>
<div class="link" id="toSignup">Don't have an account? Signup</div>
</div>
<div id="chat" class="container">
<div id="top-left-buttons">
<button id="deletePartyBtn" style="display: none;"><i class="fas fa-trash-alt"></i> Delete Party</button>
</div>
<div id="top-right-buttons">
<div class="settings-container">
<div class="notification-toggle">
<label for="notificationToggle">Notifications</label>
<label class="toggle">
<input type="checkbox" id="notificationToggle">
<span class="slider"></span>
</label>
</div>
</div>
<div class="dropdown">
<button class="dropbtn"><i class="fas fa-cog"></i></button>
<div class="dropdown-content">
<button id="logoutBtn"><i class="fas fa-sign-out-alt"></i> Logout</button>
<button id="deleteAccountBtn"><i class="fas fa-trash-alt"></i> Delete Account</button>
</div>
</div>
</div>
<h2>Welcome, <span id="displayName"></span>.</h2>
<div id="partyCodeContainer">Party Code: <span id="partyCodeDisplay"></span></div>
<div id="messages"></div>
<div class="message-input-container">
<input type="text" id="messageInput" placeholder="Type a message" />
<button id="sendBtn">
<i class="fas fa-paper-plane"></i>
</button>
</div>
<button id="leavePartyBtn"><i class="fas fa-sign-out-alt"></i> Leave Party</button>
</div>
<div id="menu" class="container">
<h2>Welcome, <span id="menuDisplayName"></span>.</h2>
<p style="font-size: 1.2em; color: white; text-align: center; margin-top: -10px; margin-bottom: 10px;">
- chat by <span style="font-weight: bold; text-shadow: 0 0 5px #fff;">rohan</span> and
<span style="font-weight: bold; text-shadow: 0 0 5px #fff;">ivan</span> -</span>
</p>
<button id="globalChatBtn">Enter Schoolwide Chat</button>
<button id="createPartyBtn">Create Party</button>
<button id="joinPartyBtn">Join Party</button>
</div>
<div id="createParty" class="container">
<h2>Party Created</h2>
<p>Your party code is: <span id="partyCode"></span></p>
<button id="backToMenuFromCreate">Back to Menu</button>
</div>
<div id="joinParty" class="container">
<h2>Join Party</h2>
<input type="text" id="joinPartyCode" placeholder="Enter Party Code" required />
<button id="joinPartySubmitBtn">Join Party</button>
<button id="backToMenuFromJoin">Back to Menu</button>
</div>
<div id="toast-container"></div>
</body>
</html>