-
Notifications
You must be signed in to change notification settings - Fork 1
/
booklet.html
47 lines (47 loc) · 2.31 KB
/
booklet.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title data-l10n-id="extensionName">Coupon Booklet</title>
<link rel="stylesheet" href="style.css">
<script src="l10n.js"></script>
<script src="booklet.js"></script>
</head>
<body>
<header>
<h1 data-l10n-id="extensionName">Coupon Booklet</h1>
<button accesskey="A" class="browser-style" title="Add a new coupon" id="add" data-l10n-id="add" data-l10n-attrs="title">Add</button>
</header>
<main>
<ul>
</ul>
</main>
<section id="addcoupon" hidden>
<form>
<p class="browser-style">
<label for="code" data-l10n-id="code">Code</label>
<input type="text" required id="code" placeholder="freeStuff1" data-l10n-id="codeInput" data-l10n-attrs="placeholder" data-l10n-nocontent>
</p>
<section class="browser-style">
<div class="space-between">
<label for="website" data-l10n-id="website">Website</label>
<button id="useCurrent" class="browser-style" data-l10n-id="use-current">From current tab</button>
</div>
<input type="url" required id="website" placeholder="https://example.com">
</section>
<p class="browser-style">
<label for="expiryDate" data-l10n-id="validLabel">Valid through (optional)</label>
<input type="date" id="expiryDate">
</p>
<p class="browser-style">
<label for="notes" data-l10n-id="note">Notes (optional)</label>
<textarea id="notes" class="browser-style" placeholder="Only one item, basket value of at least $30 etc." data-l10n-attrs="placeholder" data-l10n-id="noteArea" data-l10n-nocontent></textarea>
</p>
<p class="space-between">
<button type="button" class="browser-style" title="Back to coupons list" id="back" data-l10n-id="back" data-l10n-attrs="title">Back</button>
<button class="browser-style default" data-l10n-id="add">Add</button>
</p>
</form>
</section>
</body>
</html>