-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (59 loc) · 2.38 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eventoria Certificate Generator</title>
<style>
.required:after {
content:" *";
color: red;
}
</style>
</head>
<body>
<h1>Eventoria Certificate Generator</h1>
<div>
<label class="required" for="fname">First Name:</label>
<input type="text" name="fName" id="fname" required />
<br /><br />
<label class="required" for="lname">Last Name:</label>
<input type="text" name="lName" id="lname" required />
<br /><br />
<label class="required" for="certtype">Select Certificate Type:</label>
<select name="certtype" id="certtype">
<option value="Participation">Participation</option>
<option value="Winner">Winner</option>
</select>
<br /><br />
<label class="required" for="ename">Event Name:</label>
<input type="text" name="ename" id="ename" required />
<br /><br />
<label class="required" for="oname">Name of the Organization:</label>
<input type="text" name="oname" id="oname" required />
<br /><br />
<label class="required" for="edate">Event date:</label>
<input type="date" name="edate" id="edate" required />
<br /><br />
<label class="required" for="hname">Name of the Event Host:</label>
<input type="text" name="hname" id="hname" required />
<br /><br />
<label class="required" for="hpos">Position of the Event Host:</label>
<input type="text" name="hpos" id="hpos" required />
<br /><br />
<label class="required" for="ologo">Logo of the Organization:</label>
<input type="file" name="ologo" accept=".png, .jpg, .jpeg" id="ologo" required />
<br /><br />
<label class="required" for="hsign">Sign of the Host:</label>
<input type="file" name="hsign" accept=".png, .jpg, .jpeg" id="hsign" required />
<br />
<p><strong>Note:</strong> All fields marked with <span style="color: red;">*</span> are required.</p>
<input type="submit" id="submit" value="Get Certificate"/>
</div>
<script src="https://unpkg.com/pdf-lib/dist/pdf-lib.min.js"></script>
<script src="https://unpkg.com/@pdf-lib/fontkit"></script>
<script src="filesaver.js"></script>
<script src="app.js"></script>
<p>View Source Code on <a href="https://github.com/Aashrut/Certificate-Generator" target="_blank">GitHub</a></p>
</body>
</html>