-
Notifications
You must be signed in to change notification settings - Fork 3
/
generateCertificate.html
98 lines (91 loc) · 2.97 KB
/
generateCertificate.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
href="https://fonts.googleapis.com/css2?family=Futura|Merriweather&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" type="text/css" href="./styles/style.css" />
<title>Generate Certificate</title>
</head>
<body>
<header id="header">
<a href="index.html" class="logo"
><img src="./img/logo.png" alt="logo"
/></a>
<div class="header-right">
<button onclick="connectToMetaMask()" class="connectbtn">
Connect Wallet
</button>
</div>
</header>
<form action="" class="entry-form">
<h1 id="title">Certificate Entry Form</h1>
<div class="form-group">
<label for="candidateName">Candidate Name</label>
<input
type="text"
class="form-control"
name="candidateName"
id="candidateName"
placeholder="Full Name"
required
/>
</div>
<div class="form-group">
<label for="courseName">Select Course</label>
<select class="form-control" name="courseName" id="courseName">
<option disabled selected>Choose your completed course</option>
<option>Certified Blockchain Developer Ethereum (CBDE)</option>
<option>Certified Blockchain Solution Associate (CBSA)</option>
<option>Certified Blockchain Business Foundations (CBBF)</option>
<option>
Certified Blockchain Developer Hyperledger Fabric (CBDH)
</option>
<option>Certified Blockchain Developer Corda (CBDC)</option>
<option>Certified Blockchain Security Professional (CBSP)</option>
</select>
</div>
<div class="form-group">
<label for="certificateID">Certificate ID</label>
<input
type="text"
class="form-control"
name="certificateID"
id="certificateID"
placeholder="Certificate ID"
required
/>
</div>
<div class="form-group">
<label for="grade">Select Grade</label>
<select class="form-control" id="grade" name="grade" id="grade">
<option>A</option>
<option>B</option>
<option>C</option>
<option>D</option>
<option>E</option>
</select>
</div>
<div class="form-group">
<label for="date">Issue Date</label>
<input type="date" id="date" name="date" required />
</div>
<div>
<button
onclick="generateCertificate()"
class="btn btn-info"
type="submit"
>
Generate Certificate
</button>
</div>
</form>
<script src="./scripts/app.js"></script>
<script src="./scripts/web3.min.js"></script>
<script src="./scripts/jquery.min.js"></script>
</body>
</html>