-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQDEC.html
177 lines (164 loc) · 6.65 KB
/
QDEC.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Packing Declaration</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.4;
margin: 0;
padding: 0;
font-size: 12px;
}
.container {
max-width: 210mm;
margin: 0 auto;
padding: 10px;
box-sizing: border-box;
}
h1 {
text-align: center;
font-size: 18px;
margin-top: 0;
}
h2 {
font-size: 14px;
margin-top: 10px;
margin-bottom: 5px;
}
.input-container, .checkbox-container, .signature-container {
margin-bottom: 10px;
}
.input-container input {
width: calc(100% - 200px);
margin-left: 5px;
border: none;
border-bottom: 1px solid #000;
outline: none;
font-family: inherit;
font-size: inherit;
}
.checkbox-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.checkbox-item {
display: flex;
align-items: center;
}
.checkbox-item input {
margin-right: 5px;
}
.signature-container input {
width: calc(100% - 100px);
margin-left: 5px;
border: none;
border-bottom: 1px solid #000;
outline: none;
font-family: inherit;
font-size: inherit;
}
#printButton {
display: block;
margin: 10px auto;
padding: 5px 10px;
font-size: 14px;
cursor: pointer;
}
@media screen and (max-width: 600px) {
body {
font-size: 10px;
}
h1 {
font-size: 16px;
}
h2 {
font-size: 12px;
}
.container {
padding: 5px;
}
}
@media print {
body {
margin: 0;
padding: 0;
}
.container {
width: 210mm;
height: 297mm;
page-break-after: always;
}
#printButton {
display: none;
}
input[type="text"], input[type="date"] {
border: none;
}
input[type="checkbox"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 12px;
height: 12px;
border: 1px solid #000;
position: relative;
}
input[type="checkbox"]:checked::after {
content: '✓';
position: absolute;
top: -3px;
left: 1px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Packing Declaration</h1>
<div class="input-container">Vessel name: <input type="text" name="vessel_name"></div>
<div class="input-container">Voyage number: <input type="text" name="voyage_number"></div>
<div class="input-container">Consignment identifier or numerical link: <input type="text" name="consignment_id"></div>
<h2>UNACCEPTABLE PACKING MATERIAL STATEMENT</h2>
<p>(Packaging material such as straw peat hay chaff used fruit & vegetable cartons are not permitted)</p>
<p><strong>Q1</strong> Have unacceptable packaging materials been used as packaging or dunnage in the consignments covered by this document?</p>
<div class="checkbox-container">
<div class="checkbox-item"><input type="checkbox" id="q1-yes" name="q1" value="yes"><label for="q1-yes">YES</label></div>
<div class="checkbox-item"><input type="checkbox" id="q1-no" name="q1" value="no"><label for="q1-no">NO</label></div>
</div>
<h2>TIMBER/BAMBOO PACKAGING/DUNNAGE STATEMENT</h2>
<p>(Timber/bamboo packaging/dunnage includes: crates cases pallets skids and any other timber or bamboo used as a shipping aid)</p>
<p><strong>Q2</strong> Has timber/bamboo packaging/dunnage been used in consignments covered by this document?</p>
<div class="checkbox-container">
<div class="checkbox-item"><input type="checkbox" id="q2-timber" name="q2" value="timber"><label for="q2-timber">YES Timber</label></div>
<div class="checkbox-item"><input type="checkbox" id="q2-bamboo" name="q2" value="bamboo"><label for="q2-bamboo">YES Bamboo</label></div>
<div class="checkbox-item"><input type="checkbox" id="q2-no" name="q2" value="no"><label for="q2-no">NO (nil timber/bamboo)</label></div>
</div>
<h2>TREATMENT CERTIFICATION</h2>
<p>(ONLY IF TIMBER/BAMBOO PACKAGING/DUNNAGE IS DECLARED IN QUESTION 2)</p>
<p><strong>Q3</strong> All timber/bamboo packaging/dunnage used in the consignment has been:</p>
<div class="checkbox-container">
<div class="checkbox-item"><input type="checkbox" id="q3-ispm15" name="q3" value="ispm15"><label for="q3-ispm15">Treated and marked in compliance with ISPM 15</label></div>
<div class="checkbox-item"><input type="checkbox" id="q3-dept" name="q3" value="dept"><label for="q3-dept">Treated in compliance with Department of Agriculture Fisheries and Forestry treatment requirements (with accompanying treatment certificate)</label></div>
<div class="checkbox-item"><input type="checkbox" id="q3-not" name="q3" value="not"><label for="q3-not">Not treated</label></div>
</div>
<h2>CONTAINER CLEANLINESS STATEMENT</h2>
<p>(for FCL/X consignments only - statement to be removed from document when not relevant).</p>
<p>The container(s) covered by this document has/have been cleaned and is/are free from material of animal and/or plant origin and soil.</p>
<div class="signature-container">Signed: <input type="text" name="signature"></div>
<div class="signature-container">Printed name: <input type="text" name="printed_name"></div>
<div class="signature-container">Date of issue: <input type="date" name="date_of_issue"></div>
</div>
<button id="printButton">Print</button>
<script>
document.getElementById('printButton').addEventListener('click', function() {
this.style.display = 'none';
window.print();
this.style.display = 'block';
});
</script>
</body>
</html>