-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
494 lines (457 loc) · 25.1 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
<!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">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>CSI Dashboard</title>
<!-- Stylesheets for Hamburger and icons -->
<link rel="stylesheet" href="./vendors/mdi/css/materialdesignicons.min.css">
<link rel="stylesheet" href="./vendors/simple-line-icons/css/simple-line-icons.css">
<!-- Stylesheets for Hamburger and icons ends -->
<!-- css sheets for the instafeed and basic style -->
<link rel="stylesheet" href="./css/vertical-layout-light/style.css">
<link rel="stylesheet" href="./css/insta.css">
<!-- css sheets for the instafeed and basic style ended -->
<link rel="shortcut icon" href="images/csi.png" />
<style type="text/css">
a img{
position: relative;
height: 428px;
}
</style>
</head>
<body>
<div class="container-scroller">
<div class="row p-0 m-0 proBanner" id="proBanner">
<div class="col-md-12 p-0 m-0">
</div>
</div>
<!-- horizontal nav bar starts -->
<nav class="navbar default-layout col-lg-12 col-12 p-0 fixed-top d-flex align-items-top flex-row" style="padding-top: 0px;margin-top: 0px;">
<div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-start" style="border-radius: 0px 50px 50px 0px;border: solid 1px;">
<div class="me-3">
<button class="navbar-toggler navbar-toggler align-self-center" type="button" data-bs-toggle="minimize">
<span class="icon-menu"></span>
</button>
</div>
<div>
<a class="navbar-brand brand-logo" href="index.html">
<span>HOD</span>
</a>
<a class="navbar-brand brand-logo-mini" href="index.html">
<img src="images/csi.png" alt="logo" />
</a>
</div>
</div>
<div class="navbar-menu-wrapper d-flex align-items-top">
<ul class="navbar-nav">
<li class="nav-item font-weight-semibold d-none d-lg-block ms-0">
<h1 class="welcome-text">Welcome Back, <span class="text-black fw-bold">Prasad Padalkar</span></h1>
<h3 class="welcome-sub-text">This is CSI admin dashboard</h3>
</li>
</ul>
<ul class="navbar-nav ms-auto">
<li class="nav-item dropdown d-none d-lg-block user-dropdown">
<a class="nav-link" id="UserDropdown" href="#" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa-solid fa-user-tie" style="border: black;"></i>
<div class="dropdown-menu dropdown-menu-right navbar-dropdown" aria-labelledby="UserDropdown">
<div class="dropdown-header text-center">
<i class="fa-solid fa-user-tie"></i>
<p class="mb-1 mt-3 font-weight-semibold">Prasad Padalkar</p>
<p class="fw-light text-muted mb-0">prasadpadalkar@dbit.in</p>
</div>
<a href="/logout" class="dropdown-item"><i class="dropdown-item-icon mdi mdi-power text-primary me-2"></i>Sign Out</a>
</div>
</li>
</ul>
<button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button" data-bs-toggle="offcanvas">
<span class="mdi mdi-menu"></span>
</button>
</div>
</nav>
<!-- horizontal nav bar ends -->
<!--complete vertical bar and main panel starts-->
<div class="container-fluid page-body-wrapper">
<!--vertical nav bar starts-->
<nav class="sidebar sidebar-offcanvas" id="sidebar">
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="https://csi-management-webapp.herokuapp.com/confData">
<i class="mdi mdi-view-dashboard menu-icon"></i>
<span class="menu-title">Dashboard</span>
</a>
</li>
<li class="nav-item nav-category">CSI : Events</li>
<li class="nav-item">
<a class="nav-link" href="https://csi-management-webapp.herokuapp.com/proposalData">
<i class="menu-icon mdi mdi-calendar-month"></i>
<span class="menu-title">Event Proposals</span>
</a>
</li>
<li class="nav-item nav-category">CSI : Feedback</li>
<li class="nav-item">
<a class="nav-link" href="https://csi-management-webapp.herokuapp.com/feedbackData">
<i class="menu-icon mdi mdi-square-edit-outline"></i>
<span class="menu-title">Event Feedbacks</span>
</a>
</li>
<li class="nav-item nav-category">CSI : Minutes of meet</li>
<li class="nav-item">
<a class="nav-link" href="https://csi-management-webapp.herokuapp.com/minuteData">
<i class="menu-icon mdi mdi-clock"></i>
<span class="menu-title">Minutes</span>
</a>
</li>
<li class="nav-item nav-category">CSI : Requirements</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="collapse" href="#auth" aria-expanded="false" aria-controls="auth">
<i class="menu-icon mdi mdi-clipboard-check"></i>
<span class="menu-title">Requirements</span>
<i class="menu-arrow"></i>
</a>
<div class="collapse" id="auth">
<ul class="nav flex-column sub-menu">
<li class="nav-item"> <a class="nav-link" href="https://csi-management-webapp.herokuapp.com/techData"> Technical </a></li>
</ul>
</div>
<div class="collapse" id="auth">
<ul class="nav flex-column sub-menu">
<li class="nav-item"> <a class="nav-link" href="https://csi-management-webapp.herokuapp.com/publicityData"> Publicity</a></li>
</ul>
</div>
</li>
<li class="nav-item nav-category">Back to login</li>
<li class="nav-item">
<a class="nav-link" href="/logout">
<i class="menu-icon mdi mdi-file-document"></i>
<span class="menu-title">Logout</span>
</a>
</li>
</ul>
</nav>
<!--vertical nav bar ends-->
<!-- main panel including instafeed and everything starts -->
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-sm-12">
<div class="home-tab">
<div class="d-sm-flex align-items-center justify-content-between border-bottom">
</div>
<div class="tab-content tab-content-basic">
<!--tab start-->
<div class="tab-pane fade show active" id="overview" role="tabpanel" aria-labelledby="overview">
<div class="row" style="width: 2500px ;">
<div class="col-lg-8 d-flex flex-column">
<div class="row flex-grow">
<div class="col-12 col-lg-4 col-lg-12 grid-margin stretch-card col-sm-6">
<!--insta card starts-->
<div class="instacard-body m-auto" id="instafeed" style="height: 536px;width: 90%; position:unset ;right: 90px;top: 200px;border: ridge 1px black; box-shadow: 2px 2px 2px gray">
<script src="https://cdn.jsdelivr.net/gh/stevenschobert/instafeed.js@2.0.0rc1/src/instafeed.min.js"></script>
<script type="text/javascript">
var userFeed = new Instafeed({
get: 'user',
target: "instafeed",
resolution: 'low_resolution',
template: '<a href="{{link}}" target="_blank" id="{{id}}"><img src="{{image}}" /><span>{{likes}}{{comments}}</span></a>',
accessToken: 'IGQVJWcVZARLTF4TWNUSUFmME1IUlZARMmFIZAlJrZAExoNlRLYU1hTzhqYlRDSDZAIVnFZAam5fVlBOWDNxSUx5VDRHRlBJRTZA1SVZAKYmhabzZAWVlFkUFY3YXBIcUczMTZAhZA2h1a2dHVV94NnlvRnZAqeUNHaQZDZD'
});
userFeed.run();
</script>
</div>
<!--insta card ends-->
</div>
</div>
</div>
</div>
</div>
<!-- tab ends -->
<!-- Floating Cards -->
<div class="row " style="margin-bottom: 100px;">
<div class="col-lg-4">
<div class="cardcontainer d-flex align-items-center justify-content-center flex-wrap" style="width: 456px;position:unset;left: 1110px;bottom: 0px;">
<div class="box">
<div class="body">
<div class="imgContainer">
<img src="https://scontent.fbom57-1.fna.fbcdn.net/v/t1.6435-9/53565209_1272744752863896_8401036492893323264_n.png?_nc_cat=109&ccb=1-7&_nc_sid=09cbfe&_nc_ohc=IkOobjj1naoAX8fQrie&_nc_ht=scontent.fbom57-1.fna&oh=00_AT841AdU9W6_yOdO45-Uc4pvNuwLVIy5TIG5_NLm6hBK4Q&oe=6369B290" alt="" style="border-radius: 30px">
</div>
<div class="content d-flex flex-column align-items-center justify-content-center">
<div>
<h3 class="text-white fs-5">Mumbai Hackathon</h3>
<p class="fs-6 text-white">Mumbai Hackathon is Annual Open Source Hackathon organized by FOSS United and Don Bosco Institute of Technology (DBIT). Every year, we welcome students, developers and designers from across the country to create incredible open source projects at Mumbai's largest Open Source Hackathon.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="cardcontainer d-flex align-items-center justify-content-center flex-wrap" style="width: 456px;position:unset;left: 1110px;bottom: 0px;">
<div class="box">
<div class="body">
<div class="imgContainer">
<img src="https://csi.dbit.in/resources/images/csidbit2.jpg" alt="" style="border-radius: 30px">
</div>
<div class="content d-flex flex-column align-items-center justify-content-center">
<div>
<h3 class="text-white fs-5">Game Of Codes</h3>
<p class="fs-6 text-white">Game of codes is a Flagship event of CSI. Every year , we have students working on different problem statements. The problem statements in GOC is based on a particular theme i.e. usually on any series or a movie GOC is majorly divided into 3 levels. Particpants collectively code and work on a problem statements given.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="cardcontainer d-flex align-items-center justify-content-center flex-wrap" style="width: 456px;position:unset;left: 1110px;bottom: 0px;">
<div class="box">
<div class="body">
<div class="imgContainer">
<img src="./images/cards/100Days.png" alt="" style="border-radius: 30px">
</div>
<div class="content d-flex flex-column align-items-center justify-content-center">
<div>
<h3 class="text-white fs-5">100 Days Coding</h3>
<p class="fs-6 text-white">To help students overcome the fear of coding, and to get familiarised with any programming language of their choice “100 days of coding challenge” is introduced, where students need to stay committed to coding for a resonable timeframe of 100 days. They will also gain GitHub experience.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Floating cards ends -->
<!-- Pie chart , Cards and Recent confirmed events Starts Here -->
<div class="row">
<div class="col-lg-8 d-flex flex-column">
<div class="row flex-grow">
<div class="col-12 grid-margin stretch-card">
<div class="card card-rounded">
<div class="card-body">
<div class="d-sm-flex justify-content-between align-items-start">
<div id="chart_div" style="width:100%; max-width:700px; height:400px; margin:0 auto;"><hr>LOADING...<hr></div>
<div>
<span style="text-align: start;position: absolute;font-weight: bold;right: 350px;top: 50px;font-size: 35px;line-height: 15px;">Three Track Program <hr></span>
</div>
<!-- This first JavaScript adjusts the height of the pie chart div according to the actual width of the pie chart div -->
<script type="text/javascript">
var d = document.getElementById("chart_div");
d.style.height = parseInt((d.scrollWidth/5*4)+1) + "px";
</script>
<!-- The following JavaScript is for Google's charts API. -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load( 'visualization', '1.0', { 'packages':['corechart'] } );
google.setOnLoadCallback(drawChart);
function drawChart()
{
var data = new google.visualization.DataTable();
data.addColumn( 'string', 'Area' );
data.addColumn( 'number', 'Pages' );
data.addRows([
['Academics', 3],
['Aspiration', 1],
['Wellness', 1],
]);
var options = { 'title':'', 'legend':'bottom', };
var chart = new google.visualization.PieChart(document.getElementById('chart_div'));
chart.draw(data, options);
} // function drawChart()
</script>
</div>
</div>
</div>
</div>
</div>
<div class="row flex-grow">
<div class="col-12 grid-margin stretch-card">
<div class="card card-rounded" style="height: fit-content;">
<div class="card-body">
<h2 style="font-weight:bold; margin-bottom: 15px;">CSI 2022 Statistics</h2>
<div class="row">
<div class="col-lg-3 col-md-12">
<div class="col-sm-8">
<div class="card-container row-lg-4" style="width: max-content;">
<a href="./views/memberscard.html">
<div class="num-card" style="margin-right: 35px;">
<div class="card-content">
<span></span>
</div>
<span style="font-size: 20px;font-weight: bold; position: relative;right: -35px;top: 10px; color: black;">CSI Members</span>
<span style="font-size: 20px;font-weight: bold;position: relative;font-size: 30px;right: 55px;top: 30px; color: black;"></span>
</div>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-12">
<a href="./views/event.html" style="text-decoration:none; color: black;">
<div class="num-card" style="margin-right: 35px;">
<div class="card-content">
<span></span>
</div>
<span style="font-size: 20px;font-weight: bold; position: relative;right: -64px;top: 10px">Events</span>
<span style="font-size: 20px;font-weight: bold;position: relative;font-size: 30px;right: -10px;top: 30px;"></span>
</div>
</a>
</div>
<div class="col-lg-3 col-md-12">
<a href="./views/workshop.html" style="text-decoration:none; color: black;">
<div class="num-card" style="margin-right: 35px;">
<div class="card-content">
<span></span>
</div>
<span style="font-size: 20px;font-weight: bold; position: relative;right: -42px;top: 10px;">Workshops</span>
<span style="font-size: 20px;font-weight: bold;position: relative;font-size: 30px;right: 25px;top: 30px;"></span>
</div>
</a>
</div>
<div class="col-lg-3 col-md-12">
<a href="./views/projectscard.html">
<div class="num-card">
<div class="card-content">
<span></span>
</div>
<span style="font-size: 20px;font-weight: bold; position: relative;right: -50px;top: 10px; color: black; ">Projects</span>
<span style="font-size: 20px;font-weight: bold;position: relative;font-size: 30px;right: -1px;top: 30px ; color: black;"></span>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row flex-grow">
<div class="col-12 grid-margin stretch-card">
</div>
</div>
<div class="row flex-grow">
<div class="col-md-6 col-lg-6 grid-margin stretch-card">
</div>
</div>
</div>
<div class="col-lg-4 d-flex flex-column">
<div class="row flex-grow">
<div class="col-12 grid-margin stretch-card">
<div class="card card-rounded" style="height: 125%;">
<div class="card-body">
<div class="row">
<div class="col-lg-12">
<div class="d-flex justify-content-between align-items-center mb-3">
<div class="card-body">
<div class="d-flex align-items-center justify-content-between mb-3">
<h4 class="card-title card-title-dash">Recently Confirmed Events<hr></h4>
<p class="mb-0"></p>
</div>
<!--The recent confirmed event card starts-->
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered" id="confirmed_data">
<thead>
<tr>
<th class="text-center">Event Name</th>
</tr>
</thead>
<tbody class="text-center"></tbody>
</table>
</div>
<p id="check"></p>
</div>
<!--The recent confirmed event card ends-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row flex-grow">
<div class="col-12 grid-margin stretch-card">
</div>
</div>
</div>
</div>
<!-- Pie chart , Cards and Recent confirmed events ends Here -->
</div>
</div>
</div>
</div>
</div>
<!-- main panel including instafeed and everything ends -->
</div>
<!-- partial -->
</div>
<!-- complete vertical bar and main panel ends -->
<!--footer starts-->
<footer id="sticky-footer" class="flex-shrink-0 py-4" style="
background-color: #afafaf;">
<div class="container text-center">
<small>CSI Admin Dashboard</small>
</div>
</footer>
<!--footer ends-->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="https://kit.fontawesome.com/cdb8f414fe.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- End plugin js for this page -->
<!-- Scripts for Hamburger and dropdown -->
<script src="js/off-canvas.js"></script>
<script src="js/hoverable-collapse.js"></script>
<script src="js/template.js"></script>
<!-- Scripts for Hamburger and dropdown ends -->
<!-- Script for Dashboard-->
<script src="js/dashboard.js"></script>
<!-- Script for Dashboard ends -->
<!--script for fetching confirmed events from db starts-->
<script>
$(document).ready(function(){
load_data();
function load_data()
{
$.ajax({
url:"https://csi-management-webapp.herokuapp.com/confirmedall",
method:"GET",
dataType : "JSON",
success:function(data)
{
console.log(data);
var html = '';
if(data.data.length > 0)
{
for(var count = 0; count < data.data.length; count++)
{
html += `
<tr>
<td>`+data.data[count].name+`</td>
</tr>
`;
}
}
$('tbody').html(html);
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
console.log("confirmedall inside AJAX function: Err");
alert("Status: " + textStatus); alert("Error: " + errorThrown);
}
});
}
});
</script>
<!--script for fetching confirmed events from db ends-->
</body>
</html>