-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
139 lines (108 loc) · 4.18 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NQKJ9TZW');</script>
<!-- End Google Tag Manager -->
<title>LumenPnP Config Tool</title>
<script src="script.js" type="module"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NQKJ9TZW"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="output"></div>
<div id="background-pane">
<div id="menu">
<h1>LumenPnP Config Tool</h1>
<p>Enter the number of unique parts your job requires for each tape width. Optionally, select how many of these are priority to be automated (parts with many instances per board).</p>
<br >
<div class="row">
<div class="col-left">
<h3>8mm Tape Total</h3>
<input type="number" value="0" id="8qty"><br>
</div>
<div class="col-right">
<h3>8mm Priority</h3>
<input type="range" min="0" max="0" value="0" class="slider" id="8qtyPriority">
<div class="prioOut" id="prio8out"></div>
</div>
</div>
<br>
<div class="row">
<div class="col-left">
<h3>12mm Tape Total</h3>
<input type="number" value="0" id="12qty"><br>
</div>
<div class="col-right">
<h3>12mm Priority</h3>
<input type="range" min="0" max="0" value="0" class="slider" id="12qtyPriority">
<div class="prioOut" id="prio12out"></div>
</div>
</div>
<br >
<div class="row">
<div class="col-left">
<h3>16mm Tape Total</h3>
<input type="number" value="0" id="16qty"><br>
</div>
<div class="col-right">
<h3>16mm Priority</h3>
<input type="range" min="0" max="0" value="0" class="slider" id="16qtyPriority">
<div class="prioOut" id="prio16out"></div>
</div>
</div>
<br >
<div class="row">
<div class="col-left">
<h3>24mm Tape Total</h3>
<input type="number" value="0" id="24qty"><br>
</div>
<div class="col-right">
<h3>24mm Priority</h3>
<input type="range" min="0" max="0" value="0" class="slider" id="24qtyPriority">
<div class="prioOut" id="prio24out"></div>
</div>
</div>
<br>
<div class="row">
<div class="col-left">
<h3>32mm Tape Total</h3>
<input type="number" value="0" id="32qty"><br>
</div>
<div class="col-right">
<h3>32mm Priority</h3>
<input type="range" min="0" max="0" value="0" class="slider" id="32qtyPriority">
<div class="prioOut" id="prio32out"></div>
</div>
</div>
<br>
<div id="button-wrapper">
<button id="calculate-button" onclick="calculate();">Calculate</button>
</div>
<div id="order"></div>
</div>
</div>
<a href="https://www.opulo.io/"><div id="info">
<img style="width: 120px;" src="opulo-black-alpha.png" />
</div></a>
</div>
</body>
</html>