-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
153 lines (130 loc) · 6.08 KB
/
dashboard.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="keywords" content="HTML,CSS,JavaScript,Software,Developer,Muhammad,Hammad,mhnaeem,gradeulator,mun,cs,Java,Python">
<meta name="author" content="Muhammad Hammad">
<title>Gradeulator Dashboard</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="./assets/css/dashboard.css" rel="stylesheet">
<script type="text/javascript" src="./assets/js/main.js"></script>
</head>
<body>
<nav class="navbar navbar-dark sticky-top bg-dark flex-md p-0">
<a class="navbar-brand col-sm-3 col-md-2 mr-0 text-uppercase text-weight-bold text-center " href="#">Gradeulator</a>
<ul class="navbar-nav px-3">
<li class="nav-item text-nowrap">
<a class="nav-link" href="#">Sign out</a>
</li>
</ul>
</nav>
<div class="container-fluid">
<div class="row">
<nav class="col-md-2 d-none d-md-block bg-light sidebar">
<div class="sidebar-sticky position-fixed">
<ul class="nav flex-column" id="mainSideBar">
<li class="nav-item">
<a class="nav-link active" href="#" onclick="selectMainSideBar(1)">
<span data-feather="home"></span>
Dashboard
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" onclick="selectMainSideBar(2)">
<span data-feather="list"></span>
Courses Completed
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" onclick="selectMainSideBar(3)">
<span data-feather="bar-chart-2"></span>
Reports
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" onclick="selectMainSideBar(4)">
<span data-feather="layers"></span>
GPA
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" onclick="selectMainSideBar(5)">
<span data-feather="users"></span>
Account Information
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" onclick="selectMainSideBar(6)">
<span data-feather="help-circle"></span>
Help
</a>
</li>
</ul>
<!-- Semesters -->
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
<span>Semesters</span>
<a class="d-flex align-items-center text-muted" href="#" onclick="stu.addSemester()">
<span data-feather="plus-circle"></span>
</a>
<a class="d-flex align-items-center text-muted" href="#" onclick="stu.removeSemester()">
<span data-feather="minus-circle"></span>
</a>
</h6>
<ul class="nav flex-column mb-2" id="semesters">
</ul>
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
<span>Courses</span>
<a class="d-flex align-items-center text-muted" href="#" onclick="currSem.addCourse()">
<span data-feather="plus-circle"></span>
</a>
<a class="d-flex align-items-center text-muted" href="#" onclick="currSem.removeCourse()">
<span data-feather="minus-circle"></span>
</a>
</h6>
<ul class="nav flex-column mb-2" id="courses">
</ul>
</div>
</nav>
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pb-2 mb-3 border-bottom">
<h1 class="h2" id="titleLabel">Dashboard</h1>
</div>
<div id="viewPanel">
<h2>Current Grades</h2>
<div class="table-responsive">
<table class="table table-striped table-sm">
<thead>
<tr>
<th>Name</th>
<th>Total Marks</th>
<th>Marks Received</th>
<th>Weightage</th>
<th>Weightage Received</th>
<th>Add/Remove</th>
</tr>
</thead>
<tbody id="gradesTable">
</tbody>
</table>
</div>
</div>
</main>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- Icons -->
<script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
<script>
feather.replace()
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js"></script>
</body>
</html>