-
Notifications
You must be signed in to change notification settings - Fork 5
/
chat.html
193 lines (171 loc) · 8.2 KB
/
chat.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!doctype html>
<html lang="en">
<head>
<title>bitsUnxte</title>
<link id="favicon" rel="icon" href="/images/BITS UNXTE.png" type="image/x-icon"/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link
href="/css/mystyles.css" rel="stylesheet">
<link
href="/css/chat.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-1ZQ6F5KTZV"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-1ZQ6F5KTZV');
</script>
</head>
<body>
<div class="wrapper d-flex align-items-stretch">
<nav id="sidebar">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Toggle Menu</span>
</button>
</div>
<div class="p-4 pt-5">
<h1>
<a href="index.html" class="logo">BITS UNXTE</a>
</h1>
<ul class="list-unstyled components mb-5">
<li>
<a href="index.html" aria-expanded="false">Home</a>
</li>
<li>
<a href="#pageSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Branchwise Filter</a>
<ul class="collapse list-unstyled" id="pageSubmenu">
<li>
<a href="cs.html">BE Computer Science</a>
</li>
<li>
<a href="ece.html">BE Electronics and Communication</a>
</li>
<li>
<a href="eee.html">BE Electrical and Electronics</a>
</li>
<li>
<a href="eni.html">BE Electronics and Instrumentation</a>
</li>
<li>
<a href="mech.html">BE Mechanical</a>
</li>
<li>
<a href="chem.html">BE Chemical</a>
</li>
<li>
<a href="civ.html">BE Civil</a>
</li>
<li>
<a href="manuf.html">BE Manufacturing</a>
</li>
<li>
<a href="eco.html">Msc Economics</a>
</li>
<li>
<a href="math.html">Msc Maths</a>
</li>
<li>
<a href="phy.html">Msc Physics</a>
</li>
<li>
<a href="biosci.html">Msc Biological Sciences</a>
</li>
<li>
<a href="mscchem.html">Msc Chemistry</a>
</li>
<li>
<a href="bpharm.html">BPharm</a>
</li>
</ul>
</li>
<li>
<a href="https://docs.google.com/forms/d/e/1FAIpQLScO9I4xsXXZkwMeHu3BQnxIlyGdvXyMr3bItkdmP5pLTAZtNQ/viewform?usp=sf_link">Sign Up</a>
</li>
<li>
<a href="chat.html">Chat Room</a>
</li>
<li>
<a href="about.html">About Us</a>
</li>
</ul>
</div>
</nav>
<!-- Page Content -->
<div id="content" class="p-4 p-md-5 pt-5">
<div class="myheader">
<h1 class="mb-4">CHAT ROOM</h1>
</div>
<div class="chatroom clogin">
<form action="javascript:void(0);" style="border:1px solid #ccc" class="chatsingup">
<div class="container">
<h1>BITS UNXTE</h1>
<p>Enter your BITS email to access the chatroom.
<br>
Don't worry, you'll be fully anonymous.
<br>
You can use it only if you have signed up on BITS UNXTE.
</p>
<hr>
<input id="emailid" type="text" placeholder="Enter Email" name="email" required>
<button type="submit" class="signupbtn" onclick="emailogin()">Sign In</button>
<button type="submit" class="signupbtn" onclick="window.location.href = 'https://docs.google.com/forms/d/e/1FAIpQLScO9I4xsXXZkwMeHu3BQnxIlyGdvXyMr3bItkdmP5pLTAZtNQ/viewform?usp=sf_link';">Sign Up</button>
<p class="mt-5 mb-3 text-muted">© BITS UNXTE</p>
</div>
</form>
</div>
<div class="chatroom cchat">
<script id="cid0020000302530027141" data-cfasync="false" async src="//st.chatango.com/js/gz/emb.js" style="width: 100%;height: 100%;">
{
"handle": "bitsunxtechatroom",
"arch": "js",
"styles": {
"a": "6749b9",
"b": 100,
"c": "000000",
"d": "000000",
"k": "6749b9",
"l": "6749b9",
"m": "6749b9",
"p": "11.5",
"q": "6749b9",
"r": 100,
"surl": 0,
"cnrs": "0.35"
}
}
</script>
</div>
</div>
</div>
<script src="/js/jquery.min.js"></script>
<script src="/js/popper.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main.js"></script>
<script src="/js/myjs.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.min.js"></script>
<script>
function emailogin(){
var input, filter, txtValue, chatroom, logindiv, data;
logindiv = document.getElementsByClassName("chatroom")[0];
chatroom = document.getElementsByClassName("chatroom")[1];
input = document.getElementById("emailid");
filter = input.value;
data = carddata
if(emailcheck(data, filter)){
logindiv.style.display = "none";
chatroom.style.display = "block";
}
}
</script>
</body>
</html>