-
Notifications
You must be signed in to change notification settings - Fork 1
/
student_profile.html
72 lines (67 loc) · 3.08 KB
/
student_profile.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
{%load static%}
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link rel="stylesheet" href="{%static 'style.css'%}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Patua+One&display=swap" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark" style="font-family: 'Patua One', cursive; background-color:purple;font-size:2.5em;">
<h1 style="font-family: 'Patua One', cursive;color:white;padding:1%" class="brand">Switch Learning</h1>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
</ul>
<form class="form-inline my-2 my-lg-0">
<a href="{%url 'institution_logout'%}"><button type="button" class="btn btn-danger" name="button">Logout</button></a>
</form>
</div>
</nav>
<div class="container-sm">
<div class="jumbotron top">
<div class="image">
<img src="https://i.pinimg.com/236x/07/33/ba/0733ba760b29378474dea0fdbcb97107.jpg" alt="">
</div>
<br>
<h2 class="center text">Hello, I'm {{student.student_first_name}} {{student.student_last_name}} !</h2>
<br>
<br>
<h5>My student ID: {{student.student_id}}</h5>
<h5>My wallet ID: {{student.wallet_id}}</h5>
<p class="small">(Share your student id with institutes so that they can send you your files!)</p>
<p class="lead text">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<hr class="my-4">
</div>
<h5>My records:</h5>
<div class="jumbotron second">
<div class="jumbotron">
<br>
{%for doc in student.document_set.all%}
<a href="{{doc.document_link}}"><h5>{{doc}} ({{doc.institution}})</h5></a>
<p class="small">Document hash: {{doc.document_hash_value}}</p>
{%empty%}
<h5>No records yet</h5>
{%endfor%}
<div id="table">
</div>
</div>
</div>
<br>
<br>
<br>
<br>
</div>
<br>
<br>
<br>
<br>
<script type="module" crossorigin src="{%static 'certificates-loader.js'%}"></script>
</body>
</html>