-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshelflife_filterpage.php
204 lines (186 loc) · 6.26 KB
/
shelflife_filterpage.php
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html>
<!-- PLACEHOLDER FILTER PAGE SET UP ONLY TO INPUT CONDITIONS -->
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<style>
.dropdown-check-list {
display: inline-block;
}
.dropdown-check-list .anchor {
position: relative;
cursor: pointer;
display: inline-block;
padding: 5px 50px 5px 10px;
border: 1px solid #ccc;
}
.dropdown-check-list .anchor:after {
position: absolute;
content: "";
border-left: 2px solid black;
border-top: 2px solid black;
padding: 5px;
right: 10px;
top: 20%;
-moz-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
-o-transform: rotate(-135deg);
-webkit-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.dropdown-check-list .anchor:active:after {
right: 8px;
top: 21%;
}
.dropdown-check-list ul.items {
padding: 2px;
display: none;
margin: 0;
border: 1px solid #ccc;
border-top: none;
}
.dropdown-check-list ul.items li {
list-style: none;
}
.dropdown-check-list.visible .anchor {
color: #0094ff;
}
.dropdown-check-list.visible .items {
display: block;
}
.center {
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body class="bg-light">
<div class="container">
<div class="py-5 text-center">
<h2>Shelf-Life Report</h2>
</div>
<form name="frmContact" class="needs-validation" method="post" action="shelflife_resultpage.php">
<table class="center" style = "width:50%;">
<tr>
<td>
<label for="store">Store:</label>
<select name="store" id="store" required>
<option value = "0"></option>
<option style="font-size:10pt;" value="3">@SHOW</option>
<option style="font-size:10pt;" value="2">HQ</option>
<option style="font-size:10pt;" value="1">Wishlist</option>
</select>
</td>
<td></td>
<td>
<label for="division">Division:</label>
<select name="division" id="division" style="max-width:90px;" required>
<option value = "0"></option>
<option style="font-size:10pt;" value="1">CHAS GROUP INC. -dba WISHLIST</option>
<option style="font-size:10pt;" value="3">MADE ON EARTH</option>
<option style="font-size:10pt;" value="2">WISHLIST</option>
</select>
</td>
<td></td>
<td>
<label for="ordertype">Order Type:</label>
<select name="ordertype" id="ordertype" required>
<option value = "temp"></option>
<option style="font-size:10pt;" value="Regular">Regular</option>
<option style="font-size:10pt;" value="Pre-Invoice">Pre-Invoice</option>
</select>
</td>
</tr>
<tr>
<td>
<br/>
</td>
</tr>
<tr>
<td>
<label for="status">Status:</label>
<select name="status" id="status" required>
<option value = "6"></option>
<option style="font-size:10pt;" value="0">Active</option>
<option style="font-size:10pt;" value="4">Picking</option>
<option style="font-size:10pt;" value="3">Shipped</option>
<option style="font-size:10pt;" value="1">Completed</option>
</select>
</td>
<td></td>
<td>
<label for="salesRep">Sales Rep:</label>
<select name="salesRep" id="salesRep" required>
<option value = "0"></option>
<option style="font-size:10pt;" value="2">In House</option>
<option style="font-size:10pt;" value="1">RICKY</option>
<option style="font-size:10pt;" value="5">LS</option>
<option style="font-size:10pt;" value="6">FG</option>
<option style="font-size:10pt;" value="7">WEB</option>
<option style="font-size:10pt;" value="8">DIEGO</option>
<option style="font-size:10pt;" value="9">TONY</option>
<option style="font-size:10pt;" value="10">WONJI</option>
<option style="font-size:10pt;" value="11">SHOW</option>
<option style="font-size:10pt;" value="14">OS</option>
<option style="font-size:10pt;" value="15">ASD8.16</option>
<option style="font-size:10pt;" value="16">JOJO</option>
<option style="font-size:10pt;" value="18">MARITZA</option>
<option style="font-size:10pt;" value="19">CHRISTINE</option>
<option style="font-size:10pt;" value="20">BRIAN</option>
<option style="font-size:10pt;" value="21">ASD3.17</option>
<option style="font-size:10pt;" value="22">CHI4.17</option>
<option style="font-size:10pt;" value="23">ATL4.17</option>
<option style="font-size:10pt;" value="24">SANDRA</option>
<option style="font-size:10pt;" value="25">ATL6.17</option>
</select>
</td>
<td></td>
<td>
<label for="date">Start-Date:</label>
<select name="date" id="date" style="max-width:100px;" required>
<option style="font-size:10pt;" value="1">Inventory Received</option>
<option style="font-size:10pt;" value="0">Style Created</option>
</select>
</td>
</tr>
<tr>
<td>
<br/>
</td>
</tr>
<tr>
<td>
<div id="list1" class="dropdown-check-list" tabindex="100">
<span class="anchor">Year/Season</span>
<ul class="items">
<li><input type="checkbox" name="year0" id="year0" />2016 ALL</li>
<li><input type="checkbox" name="year1" id="year1" />2017 ALL</li>
<li><input type="checkbox" name="season0" id="season0" />2016 WINTER</li>
<li><input type="checkbox" name="season1" id="season1" />2016 SPRING</li>
<li><input type="checkbox" name="season2" id="season2" />2016 SUMMER</li>
<li><input type="checkbox" name="season3" id="season3" />2016 FALL</li>
<li><input type="checkbox" name="season4" id="season4" />2017 WINTER</li>
<li><input type="checkbox" name="season5" id="season5" />2017 SPRING</li>
<li><input type="checkbox" name="season6" id="season6" />2017 SUMMER</li>
<li><input type="checkbox" name="season7" id="season7" />2017 FALL</li>
</ul>
</div>
</td>
<td colspan = 3></td>
<td style="vertical-align: sub;"><input type="submit" ></td>
</tr>
</table>
</form>
</div>
<script>
var checkList = document.getElementById('list1');
checkList.getElementsByClassName('anchor')[0].onclick = function(evt) {
if (checkList.classList.contains('visible'))
checkList.classList.remove('visible');
else
checkList.classList.add('visible');
}
</script>
</body>
</html>