-
Notifications
You must be signed in to change notification settings - Fork 13
/
Student dashboard.html
201 lines (196 loc) · 6.27 KB
/
Student 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
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
!<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Attendance Dashboard | By Code Info</title>
<link rel="stylesheet" href="style.css" />
<!-- Font Awesome Cdn Link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"/>
</head>
<body>
<div class="container">
<nav>
<ul>
<li><a href="#" class="logo">
<img src="male.jpg">
<span class="nav-item">Admin</span>
</a></li>
<li><a href="#">
<i class="fas fa-menorah"></i>
<span class="nav-item">Dashboard</span>
</a></li>
<li><a href="#">
<i class="fas fa-comment"></i>
<span class="nav-item">Message</span>
</a></li>
<li><a href="#">
<i class="fas fa-database"></i>
<span class="nav-item">Report</span>
</a></li>
<li><a href="#">
<i class="fas fa-chart-bar"></i>
<span class="nav-item">Attendance</span>
</a></li>
<li><a href="#">
<i class="fas fa-cog"></i>
<span class="nav-item">Setting</span>
</a></li>
<li><a href="#" class="logout">
<i class="fas fa-sign-out-alt"></i>
<span class="nav-item">Log out</span>
</a></li>
</ul>
</nav>
<!-- <section class="main">
<div class="main-top">
<h1>Attendance</h1>
<i class="fas fa-user-cog"></i>
</div>
<div class="users">
<div class="card">
<img src="male.jpg">
<h4>Sam David</h4>
<p>Ui designer</p>
<div class="per">
<table>
<tr>
<td><span>85%</span></td>
<td><span>87%</span></td>
</tr>
<tr>
<td>Month</td>
<td>Year</td>
</tr>
</table>
</div>
<button>Profile</button>
</div>
<div class="card">
<img src="user-icon-female-person-symbol-profile-avatar-sign-vector-18991898.jpg">
<h4>Balbina kherr</h4>
<p>Progammer</p>
<div class="per">
<table>
<tr>
<td><span>82%</span></td>
<td><span>85%</span></td>
</tr>
<tr>
<td>Month</td>
<td>Year</td>
</tr>
</table>
</div>
<button>Profile</button>
</div>
<div class="card">
<img src="male.jpg">
<h4>Badan John</h4>
<p>tester</p>
<div class="per">
<table>
<tr>
<td><span>94%</span></td>
<td><span>92%</span></td>
</tr>
<tr>
<td>Month</td>
<td>Year</td>
</tr>
</table>
</div>
<button>Profile</button>
</div>
<div class="card">
<img src="male.jpg">
<h4>Salina micheal</h4>
<p>Ui designer</p>
<div class="per">
<table>
<tr>
<td><span>85%</span></td>
<td><span>82%</span></td>
</tr>
<tr>
<td>Month</td>
<td>Year</td>
</tr>
</table>
</div>
<button>Profile</button>
</div> -->
</div>
{% extends 'base.html' %}
{% block head %}
<title>Student's Dashboard</title>
{% endblock %}
{% block body %}
<body class="shopping-cart sidebar-collapse">
<nav class="navbar navbar-color-on-scroll navbar-transparent fixed-top navbar-expand-lg " color-on-scroll="100" id="sectionsNav">
<div class="container">
<div class="navbar-translate">
<div class="navbar-brand">
Attendance Management
</div>
</div>
<form action="/logout" method="GET">
<button type="submit" class="btn btn-danger btn-raised btn-lg">Log Out</button>
</form>
</div>
</nav>
<div class="page-header header-filter header-small" data-parallax="true" style="background-image: url('../static/img/desk_chair.jpg');">
<div class="container">
<div class="row">
<div class="col-md-8 ml-auto mr-auto text-center">
<h2 class="title">{{student_details.name}}'s Dashboard</h2>
</div>
</div>
</div>
</div>
<div class="main main-raised">
<div class="container">
<div class="card card-plain">
<div class="card-body">
<h3 class="card-title">{{ div_details.year }} {{ div_details.sem }} {{ division }} {{ student_details.roll_no }}</h3>
<br />
<div class="table-responsive">
<table class="table table-shopping table-striped">
<thead>
<tr>
<th>Subject</th>
<th class="text-center">Teacher</th>
<th class="text-center">Lectures Attended</th>
<th class="text-center">Lectures Conducted</th>
<th class="text-center">Percentage</th>
</tr>
</thead>
<tbody>
{% for teacher_email in div_details['teacher_email']: %}
<tr>
<td class="td-name">
{{ attendance[teacher_email][0] }}
</td>
<td class="td-number text-center">
{{ attendance[teacher_email][1] }}
</td>
<td class="td-number text-center">
{{ attendance[teacher_email][2] }}
</td>
<td class="td-number text-center">
{{ attendance[teacher_email][3] }}
</td>
<td class="td-number text-center">
{{ attendance[teacher_email][4] }} %
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
</body>
</html>