| Line 10... |
Line 10... |
| 10 |
</div>
|
10 |
</div>
|
| 11 |
|
11 |
|
| 12 |
<div class="row">
|
12 |
<div class="row">
|
| 13 |
<div class="col-lg-12">
|
13 |
<div class="col-lg-12">
|
| 14 |
<div class="panel panel-default">
|
14 |
<div class="panel panel-default">
|
| 15 |
<div class="panel-body" style="display:flex;align-items:center;gap:15px;flex-wrap:wrap;">
|
- |
|
| 16 |
<label style="margin:0;">Brand</label>
|
15 |
<div class="panel-heading">Add Model
|
| 17 |
<select id="hot-deal-brand" class="form-control" style="width:220px;display:inline-block;">
|
- |
|
| 18 |
<option value="">-- Select brand --</option>
|
- |
|
| 19 |
#foreach($brand in $brands)
|
- |
|
| 20 |
<option value="$brand.getId()">$brand.getName()</option>
|
- |
|
| 21 |
#end
|
- |
|
| 22 |
</select>
|
- |
|
| 23 |
<span id="hot-deal-slots" class="label label-default" style="font-size:13px;"></span>
|
16 |
<span id="hot-deal-slots" class="label label-default" style="font-size:12px;margin-left:10px;"></span>
|
| 24 |
</div>
|
17 |
</div>
|
| - |
|
18 |
<div class="panel-body" style="display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;">
|
| 25 |
</div>
|
19 |
<div class="form-group" style="margin:0;">
|
| 26 |
</div>
|
20 |
<label>Brand</label>
|
| 27 |
</div>
|
- |
|
| 28 |
|
- |
|
| 29 |
<div class="row" id="hot-deal-add-panel" style="display:none;">
|
21 |
<select id="hot-deal-brand" class="form-control" style="width:180px;">
|
| - |
|
22 |
<option value="">-- Select brand --</option>
|
| - |
|
23 |
#foreach($brand in $brands)
|
| - |
|
24 |
<option value="$brand.getId()">$brand.getName()</option>
|
| 30 |
<div class="col-lg-12">
|
25 |
#end
|
| 31 |
<div class="panel panel-default">
|
26 |
</select>
|
| 32 |
<div class="panel-heading">Add Model</div>
|
27 |
</div>
|
| 33 |
<div class="panel-body" style="display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;">
|
- |
|
| 34 |
<div class="form-group" style="flex:1;min-width:260px;margin:0;">
|
28 |
<div class="form-group" style="flex:1;min-width:240px;margin:0;">
|
| 35 |
<label>Model</label>
|
29 |
<label>Model</label>
|
| 36 |
<input type="text" id="hot-deal-model-search" class="form-control"
|
30 |
<input type="text" id="hot-deal-model-search" class="form-control" disabled
|
| 37 |
autocomplete="off" placeholder="Type 2+ letters to search models..." />
|
31 |
autocomplete="off" placeholder="Select a brand first..." />
|
| 38 |
</div>
|
32 |
</div>
|
| 39 |
<div class="form-group" style="margin:0;">
|
33 |
<div class="form-group" style="margin:0;">
|
| 40 |
<label>Start Date</label>
|
34 |
<label>Start Date</label>
|
| 41 |
<input type="date" id="hot-deal-start-date" class="form-control" />
|
35 |
<input type="date" id="hot-deal-start-date" class="form-control" />
|
| 42 |
</div>
|
36 |
</div>
|
| 43 |
<div class="form-group" style="margin:0;">
|
37 |
<div class="form-group" style="margin:0;">
|
| 44 |
<label>End Date</label>
|
38 |
<label>End Date</label>
|
| 45 |
<input type="date" id="hot-deal-end-date" class="form-control" />
|
39 |
<input type="date" id="hot-deal-end-date" class="form-control" />
|
| 46 |
</div>
|
40 |
</div>
|
| 47 |
<div class="form-group" style="margin:0;width:110px;">
|
41 |
<div class="form-group" style="margin:0;width:100px;">
|
| 48 |
<label>Warranty (months)</label>
|
42 |
<label>Warranty (mo)</label>
|
| 49 |
<input type="number" id="hot-deal-warranty" class="form-control" min="0" max="12" placeholder="0-12" />
|
43 |
<input type="number" id="hot-deal-warranty" class="form-control" min="0" max="12" placeholder="0-12" />
|
| 50 |
</div>
|
44 |
</div>
|
| 51 |
<div class="form-group" style="margin:0;">
|
45 |
<div class="form-group" style="margin:0;">
|
| 52 |
<label>Condition</label>
|
46 |
<label>Condition</label>
|
| 53 |
<select id="hot-deal-condition" class="form-control">
|
47 |
<select id="hot-deal-condition" class="form-control">
|
| Line 89... |
Line 83... |
| 89 |
</div>
|
83 |
</div>
|
| 90 |
</div>
|
84 |
</div>
|
| 91 |
</div>
|
85 |
</div>
|
| 92 |
|
86 |
|
| 93 |
<div class="row">
|
87 |
<div class="row">
|
| - |
|
88 |
<div class="col-lg-12">
|
| - |
|
89 |
<div class="panel panel-default">
|
| - |
|
90 |
<div class="panel-heading" style="display:flex;align-items:center;justify-content:space-between;">
|
| - |
|
91 |
<span>All Hot Deal Models</span>
|
| - |
|
92 |
<input type="text" id="hot-deal-table-search" class="form-control input-sm"
|
| - |
|
93 |
style="width:260px;" placeholder="Search model or brand..." />
|
| - |
|
94 |
</div>
|
| 94 |
<div class="col-lg-12" id="hot-deals-table-container"></div>
|
95 |
<div id="hot-deals-table-container"></div>
|
| - |
|
96 |
</div>
|
| - |
|
97 |
</div>
|
| 95 |
</div>
|
98 |
</div>
|
| 96 |
</section>
|
99 |
</section>
|