-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (113 loc) · 6.68 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="zigLogo.png" rel="icon">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="bootstrap-5.3.2-dist/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Charm' rel='stylesheet'>
<link href="https://fonts.cdnfonts.com/css/liberation-mono" rel="stylesheet">
<link href="https://fonts.cdnfonts.com/css/century-gothic" rel="stylesheet">
<link href="main.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="bootstrap-5.3.2-dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="vendor/jspdf/jspdf.umd.min.js"></script>
<title>ZIG CERTIFICATE</title>
<script type="module" src="api.js"></script>
</head>
<body>
<main class="container-fluid">
<div class="certDetails row justify-content-center mt-5">
<div class="card">
<div class="card-header">
<h2 class="h3 pt-2 text-center">Zimbabwe Institute of Geomatics <br> CERTIFICATE GENERATOR</h2>
</div>
<div class="card-body">
<nav class="nav nav-pills flex-column flex-row justify-content-center">
<a class="flex-sm-fill text-sm-center nav-link" aria-current="page" href="#">
<div class="input-group mb-3">
<span class="input-group-text" id="inputGroup-sizing-default">NAME</span>
<input id="memberName" type="text" class="form-control"
aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default">
</div>
</a>
<a class="flex-sm-fill text-sm-center nav-link" href="#">
<div class="input-group mb-3">
<span class="input-group-text" id="inputGroup-sizing-default">CATEGORY</span>
<input id="membershipCategory" type="text" class="form-control" list="categories"
aria-label="Sizing example input"
aria-describedby="inputGroup-sizing-default">
<datalist id="categories">
<option>TECHNOLOGIST</option>
<option>PROFESSIONAL</option>
<option>TECHNICAL</option>
<option>STUDENT</option>
<option>FELLOW</option>
<option>GRADUATE</option>
<option>RETIRED</option>
<option>AFFILIATE</option>
<option>HONORARY</option>
<option>COMPANY</option>
</datalist>
</div>
</a>
<a class="flex-sm-fill text-sm-center nav-link" href="#">
<div class="input-group mb-3">
<span class="input-group-text" id="inputGroup-sizing-default">MEMBERSHIP ID</span>
<input id="membershipID" type="number" class="form-control"
aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default">
</div>
</a>
<div class=" btn-group" role="group" aria-label="Basic outlined example">
<a href="#" id="download-btn-png" type="button" class="btn btn-outline-primary"
data-bs-toggle="modal" data-bs-target="#allPurpose">PNG <i
class="fa-regular fa-file-image"></i></a>
<a href="#" id="download-btn-pdf" type="button" class="btn btn-outline-success"
class="btn btn-outline-primary" data-bs-toggle="modal" data-bs-target="#allPurpose">PDF
<i class="fa-regular fa-file-pdf"></i></a>
</div>
</nav>
</div>
</div>
</div>
<div class="certPrev p-3">
<div class="img-fluid">
<canvas id="canvas" width="1667.5px" height="1182px"></canvas>
</div>
</div>
<!--Modal Instructions-->
<div class="modal fade" id="allPurpose" tabindex="-1" aria-labelledby="allPurposeLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="allPurposeLabel">Modal Title change</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="modalContent">
Modal intechangeble content
</div>
<div class="modal-footer">
<button type="button" id="btnClose" class="btn btn-secondary"
data-bs-dismiss="modal">Close</button>
<a href="#" id="multiPurposeBtn" class="btn btn-primary">OK</a>
</div>
</div>
</div>
</div>
</main>
<div class="container">
<footer class="pb-3 fixed-bottom text-center">
<img src="zigLogo.png" width="50" height="50" class="img-fluid" alt="ZIG"> Rights Reserved | Powered by <a
href="allankayz.co.zw"><img src="AKLogo.ico" width="20" height="20" class="img-fluid" alt="AK"></a>
</footer>
</div>
</body>
</html>