-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.html
175 lines (168 loc) · 9.37 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!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">
<!------------------external CSS-------------------->
<link rel="stylesheet" href="./assets/css/dashboard.css">
<!------------------Tab Icon-------------------->
<link rel="icon" href="./assets/images/cloud.png" type="image/png">
<!------------------Bootstrap-------------------->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<!------------------Font Awsome-------------------->
<script src="https://kit.fontawesome.com/0c9e474dd2.js" crossorigin="anonymous"></script>
<title>Dashboard</title>
</head>
<body>
<div class="blue-background"></div>
<div class="main">
<div class="h-100 nav-container p-3">
<aside>
<div id="close-btn" class=" d-lg-none text-end pe-3 pt-3"><i class="fa-solid fa-xmark"></i></div>
<div class=" logo text-center pt-lg-4 px-xl-4">
<img width="65%" class="py-2" src="./assets/images/cc.svg" alt="">
<hr>
</div>
<div id="link-container">
<div class="link-box active">
<a href="#" class="aside-link">
<span class="aside-icon"><i class="fa-solid fa-grip"></i></span>
<span>Dashboard</span>
</a>
</div>
<div class="link-box">
<a href="#" class="aside-link">
<span class="aside-icon"><i class="fa-solid fa-school"></i></span>
<span>Manage Schools</span>
</a>
</div>
<div class="link-box">
<a href="#" class="aside-link">
<span class="aside-icon"><i class="fa-solid fa-user-tie"></i></span>
<span>Manage Teacher</span>
</a>
</div>
<div class="link-box">
<a href="#" class="aside-link">
<span class="aside-icon"><i class="fa-solid fa-user"></i></span>
<span>Manage Rosters </span>
</a>
</div>
<div class="link-box">
<a href="#" class="aside-link">
<span class="aside-icon"><i class="fa-solid fa-clipboard-user"></i></span>
<span> Manage Classes </span>
</a>
</div>
</div>
</aside>
</div>
<div class="content-container">
<nav class="p-3 px-lg-4 d-flex justify-content-between">
<span id="toggle-btn" class="d-lg-none me-4" aria-expanded="false"><i class="fa-solid fa-bars "></i></span>
<div class="d-flex justify-content-end justify-content-md-between w-100" >
<div class="text-light fw-bold d-none d-md-inline-block">
Dashboard
</div>
<div class="d-flex align-items-center" >
<div class="add-school text-uppercase"> <i class="fa-solid fa-plus"></i> Add New School</div>
<div class="bell-icon mx-3 position-relative">
<span class="rounded-circle">1</span>
<img src="./assets/images/bell.svg" alt="">
</div>
<div id="user-dropdown" class="my-auto" aria-expanded="false">
<div class="d-flex text-white align-items-center justify-content-between" >
<div class="d-flex align-items-center" >
<span id="user-photo"><img width="30px" src="./assets/images/profile.jpg" alt=""></span>
<span id="user-name" class="d-none d-sm-block"> Vincent Williams </span>
</div>
<i class="fa-solid fa-angle-down ms-2 my-auto" style="font-size: 12px;"></i>
</div>
<div id="user-options">
<a href="#"><i class="fa-regular fa-user"></i> View Profile</a>
<a href="#"><i class="fa-solid fa-globe"></i> Visit Website</a>
<a href="#"><i class="fa-solid fa-circle-question"></i> Help Center</a>
<a href="#"><i class="fa-solid fa-arrow-right-from-bracket"></i> Sign Out</a>
</div>
</div>
</div>
</div>
</nav>
<div class="p-3">
<section class="smallbox-container">
<div class="count-box row g-4 mb-4" id="count-box">
</div>
</section>
<section class="graph-container">
<div class="row g-4 mb-4">
<div class="col-12 col-xl-6">
<div class="graphs">
<div class="heading d-flex justify-content-between">
<div>
<span>
<a class="active" href="#">Roster</a>
</span> |
<span>
<a href="#">Teachers</a>
</span>
</div>
<div id="bar-legend-box">
<button id="active"><span></span> <span></span></button>
<button id="inactive"><span></span> <span></span></button>
</div>
</div>
<div class="position-relative">
<canvas id="bar-chart" ></canvas>
</div>
</div>
</div>
<div class="col-12 col-xl-6">
<div class="graphs">
<div class="heading d-flex justify-content-between">
<div>Data Usage</div>
<select class="form-select form-select-sm" id="select-school" aria-label=".form-select-sm example" style="width: fit-content; font-size: 12px;">
</select>
</div>
<div class="position-relative">
<div>
<canvas id="pie-chart"></canvas>
</div>
</div>
</div>
</div>
</div>
</section>
<!---------------table------------------->
<section class="school-table w-100">
<div class="heading fw-bold p-1">School List</div>
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Logo</th>
<th scope="col">School Name</th>
<th scope="col">School Contact</th>
<th scope="col">School Size <i style="color: black; font-size: 10px; text-transform: capitalize;">Roster / Teacher</i></th>
<th scope="col">Data Usage</th>
<th scope="col">Status</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody >
</tbody>
</table>
</div>
</section>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://unpkg.com/chart.js-plugin-labels-dv/dist/chartjs-plugin-labels.min.js"></script>
<script src="./assets/js/dashboard.js"></script>
<script type="module" src="./assets/js/fetchData.js"></script>
</body>
</html>