-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
529 lines (477 loc) · 21.2 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
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
<!D*OCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<link rel="stylesheet" href="./css/Project.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Arimo&family=Roboto+Condensed&family=Roboto:wght@300&family=Varela+Round&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
}
.clearfix {
clear: both;
}
.header-banner {
/* padding-top: 35px; */
padding-bottom: 10px;
height:25vh;
width:100%;
color: #ffffff;
position:fixed;
z-index:3;
top:0;
font-family: Helvetica, serif;
font-weight: 100;
background-attachment: scroll, scroll;
background-position: left top, center center;
background-repeat: repeat-y, no-repeat;
background-size: contain, cover;
}
.container-width {
background-color: #CCE70B;
width: 100%;
/* max-width: 1150px; */
/* margin: 0 auto; */
}
.logo-container {
float: left;
width: 50%;
height:100%;
}
.logo {
background-color: #CCE70B;
border-radius: 5px;
height: 4px;
width: 1px;
padding: 10px;
min-height: 30px;
text-align: center;
line-height: 30px;
color: #000000;
font-size: 23px;
}
.menu {
float: right;
width: 50%;
padding-right: 70;
}
.menu-item {
float: right;
font-size: 17px;
color: black;
width: 400px;
padding: 10px;
min-height: 50px;
text-align: center;
line-height: 30px;
font-weight: 300;
padding-right: 70;
}
.am-sect {
padding-top: 10px;
padding-bottom: 100px;
font-family: Helvetica, serif;
}
.container-width {
width: 100%;
/* max-width: 1150px; */
/* margin: 0 auto; */
}
.img-phone {
float: left;
}
.am-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#izag5 {
width: 500px;
}
.am-content {
float: center;
padding: 7px;
width: 550px;
color: #444;
font-weight: 100;
margin-top: 5px;
}
.am-title {
padding: 7px;
font-size: 55px;
font-weight: 300;
}
.am-desc {
padding: 7px;
font-size: 17px;
line-height: 25px;
}
.am-post {
padding: 7px;
line-height: 25px;
font-size: 13px;
}
#i28v {
opacity: 1;
background-repeat: no-repeat;
background-position: center center;
background-attachment: scroll;
}
#i9wk {
width: 600px;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
padding: 10px;
background-color: #cce70b;
color: #041e3f;
text-align: center;
font-weight: bold;
}
</style>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
</head>
<body >
<div class="header-banner" id="i28v">
<div class="container-width" id="iv52">
<div class="logo-container" id="i8pl">
<div class="logo" id="i9wk">
<img src="./images/khfwd.png" alt="Dept. of Health and Familiy Welfare Services" style="width:100px; height:90px">
<br>
<span style="font-size:19px;font-weight: bold; color: red">Dept. of Health and Family Welfare Services</span>
</div>
</div>
<nav class="menu" id="i52r">
<div class="menu-item" id="ie64">
<img src="./images/iiitlogo.png" alt="Indian Institute of Information Technology, Dharwad" style="width:300px; height:86px" />
<span style="font-weight: bold; color: #041E3F">Knowledge Partner to Dept. of Health and Family Welfare Services</span>
</div>
</nav>
<div class="clearfix">
</div>
</div>
</div>
<div id="profile-box">
<div id="box2">
<div id="profile-img">
<i class='fas fa-user-edit' style='font-size:90px;color:white'></i>
</div>
<form>
<div id="profile-info">
<div class="info" style="font-size:25px;">C Nikhil Karthik</div>
<div class="info">21BCS024</div>
<div class="info">Personal Contact No. : 9901630824</div>
<div class="info">Parent contact no. :9676403838</div>
</div>
</form>
<div id="darkmode">
<div id="darkmode-div">
<div class="darkmode-font">Light</div>
<div class="switch">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox" />
<div id="slider" onclick="darkmode()"class="slider round"></div>
</label>
</div>
<div class="darkmode-font">Dark</div>
</div>
<div class="change-password" onclick="changepassword()">Change Password</div>
<div class="logout">
<button type="submit" id="logout-btn" onclick="logout()">LOGOUT</button>
</div>
</div>
</div>
</div>
<div id="vl"></div>
<!-- <div id="background-div"></div> -->
<div id="grid-up"></div>
<!-- <div id="welcome">
<div id="part1">
<label id="label">WELCOME</label>
</div>
<div id="part2">
<div id="name">
C NIKHIL KARTHIK
</div>
<div id="clock"></div>
</div>
</div> -->
<div id="notifications" data-aos="fade-right" data-aos-duration="700" data-aos-delay="300">
<div class="notifications-box">
<div class="notification-left" style="background:var(--font-color1);"></div>
<div class="notifications-1">
<div class="notifiactions-content title">
<h1>RCH</h1>
</div>
</div>
<div class="icons">
<div class="circle" style="background:var(--font-color11)">
<i class='fas fa-user-friends' style='font-size:2.4rem;color:var(--font-color1)'></i>
</div>
</div>
</div>
<div class="notifications-box">
<div class="notification-left" style="background:var(--font-color2);"></div>
<div class="notifications-1">
<div class="notifiactions-content title">
<h1>E-Hospital</h1>
</div>
</div>
<div class="icons">
<div class="circle" style="background:var(--font-color21)">
<i class='fas fa-address-card' style='font-size:2.4rem;color:var(--font-color2);'></i>
</div>
</div>
</div>
</div>
<div class="rules-box" >
<div id="complaints-dropdown" class="rules" style="border-bottom:1px solid var(--gray-400)">
<div class="rules-header" style="color:var(--font-color1);">
Rules for Registering Complaints
</div>
<div id="dropdown1" onclick="complaints_drop()">
<i class='fas fa-angle-right' style='font-size:30px;color:var(--options-inactive);'></i>
</div>
</div>
<div id="complaints-box">
<div class="rules-lines">
<div style="display:flex;align-items:center;justify-content: center;">
<div class="points" style="background:var(--font-color2)"></div>
</div>
<div style="display:flex;align-items:center;padding-left:1rem;color:var(--options-inactive);">
Each student gets a small cooldown for registering a complaint (3hrs)
</div>
</div>
<div class="rules-lines">
<div style="display:flex;align-items:center;justify-content: center;">
<div class="points" style="background:var(--font-color2)"></div>
</div>
<div style="display:flex;align-items:center;padding-left:1rem;color:var(--options-inactive);">
The complaint will be registered and can be viewed by respected Committees
</div>
</div>
<div class="rules-lines">
<div style="display:flex;align-items:center;justify-content: center;">
<div class="points" style="background:var(--font-color2)"></div>
</div>
<div style="display:flex;align-items:center;padding-left:1rem;color:var(--options-inactive);">
If the complaint is not addressed by the respective Committee you can forward the complaint to Hostel Warden
</div>
</div>
</div>
<div id="outpass-dropdown" class="rules">
<div class="rules-header" style="color:var(--font-color2);">
Rules for Requesting Outpass
</div>
<div id="dropdown2" onclick="outpass_drop()">
<i class='fas fa-angle-right' style='font-size:30px;color:var(--options-inactive);'></i>
</div>
</div>
<div id="outpass-box">
<div class="rules-lines">
<div style="display:flex;align-items:center;justify-content: center;">
<div class="points" style="background:var(--font-color1)"></div>
</div>
<div style="display:flex;align-items:center;padding-left:1rem;color:var(--options-inactive);">
Each student gets a small cooldown for requesting an Outpass (3hrs after Arrival date)
</div>
</div>
<div class="rules-lines">
<div style="display:flex;align-items:center;justify-content: center;">
<div class="points" style="background:var(--font-color1)"></div>
</div>
<div style="display:flex;align-items:center;padding-left:1rem;color:var(--options-inactive);">
The Outpass request will be registered and can be viewed by out respective faculty advisor and Hostel Warden
</div>
</div>
<div class="rules-lines">
<div style="display:flex;align-items:center;justify-content: center;">
<div class="points" style="background:var(--font-color1)"></div>
</div>
<div style="display:flex;align-items:center;padding-left:1rem;color:var(--options-inactive);">
Incase of Emergency, your request will be sent to Hostel Warden directly for approval
</div>
</div>
</div>
</div>
<footer>
<div id="details">
<div class="sections" style="border-right:1px solid var(--gray-200);">
<div id="section-headers1">Quick Find</div>
<div class="links" onclick="IIITD()">IIIT Dharwad</div>
<div class="links" onclick="About()">About IIIT Dharwad</div>
<div class="links" onclick="Acedemics()">Acedemics</div>
<div class="links" onclick="AIMS()">AIMS Portal</div>
</div>
<div class="sections">
<div class="section-headers">Contact Us</div>
<div class="links">
<span class="material-symbols-outlined">
home
</span>
</div>
<div class="links1">IIIT Dharwad Campus, Ittigatti Road, Near Sattur Colony, Dharwad 580009</div>
<div class="links">
<span class="material-symbols-outlined">
phone_in_talk
</span>
</div>
<div class="links1">0836 2250879, 9449732959</div>
</div>
<div class="sections1" style="border-left:1px solid var(--gray-200);">
<div class="section-headers">Social Links</div>
<div class="links2">
<div style="display:flex;align-items:center;cursor: pointer;" onclick="youtube()">
<i class="fa fa-youtube-play yt" style="font-size:1.5rem;color:var(--options-inactive);"></i>
</div>
<div style="display:flex;align-items:center;color:var(--options-inactive);cursor: pointer;" onclick="youtube()">
YouTube
</div>
</div>
<div class="links2">
<div style="display:flex;align-items:center;cursor: pointer;" onclick="twitter()">
<i class="fa fa-twitter twt" style="font-size:1.5rem;color:var(--options-inactive);"></i>
</div>
<div style="display:flex;align-items:center;color:var(--options-inactive);cursor: pointer;" onclick="twitter()">
Twitter
</div>
</div>
<div class="links2">
<div style="display:flex;align-items:center;cursor: pointer;" onclick="facebook()">
<i class="fa fa-facebook fb" style="font-size:1.5rem;color:var(--options-inactive);"></i>
</div>
<div style="display:flex;align-items:center;color:var(--options-inactive);cursor: pointer;" onclick="facebook()">
Facebook
</div>
</div>
</div>
</div>
<div id="footer-bottom">
<div id="footer-img"></div>
</div>
</footer>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
function IIITD() {
window.open(
"https://iiitdwd.ac.in", "_blank");
}
function facebook() {
window.open(
"https://www.facebook.com/pages/category/Interest/IIIT-Dharwad-107055984131970/","_blank");
}
function youtube(){
window.open(
"https://www.youtube.com/channel/UCVvvR0-TvLQOJehUPkQ_Cwg","_blank");
}
function twitter(){
window.open(
"https://twitter.com/dharwad_iiit?lang=en","_blank");
}
function About() {
window.open(
"https://iiitdwd.ac.in/about.php", "_blank");
}
function Acedemics() {
window.open(
"https://iiitdwd.ac.in/academics.php", "_blank");
}
function AIMS() {
window.open(
"https://aims.iiitdwd.ac.in/aims/", "_blank");
}
function complaints_drop(){
var element= document.body;
element.classList.toggle("rules-toggle1");
element.classList.remove("rules-toggle2");
}
function outpass_drop(){
var element= document.body;
element.classList.toggle("rules-toggle2");
element.classList.remove("rules-toggle1");
}
function Outpass(){
location.assign('C:/Users/Admin/Desktop/Projects/views/Outpass.html');
}
function darkmode(){
var element= document.body;
element.classList.toggle('dark-theme-body');
}
function changepassword(){
location.assign('C:/Users/Admin/Desktop/Projects/views/Change_password.html');
}
function logout(){
location.assign('C:/Users/Admin/Desktop/Projects/views/Login.html');
}
function showdiv(){
document.getElementById('profile-box').style.height ="60%";
document.getElementById('profile-img').style.display='flex';
document.getElementById('profile-info').style.display='block';
document.getElementById('darkmode').style.display='grid';
}
window.onload = function(){
var hidediv = document.getElementById('profile-box');
var profile = document.getElementById('profile-img');
var info = document.getElementById('profile-info');
var darkmode = document.getElementById('darkmode');
document.onclick = function(div){
if(div.target.id!='box2' && div.target.id!="profile" && div.target.className!='info' && div.target.id!="darkmode" && div.target.className!='switch' && div.target.className!='theme-switch' && div.target.id!='slider' && div .target.id!='checkbox' && div.target.className!='change-password' && div.target.id!='logout-btn'){
hidediv.style.height='0';
profile.style.display='none';
info.style.display='none';
darkmode.style.display='none';
}
}
setInterval(showTime,0);
function showTime() {
let time = new Date();
let hour = time.getHours();
let min = time.getMinutes();
// let sec = time.getSeconds();
am_pm = " AM";
if (hour > 12) {
hour -= 12;
am_pm = " PM";
}
else if (hour<12){
am_pm=" AM";
}
else if (hour == 0) {
hr = 12;
am_pm = " AM";
}
hour = hour < 10 ? "0" + hour : hour;
min = min < 10 ? "0" + min : min;
// sec = sec < 10 ? "0" + sec : sec;
let currentTime = hour + ":"
+ min /*+ ":" + sec*/ + am_pm;
document.getElementById("clock")
.innerHTML = currentTime;
}
showTime();
}
function showoutpass(){
document.getElementById('outpass-box-main').style.display='block';
document.getElementById('status-box-main').style.display='none';
}
function showstatus(){
document.getElementById('outpass-box-main').style.display='none';
document.getElementById('status-box-main').style.display='block';
}
function Complaints(){
location.assign('C:/Users/Admin/Desktop/Projects/views/Complaints.html');
}
</script>
</body>
</html>