forked from sanger-archive/label_printer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (45 loc) · 1.32 KB
/
index.html
File metadata and controls
51 lines (45 loc) · 1.32 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Print text on labels</title>
<link rel='stylesheet' type='text/css' href = 'style.css'></>
<script src="lib/jquery.js"></script>
<script src ="src/Helpers.js"></script>
<script src ="src/HandleErrors.js"></script>
<script src ="src/PrepareForm.js"></script>
<script src ="src/PrintJob.js"></script>
<script src ="app.js"></script>
</head>
<body>
<form >
<div class='result'></div>
<div>
<label for="txt">Text:</label>
<input type="text" id="text" name="text" required />
</div>
<div>
<label for="from">from:</label>
<input type="number" id="from" name="from" />
</div>
<div>
<label for="to">to:</label>
<input type="number" id="to" name="to" />
</div>
<div>
<label for="printers">Labels for:</label>
<select name="type" id="type">
<option value="plate">plates</option>
<option value="tube">tubes</option>
</select>
</div>
<div>
<label for="printer_name">Printer:</label>
<select name="printer_name" id="printer_name"></select>
</div>
<div class="button">
<button id="print" type="submit">Print!</button>
</div>
</form>
</body>
</html>