-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewCertificate.html
129 lines (115 loc) · 4.44 KB
/
viewCertificate.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Certificate</title>
<link rel='stylesheet' href='stylesheets/bootstrap.min.css'>
<link rel="stylesheet" href="stylesheets/viewStyle.css">
<script>
window.onload = function () {
document.getElementById("certificateID").innerHTML = "Certificate No: " + localStorage.getItem("certificateID");
document.getElementById("candidateName").innerHTML = localStorage.getItem("candidateName");
document.getElementById("courseName").innerHTML = localStorage.getItem("courseName");
document.getElementById("grade").innerHTML = localStorage.getItem("grade"); + " Grade"
document.getElementById("date").innerHTML = "Date Issued: " + localStorage.getItem("date");
};
</script>
</head>
<body>
<!-- partial:index.partial.html -->
<body>
<div class="container pm-certificate-container">
<div class="outer-border"></div>
<div class="inner-border"></div>
<div class="pm-certificate-border col-xs-12">
<div class="row pm-certificate-header">
<div class="pm-certificate-title cursive col-xs-12 text-center">
<h2>Blockchain Labs</h2>
</div>
</div>
<div class="row pm-certificate-body">
<div class="pm-certificate-block">
<div class="col-xs-12">
<div class="row">
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
<div class="pm-certificate-name underline margin-0 col-xs-8 text-center">
<span id="candidateName" class="pm-name-text bold">
Name
</span>
</div>
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
</div>
</div>
<div class="col-xs-12">
<div class="row">
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
<div class="pm-earned col-xs-8 text-center">
<span class="pm-earned-text padding-0 block cursive">has earned</span>
<span id="grade" class="pm-credits-text block bold sans">
__ Grade
</span>
</div>
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
<div class="col-xs-12"></div>
</div>
</div>
<div class="col-xs-12">
<div class="row">
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
<div class="pm-course-title col-xs-8 text-center">
<span class="pm-earned-text block cursive">while completing the training course entitled</span>
</div>
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
</div>
</div>
<div class="col-xs-12">
<div class="row">
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
<div class="pm-course-title underline col-xs-8 text-center">
<span id="courseName" class="pm-credits-text block bold sans">
courseName
</span>
</div>
<div class="col-xs-2">
<!-- LEAVE EMPTY -->
</div>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="row">
<div class="pm-certificate-footer">
<div class="col-xs-4 pm-certified col-xs-4 text-center">
<span class="pm-credits-text block sans">Place: Trivandrum</span><br />
<span class="bold block underline">(sd/-)</span>
<span class="bold block">Director</span>
</div>
<div class="col-xs-4">
<!-- LEAVE EMPTY -->
</div>
<div class="col-xs-4 pm-certified col-xs-4 text-center">
<span id="date" class="pm-credits-text block sans">Date Completed: </span>
<br /><br /><br />
<span id="certificateID" class="bold block">Certificate No#: </span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>