-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (99 loc) · 4.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GS1 Pallet Bay Calculator</title>
<link href="https://fonts.googleapis.com/css?family=Dosis:300,400,700,800" rel="stylesheet" />
<link href="./lib/bootstrap/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="./styles/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<header>
<div>
<h1>GS1 Pallet Bay Calculator</h1>
</div>
<div id="key-points">
<h4>a simple heuristic for calculating the number of required pallet bays for an order of trade items</h4>
<h4>useful for better planning, cost efficiency and sustainability</h4>
<h4>useful to inform your trading partners about the quantity of pallet bays via ORDERS, IFTMIN, and
DESADV</h4>
</div>
</header>
<main>
<div id="instruction">
<h2>For each order position, insert the following data:</h2>
</div>
<div class="col-md-auto">
<form id="form">
<div class="row mb-4">
<div class="col-auto">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="equipment" checked />
<label class="form-check-label" for="equipment">Double-deck equipment agreed?</label>
</div>
</div>
<div class="col-auto">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="stackable" checked />
<label class="form-check-label" for="stackable">Trade items stackable/double-deck
capable?</label>
</div>
</div>
<div class="col-auto">
<div class="form-outline">
<input type="number" id="pallet-count" class="form-control" />
<label class="form-label" for="pallet-count">Trade items per original pallet</label>
</div>
</div>
<div class="col-auto">
<div class="form-outline">
<input type="number" id="layer-count" class="form-control" />
<label class="form-label" for="layer-count">Trade items per pallet layer</label>
</div>
</div>
<div class="col-auto">
<div class="form-outline">
<input type="number" id="quantity" class="form-control" />
<label class="form-label" for="quantity">Ordered trade item quantity</label>
</div>
</div>
</div>
</form>
<div class="button-div">
<button id="add-row" class="btn btn-primary">Add order position</button>
</div>
<table class="table table-hover" id="overview-table">
<tr>
<th>Order Pos</th>
<th>Stacked</th>
<th>Trade item qty</th>
<th>Original pallets</th>
<th>Sandwich pallets</th>
<th>Mixed pallets</th>
<th>Sub-total</th>
</tr>
<tr id="sum-row">
<td>TOTAL</td>
<td></td>
<td id="sum-quantity">0</td>
<td id="sum-ori-pal">0</td>
<td id="sum-sandwich-pal">0</td>
<td id="sum-mixed-pal">0</td>
<td id="sum-total">0</td>
</tr>
</table>
<div class="button-div">
<button id="delete-data" class="btn btn-primary">Clear all data</button>
</div>
</div>
</main>
<footer>
<strong>How to contribute: </strong> If you encounter any issue or have suggestions for improvement, please open
an <a href="https://github.com/gs1-germany/palletBayCalculator/issues">ISSUE</a> or submit a <a
href="https://github.com/gs1-germany/palletBayCalculator/pulls">PULL REQUEST</a>. Many thanks in advance!
</footer>
<script src="javascript/websiteLogic.js" type="module"></script>
</body>
</html>