-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudent.html
More file actions
37 lines (28 loc) · 964 Bytes
/
student.html
File metadata and controls
37 lines (28 loc) · 964 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>{% block title %}Student Data{% endblock %} </title>
</head>
<body>{% block body %}
<h1>Student Details</h1>
<table border = "2" id = "student-details-table">
<tr>
<th>Student Id</th>
<th>Course Id</th>
<th>Marks</th>
</tr>
{% for i in range((course_id|length)) %}
<tr>
<td>{{id}}</td>
<td>{{course_id[i]}}</td>
<td>{{marks[i]}}</td>
</tr>{% endfor %}
<tr>
<td colspan = "2" style="text-align:center"> Total Marks </td>
<td>{{total}}</td>
</tr>
</table>
{% block link %} <a href="{{url_for('index')}}">Go Back</a> {% endblock link %}
{% endblock %}
</body>
</html>