-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
538 lines (452 loc) · 24.6 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
530
531
532
533
534
535
536
537
538
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hostel Website</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.1/css/fontawesome.min.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=Nunito+Sans:wght@300&display=swap" rel="stylesheet">
<link rel="style809iokjljsheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="javascript.js"></script>
<script src="https://kit.fontawesome.com/1fa1ca49fa.js" crossorigin="anonymous"></script>
<!-- Swiper CSS -->
<link rel="stylesheet" href="css/swiper-bundle.min.css">
<!-- CSS -->
<link rel="stylesheet" href="css/style2.css">
</head>
<body>
<section class="header">
<nav class="navbar">
<div class="nav-links" id="navLinks">
<div class="nav nav1" id="nav1">
<ul id="sidemenu">
<li><a href="">Home</a></li>
<!-- <li><a href="">About</a></li> -->
<li><a href="#admission">Admission</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#contact">Contact</a></li>
<li><a class="navlinka" id="LogIn" href="#" onclick="openpopup();">Login</a></li>
<li><a class="navlinka" id="Sign_Up" href="#" onclick="opensignup();">SignUp</a></li>
<i class="fa-solid fa-circle-xmark" onclick="closemenu()"></i>
</ul>
<i class="fa-solid fa-bars" onclick="openmenu()"></i>
</div>
</div>
<div class="nav-links" id="navLinks">
<div class="nav nav2" id="nav2">
<ul id="sidemenu">
<li><a href="">Home</a></li>
<!-- <li><a href="">About</a></li> -->
<li><a href="#admission">Admission</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#contact">Contact</a></li>
<li><a class="navlinka" id="name" href="#" onclick="openpopup();">Username</a></li>
<li><a class="navlinka" id="SignOut" href="#" onclick="signout();">SignOut</a>></li>
<i class="fa-solid fa-circle-xmark" onclick="closemenu()"></i>
</ul>
<i class="fa-solid fa-bars" onclick="openmenu()"></i>
</div>
</div>
</nav>
<div class="text-box">
<h1>WELCOME TO HOSTEL BUDDY!!</h1>
</div>
<div class="text-box applyingmargin">
<h2>Hostels Of BMSCE</h2>
<p>Basavanagudi,Bangalore</p><br>
</div>
</section>
<!-- login and signup ------------------------------------------------------------->
<div class="extra" id="SignIn">
<div class="extra1">
<button onclick="closepopup();" class=closebtn> <i class="bi bi-x"></i> </button>
<div class="overlay loginpopup">
<h1>Login</h1>
<form id=loginform>
<div class="text_field">
<input type="text" placeholder="Username" id="username">
</div>
<div class="text_field">
<input type="password" placeholder="Password" id="password">
</div>
<button class="submit" id="submitonlogin" type="button" onclick="return validatelogin();">
Login
</button>
<div class="signup">
Not a member? <a href="#" onclick="opensignupfromlogin()" ;>Signup</a>
</div>
</form>
</div>
</div>
<div class="extra" id="SignUp">
<div class="extra1">
<button onclick="closesignup();" class=closebtn> <i class="bi bi-x"></i> </button>
<div class="overlay signuppopup">
<h1>
Not a user :)
</h1>
<form onsubmit="openpopupfromsignup();" id="signupform" method="get">
<div class="text_field">
<input type="tel" pattern="[0-9]{10}" maxlengt9h="10" required placeholder="Enter contact number" required=""
oninvalid="this.setCustomValidity('Please Enter valid Phone Number')" oninput="setCustomValidity('')">
</div>
<div class="text_field">
<input type="text" placeholder="Enter Username" id="usernamesignup">
</div>
<div class="text_field">
<input type="password" placeholder="Enter Password" id="passwordsignup">
</div>
<button class="submit" onclick="callsignup();">
Signup
</button>
</form>
</div>
</div>
</div>
</div>
<!-- -------admission------- -->
<div id="admission">
<div class="container">
<div class="row">
<div class="about-col-1">
<img src="Images/user.jpg">
</div>
<div class="about-col-2">
<h1 class="sub-title">About Hostel Admission</h1>
<p>The B.M.S.E.T. Hostels is managed by the Hostel Committee Constituted by the B.M.S. Educational Trust. BMS Educational trust hostels is indeed a ‘’mini global village’’ with students hailing from different states in the National Hostels & different nations in the International Hostels with different classes, cultures, and religions.</p>
<div class="tab-titles">
<p class="tab-links active-link" onclick="opentab('admission process')">Admission Process</p>
<p class="tab-links" onclick="opentab('Allotment Of Room')">Allotment Of Room</p>
<p class="tab-links" onclick="opentab('Vacating The Hostel')">Vacating The Hostel</p>
</div>
<div class="tab-contents active-tab" id="admission process">
<ul>
<li>Collect the prescribed admission form from the hostel office on showing receipt of fee paid to the college and making the payment of prescribed application fee.</li>
<li>Fill the form thoroughly and get the approval of principal before submitting it to the hostel office</li>
<li>On approval of admission by the Secretary of the hostels, the parents shall be informed by the office to pay the prescribed deposit within the date mentioned through two crossed Demand Drafts (NO cash Transactions).</li>
<li>If the prescribed fees are not paid within the due date, it will be presumed that the student does not require the hostel, and then the seat will be allotted to the next waiting candidate.</li>
<li>Once the prescribed fee is been paid within the due date, then the student becomes an occupant of the Hostel.</li>
<li>Documents to be submitted</li>
<ul>
<li>4 stamp size photographs</li>
<li>3 passport size photographs</li>
</ul>
</ul>
</div>
<div class="tab-contents" id="Allotment Of Room">
<ul>
<li>The allocation is done through a lottery system and the student is informed by the Secretary of the hostels.</li>
<li>The student is responsible for checking the room and its accessories upon occupation and will be liable for damages during their stay.</li>
<li>Rooms will not be changed except in special situations with permission from the Secretary.</li>
<li>The student's parent or guardian must enter into an agreement paper with a clear understanding that the student must vacate the room after 11 months or completion of exams.</li>
<li>The student is also responsible for the upkeep of the room and will be charged for any damages or loss of hostel property.</li>
<li> Accommodation is provided to full-time registered students and is withdrawn if registration is cancelled or the student is removed from college rolls.</li>
</ul>
</div>
<div class="tab-contents" id="Vacating The Hostel">
<ul>
<li>When a student completes their course, they must submit a vacating form to the hostel office.
<li>To receive a refund of their security deposit, the student must surrender their room key and ID card to the office, otherwise they will be charged a fee. </li>
<li>Security deposit is subject to deductions for any loss or damage of equipment provided to the student.
<li>If a student is not eligible to move to the next semester, they must vacate the hostel immediately. </li>
<li>Any student who is removed from the rolls of the college will automatically cease to be a member of the Hostel and will lose their security deposit and service charges.</li>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- ----------services---------->
<div id="services">
<div class="container">
<h1 class="sub-title">Our Services</h1>
<div class="services-list">
<div>
<i class="fa-regular fa-hotel"></i>
<h2>ACCOMODATION</h2>
<p>BMSCE Hostels Accommodation include reading room, 24/7 Wi-fi-Internet accessibility, TV, Gymnasium, Washing machine, power back-up, RO drinking water system, indoor sports facilities and parking space for student vehicles.</p>
<!-- <a href="Accomodation.html" target="_blank" >Learn more</a> -->
<a href="#" id="LogIn" onclick="check1();">Learn more</a></li>
</div>
<div>
<!-- <i class="fa-solid fa-stethoscope"></i> -->
<i class="fa-solid fa-plate-utensils"></i>
<h2>HOSTEL MESS</h2>
<p>The mess has a centralized modern kitchen and a separate dining hall for boys and girls. General menus for each month is are decided by the hostelite representatives selected by the hostels.</p>
<!-- <a href="bms_mess.html" target="_blank">Learn more</a> -->
<a href="#" id="LogIn" onclick="check2();">Learn more</a></li>
</div>
<div>
<i class="fa-solid fa-stethoscope"></i>
<h2>BMS HOSPITAL</h2>
<p>Anyone residing in the BMSCE hostels can seek cure and are under the guidance of experienced doctors without worrying about the cost.</p>
<!-- <a href="bms_hospital.html" target="_blank">Learn more</a> -->
<a href="#" id="LogIn" onclick="check3();">Learn more</a></li>
</div>
</div>
</div>
</div>
<!-- -------EVENTS-------- -->
<div id="events">
<div class="container">
<h1 class="sub-title">Our Events</h1>
<div class="work-list">
<div class="work">
<img src="Images/rafaga01.jpg">
<div class="layer">
<h3>FRESHER'S DAY</h3>
<p>The Hostel is a platform for the students to develop all their talents. Fresher’s Day is organized with variety of entertainment programmes. It is indeed a spring board for many to begin well.</p>
<a href="fresher's.html" target="_blank"><i class="fa-solid fa-arrow-up-right-from-square"></i></a>
</div>
</div>
<div class="work">
<img src="Images/foodFest.jpg">
<div class="layer">
<h3>FOOD FIESTA</h3>
<p>The Hostel management encourages and permits the hostelites to conduct the Food Fiesta during every Hostel month. We give opportunities for the students from 1st year to final year to prepare their own new menu representing each state food.</p>
<a href="food_fest.html"><i class="fa-solid fa-arrow-up-right-from-square"></i></a>
</div>
</div>
<div class="work">
<img src="Images/hostel_day.jpg">
<div class="layer">
<h3>HOSTEL DAY(FAROUCHE)</h3>
<p>In view of the hostel day – Farouche , every year the hostel management encourage the students to organize many competitions under the leader ship of sports & cultural team such as various indoor & outdoor events.</p>
<a href="hostel_day.html"><i class="fa-solid fa-arrow-up-right-from-square"></i></a>
</div>
</div>
</div>
<!-- <a href="#" class="btn">See more</a> -->
</div>
</div>
<!---------- card_slider --------->
<div class="body2">
<div class="slide-container swiper">
<h1 class="sub-title">Testimonials</h1>
<div class="slide-content">
<div class="card-wrapper swiper-wrapper">
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-1.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Anand Keshav</h2>
<p class="description">I would like to thank the CSE Dept. for encourasing to enhance my skills and intership opportunity given. Currently I'm working at wipro as a full stack developer. Also staying in bms hostel was fun and memorable.</p>
<button class="button">View More</button>
</div>
</div>
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-04.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Mukul Kumar</h2>
<p class="description">I would like to thank ISE dept of bmsce for career development and opportunity for intership. I'm a data analyst at amazon. It was a great time in bms hostel. Enjoyed every events.</p>
<button class="button">View More</button>
</div>
</div>
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-03.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Nithya N</h2>
<p class="description">The EEE dept has offered me several opportunities to do my intership. I'm currently pursuing my master in automotive engineering in Technische Hochschule, Germany. Staying in BMS girls hostel made me feel safe and sound.</p>
<button class="button">View More</button>
</div>
</div> -->
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-02.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Sawaroop Reddy</h2>
<p class="description">I would like to thank law dept of bms for helping me to build my career in law. Currently I'm pursuing my LLM at IIM, Bangalore. My hobby is signing and i have sung at bms hostel events and had lots of fun. My hobby is signing and i had participated at bms hostel events and had lots of fun.</p>
<button class="button">View More</button>
</div>
</div>
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-1.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Anand Keshav</h2>
<p class="description">I would like to thank the CSE Dept. for encourasing to enhance my skills and intership opportunity given. Currently I'm working at wipro as a full stack developer. Also staying in bms hostel was fun and memorable.</p>
<button class="button">View More</button>
</div>
</div>
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-04.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Mukul Kumar</h2>
<p class="description">I would like to thank ISE dept of bmsce for career development and opportunity for intership. I'm a data analyst at amazon. It was a great time in bms hostel. Enjoyed every events of bms hostel. The food and living all was good enough.</p>
<button class="button">View More</button>
</div>
</div>
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-03.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Nithya N</h2>
<p class="description">The civil dept has offered me several opportunities to do my intership. I'm currently pursuing my master in automotive engineering in Technische Hochschule, Germany. Staying in BMS girls hostel made me feel safe and sound</p>
<button class="button">View More</button>
</div>
</div>
<!-- <div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-02.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">David Dell</h2>
<p class="description">The lorem text the section that contains header with having open functionality. Lorem dolor sit amet consectetur adipisicing elit.</p>
<button class="button">View More</button>
</div>
</div> -->
<div class="card swiper-slide">
<div class="image-content">
<span class="overlay1"></span>
<div class="card-image">
<img src="Card_images/testimonials-02.jpeg" alt="" class="card-img">
</div>
</div>
<div class="card-content">
<h2 class="name">Sawaroop Reddy</h2>
<p class="description">I would like to thank law dept of bms for helping me to build my career in law. Currently I'm pursuing my LLM at IIM, Bangalore. My hobby is signing and i had participated at bms hostel events and had lots of fun.</p>
<button class="button">View More</button>
</div>
</div>
</div>
</div>
<div class="swiper-button-next swiper-navBtn"></div>
<div class="swiper-button-prev swiper-navBtn"></div>
<div class="swiper-pagination"></div>
</div>
</div>
<!---------------contact---------------------->
<div id="contact">
<div class="container">
<div class="row">
<div class="contact-left">
<h1 class="sub-title">Contact Me</h1>
<p><i class="fa-solid fa-paper-plane"></i>varsagupta07@gmail.com</p>
<p><i class="fa-solid fa-square-phone"></i>9153229524</p>
<div class="social-icons">
<a href="https://facebook.com/"><i class="fa-brands fa-facebook"></i></a>
<a href=""><i class="fa-brands fa-twitter-square"></i></a>
<a href=""><i class="fa-brands fa-instagram"></i></a>
<a href=""><i class="fa-brands fa-linkedin"></i></a>
</div>
<a href="Images/my-cv.pdf" download class="btn btn2">Download pdf</a>
</div>
<div class="contact-right">
<form name="submit-to-google-sheet">
<input type="text" name="Name" placeholder="Enter your name">
<input type="email" name="Email" placeholder="Enter your email">
<textarea name="Message" rows="6" placeholder="Enter Your message"></textarea>
<button type="submit" class="btn btn2">Submit</button>
</form>
<span id="msg">Hello :)</span>
</div>
</div>
</div>
<div class="copyright">
<p>Copyright @kelvin. Made with <i class="fa-solid fa-heart"></i> by Varsha Gupta</p>
</div>
</div>
<script>
var tablinks=document.getElementsByClassName("tab-links");
var tabcontents=document.getElementsByClassName("tab-contents");
function opentab(tabname)
{
for(tablink of tablinks)
{
tablink.classList.remove("active-link");
}
for(tabcontent of tabcontents)
{
tabcontent.classList.remove("active-tab");
}
event.currentTarget.classList.add("active-link");
document.getElementById(tabname).classList.add("active-tab")
}
</script>
<script>
var sidemeu=document.getElementById("sidemenu");
function openmenu()
{
sidemeu.style.right="0";
}
function closemenu()
{
sidemeu.style.right="-200px";
}
</script>
<!--------contact js----------->
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbycS9Bi_cywq9tHjdJloSsgB45lKf5QOCunLmwxNzzY4tY2LIgFO93AxGJRk7diwCvPQw/exec'
const form = document.forms['submit-to-google-sheet']
const msg=document.getElementById("msg")
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => {
msg.innerHTML="Message Sent Successfully!!"
setTimeout(function(){
msg.innerHTML=""
},5000)
form.reset()
})
.catch(error => console.error('Error!', error.message))
})
</script>
<!--------- card_slider--------- -->
<!-- Swiper JS -->
<script src="js/swiper-bundle.min.js"></script>
<!-- JavaScript -->
<script src="js/script02.js"></script>
<script>
var navLinks=document.getElementById("navLinks");
function showMenu(){
navLinks.style.right="0";
}
function hideMenu(){
navLinks.style.right="-200px";
}
</script>
</body>
</html>