This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (59 loc) · 2.15 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
<!DOCTYPE html>
<html>
<head>
<title>Voucher generator</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<script defer src="index.js"></script>
</head>
<body>
<h1>Voucher generator</h1>
<div id="content"></div>
<form id="voucherForm" hidden>
<fieldset>
<legend>Select vouchers to generate</legend>
<table id="products">
<thead>
<tr>
<th>Amount</th>
<th>Name</th>
<th>ID</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="number" id="amount-6" min="0" value="0"></td>
<td>Single filter</td>
<td>6</td>
</tr>
<tr>
<td><input type="number" id="amount-15" min="0" value="0"></td>
<td>Single fancy</td>
<td>15</td>
</tr>
<tr>
<td><input type="number" id="amount-7" min="0" value="0"></td>
<td>10 filter</td>
<td>7</td>
</tr>
<tr>
<td><input type="number" id="amount-14" min="0" value="0"></td>
<td>10 fancy</td>
<td>14</td>
</tr>
</tbody>
</table>
</fieldset>
<fieldset>
<legend>Additional details (required)</legend>
<label for="voucherPrefix">Voucher Prefix (3 letters):</label>
<input type="text" id="voucherPrefix" minlength="3" maxlength="3" required>
<label for="description">Description:</label>
<input type="text" id="description" required>
<label for="requester">Requester:</label>
<input type="text" id="requester" required>
</fieldset>
<input type="submit" value="Generate!">
</form>
<div id="issuedVouchers"></div>
</body>
</html>