-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
46 lines (46 loc) · 2.17 KB
/
popup.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
<!doctype html>
<html>
<head>
<title>Ticket Reserver</title>
<link rel="stylesheet" href="styles.css">
<script type="text/javascript" src="scripts/chrome-extension-async.js" defer></script>
<script type="text/javascript" src="scripts/reserver.js" defer></script>
</head>
<body>
<div id="container">
<div>
<h1>Ticket Reserver</h1>
</div>
<div>
<p>All inputs are optional. By default one of the first available item is reserved (or one of every item if there are no limits).</p>
</div>
<div class="tooltip">
<label for="amount">Amount of tickets:</label>
<input type="number" id="amount" name="amount" value="" min="1">
<div class="tooltiptext">Enter the number of tickets you want to reserve.</div>
</div>
<div class="tooltip">
<label for="type">Product type:</label>
<input type="number" id="type" name="type" value="" min="0">
<div class="tooltiptext">Specify the product type index (0-n) from top to bottom.</div>
</div>
<div class="tooltip">
<label for="price">Price:</label>
<input type="number" id="price" name="price" value="" min="0">
<div class="tooltiptext">Enter the price of the ticket in cents.</div>
</div>
<div class="tooltip">
<label for="keywords">Keywords:</label>
<input type="text" id="keywordsInput" name="keywords">
<div class="tooltiptext">Keywords are required (red) by default. You can change the keyword to alternative (yellow) by clicking it. Alternative keywords need to be adjacent to each other.</div>
<button type="button" id="addKeywordButton">Add</button>
</div>
<div id="keywordContainer">
<!-- Keywords will be added here dynamically -->
</div>
<div id="buttonContainer">
<button type="button" id="reserveButton">Reserve!</button>
</div>
</div>
</body>
</html>