-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
403 lines (345 loc) · 15.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/png" href="./assets/img/BITS-ICON.PNG">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>
BITS 2019
</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link href="https://fonts.googleapis.com/css?family=Saira" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">
<!-- CSS Files -->
<link href="./assets/css/material-dashboard.css?v=2.1.0" rel="stylesheet" />
<link href="./assets/demo/demo.css" rel="stylesheet" />
</head>
<body class="offline-doc dark-edition">
<!-- Navbar -->
<img src="BITS-logo.GIF" width="250px" height="250px" class="logo-bits">
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top " id="navigation-example">
<img src="BITS-logo.GIF" width="250px" height="250px" class="logo-bits">
<div class="container-fluid">
<div class="navbar-wrapper">
<a class="navbar-brand" style="color: #b5caff00;"></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation" data-target="#navigation-example">
<span class="sr-only">Toggle navigation</span>
<span class="navbar-toggler-icon icon-bar"></span>
<span class="navbar-toggler-icon icon-bar middle"></span>
<span class="navbar-toggler-icon icon-bar"></span>
</button>
<div class="collapse navbar-collapse justify-content-end">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="" target="_blank" style="color: #b5caff">
Register
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./tasks.html" target="_blank" style="color: #b5caff">
Dashboard
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./timeline.html" target="_blank" style="color: #b5caff">
Timeline
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./about.html" target="_blank" style="color: #b5caff">
About
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./contact.html" target="_blank" style="color: #b5caff">
Contact Us
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- End Navbar -->
<div class="card comesold" id="" style="width:30%; position: absolute; bottom:20px; left:-10px; transition: 1s; z-index: 5;">
<div class="card-body">
<!--h4 class="card-title" style="color: #b5caff">Ends in</h4-->
<!--div class="card-text" style="font-size:200%;"><div id="" style="font-family:'Saira', sans-serif; color: #b5caff; display:inline;"></div></div-->
<!--div style="width:80%"> Due to recent events occurring throughout the country, We have decided to postpone the BITS Competition. New Date of Commencement is yet to be decided. <br/><b>Await further notice!</b></div-->
<div class="card-text" style="font-size:200%;"><div id="demo" style="font-family:'Saira', sans-serif; color: #b5caff; display:inline;"></div></div>
<i class="material-icons" style="font-size: 50px; position: absolute; right:0%; top:1px; color: #fff">
<div class="arrow"></div>
</i>
<style>
.arrow::before{
content: "keyboard_arrow_right";
}
</style>
</div>
</div>
<div class="page-header clear-filter">
<div class="page-header-image" style="background-image: url('./assets/img/sidebar-1.jpg');"></div>
<div class="content-center">
<div class="col-md-8 ml-auto mr-auto">
<div class="brand">
<img>
<h1 class="title" style="font-family:'Saira', sans-serif; color:#4498ff; text-shadow: 0px 0px 20px black;">
BITS '19
</h1>
<h6 style="background-color: rgba(255, 5, 5, 0.404); font-family:'Saira', sans-serif; padding: 5px; margin:auto; z-index: -1; width:300px;" class="secyear">Second Consecutive Year</h6>
<h3 class="description" style="font-family:'Saira', sans-serif; color: #b5caff; text-shadow:-4px 1px 20px black;">The Task Based Online<br>Intra-School ICT Competiton</h3>
<a href="./tasks.html" class="btn btn-round btn-md" style="background-color: rgba(71, 123, 255, 1); text-shadow:0px 0px 20px black;">Go to the dashboard</a>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container-fluid">
<nav style="float:left; transition: 1s;" id="linksleft" >
<ul>
<!--li>
<a href="https://acicts.io" target="_blank" style="color: #b5caff">
ACICTS
</a>
</li>
<li>
<a href="" style="color: #b5caff">
About Us
</a>
</li>
<li>
<a href="" style="color: #b5caff">
Contact Us
</a>
</li-->
</ul>
</nav>
<!--div class="card comes"
style="width:20%; position: fixed; bottom:35px; right:30px; transition: 1s; z-index: 5; background-color: #000;">
<div class="card-body">
<img src="./assets/img/candle.gif" width="100%" style="opacity:0.4">
<br/><br/>
<h6 class="card-title not-reg" id="pc-card" style="color: #b5caff">We strongly condemn the violent and cruel terror that hundreds of innocent people had to go
through on the 21<sup>st</sup> of April on Easter Sunday in Sri Lanka and truly mourn the
loss of all the people who lost their lives and their loved ones.<br/><br/><b><big>BITS OC<br/>- ACICTS -</big></b></h6>
<marquee direction="up">
<h6 class="card-title not-reg" id="mobile-card" style="color: #b5caff; text-align:center;">We strongly condemn the violent and cruel terror that hundreds of innocent people had to go
through on the 21<sup>st</sup> of April on Easter Sunday in Sri Lanka and truly mourn the
loss of all the people who lost their lives and their loved ones.<br/><br/><b><big>BITS OC<br/>- ACICTS -</big></b></h6>
</marquee>
</div>
</div-->
<style>
.arrow::before{
content: "keyboard_arrow_right";
}
.comesold:hover{
left:10px !important;
}
#mobile-card{
display: none;
}
/* Changes for small display */
@media (max-width: 700px) {
.comesold{
width:90% !important;
left:-75% !important;
}
}
@media (max-width: 991px) {
.comesold:hover{
left:10px !important;
}
}
@media (max-width: 500px) {
#mobile-card{
display: block !important;
}
.comes{
opacity: 0.5;
}
.comes:hover{
opacity: 1;
}
#pc-card{
display: none;
}
}
</style>
<script src="https://embed.small.chat/THVNC49UHGJ4700NF8.js" async></script>
<div class="copyright float-right" style="color: #b5caff; margin-bottom:8px;">
©
<script>
document.write(new Date().getFullYear())
</script>
<a href="http://acicts.io/" target="_blank">ACICTS</a> - All rights reserved.
</div>
</div>
<!--This Website is created by Supun Tharinda-->
</footer>
<!-- Core JS Files -->
<script src="./assets/js/core/jquery.min.js"></script>
<script src="./assets/js/core/popper.min.js"></script>
<script src="./assets/js/core/bootstrap-material-design.min.js"></script>
<script src="https://unpkg.com/default-passive-events"></script>
<script src="./assets/js/plugins/perfect-scrollbar.jquery.min.js"></script>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- Google Maps Plugin -->
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE"></script>
<!-- Chartist JS -->
<script src="./assets/js/plugins/chartist.min.js"></script>
<!-- Notifications Plugin -->
<script src="./assets/js/plugins/bootstrap-notify.js"></script>
<!-- Control Center for Material Dashboard: parallax effects, scripts for the example pages etc -->
<script src="./assets/js/material-dashboard.js?v=2.1.0"></script>
<!-- Material Dashboard DEMO methods, don't include it in your project! -->
<script src="./assets/demo/demo.js"></script>
<script>
// Set the date we're counting down to
var countDownDate = new Date("July 9, 2019 00:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get todays date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="demo"
document.getElementById("demo").innerHTML = days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ";
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "<h4>Competiton is finished!</h4>";
}
}, 1000);
</script>
<script>
$(document).ready(function() {
$().ready(function() {
$sidebar = $('.sidebar');
$sidebar_img_container = $sidebar.find('.sidebar-background');
$full_page = $('.full-page');
$sidebar_responsive = $('body > .navbar-collapse');
window_width = $(window).width();
$('.fixed-plugin a').click(function(event) {
// Alex if we click on switch, stop propagation of the event, so the dropdown will not be hide, otherwise we set the section active
if ($(this).hasClass('switch-trigger')) {
if (event.stopPropagation) {
event.stopPropagation();
} else if (window.event) {
window.event.cancelBubble = true;
}
}
});
$('.fixed-plugin .active-color span').click(function() {
$full_page_background = $('.full-page-background');
$(this).siblings().removeClass('active');
$(this).addClass('active');
var new_color = $(this).data('color');
if ($sidebar.length != 0) {
$sidebar.attr('data-color', new_color);
}
if ($full_page.length != 0) {
$full_page.attr('filter-color', new_color);
}
if ($sidebar_responsive.length != 0) {
$sidebar_responsive.attr('data-color', new_color);
}
});
$('.fixed-plugin .background-color .badge').click(function() {
$(this).siblings().removeClass('active');
$(this).addClass('active');
var new_color = $(this).data('background-color');
if ($sidebar.length != 0) {
$sidebar.attr('data-background-color', new_color);
}
});
$('.fixed-plugin .img-holder').click(function() {
$full_page_background = $('.full-page-background');
$(this).parent('li').siblings().removeClass('active');
$(this).parent('li').addClass('active');
var new_image = $(this).find("img").attr('src');
if ($sidebar_img_container.length != 0 && $('.switch-sidebar-image input:checked').length != 0) {
$sidebar_img_container.fadeOut('fast', function() {
$sidebar_img_container.css('background-image', 'url("' + new_image + '")');
$sidebar_img_container.fadeIn('fast');
});
}
if ($full_page_background.length != 0 && $('.switch-sidebar-image input:checked').length != 0) {
var new_image_full_page = $('.fixed-plugin li.active .img-holder').find('img').data('src');
$full_page_background.fadeOut('fast', function() {
$full_page_background.css('background-image', 'url("' + new_image_full_page + '")');
$full_page_background.fadeIn('fast');
});
}
if ($('.switch-sidebar-image input:checked').length == 0) {
var new_image = $('.fixed-plugin li.active .img-holder').find("img").attr('src');
var new_image_full_page = $('.fixed-plugin li.active .img-holder').find('img').data('src');
$sidebar_img_container.css('background-image', 'url("' + new_image + '")');
$full_page_background.css('background-image', 'url("' + new_image_full_page + '")');
}
if ($sidebar_responsive.length != 0) {
$sidebar_responsive.css('background-image', 'url("' + new_image + '")');
}
});
$('.switch-sidebar-image input').change(function() {
$full_page_background = $('.full-page-background');
$input = $(this);
if ($input.is(':checked')) {
if ($sidebar_img_container.length != 0) {
$sidebar_img_container.fadeIn('fast');
$sidebar.attr('data-image', '#');
}
if ($full_page_background.length != 0) {
$full_page_background.fadeIn('fast');
$full_page.attr('data-image', '#');
}
background_image = true;
} else {
if ($sidebar_img_container.length != 0) {
$sidebar.removeAttr('data-image');
$sidebar_img_container.fadeOut('fast');
}
if ($full_page_background.length != 0) {
$full_page.removeAttr('data-image', '#');
$full_page_background.fadeOut('fast');
}
background_image = false;
}
});
$('.switch-sidebar-mini input').change(function() {
$body = $('body');
$input = $(this);
if (md.misc.sidebar_mini_active == true) {
$('body').removeClass('sidebar-mini');
md.misc.sidebar_mini_active = false;
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar();
} else {
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar('destroy');
setTimeout(function() {
$('body').addClass('sidebar-mini');
md.misc.sidebar_mini_active = true;
}, 300);
}
// we simulate the window Resize so the charts will get updated in realtime.
var simulateWindowResize = setInterval(function() {
window.dispatchEvent(new Event('resize'));
}, 180);
// we stop the simulation of Window Resize after the animations are completed
setTimeout(function() {
clearInterval(simulateWindowResize);
}, 1000);
});
});
});
</script>
</body>
</html>