| 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-heading">Add Model
|
15 |
<div class="panel-heading">Set Attributes</div>
|
| 16 |
<span id="hot-deal-slots" class="label label-default" style="font-size:12px;margin-left:10px;"></span>
|
- |
|
| 17 |
</div>
|
- |
|
| 18 |
<div class="panel-body" style="display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;">
|
16 |
<div class="panel-body" style="display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;">
|
| 19 |
<div class="form-group" style="margin:0;">
|
- |
|
| 20 |
<label>Brand</label>
|
- |
|
| 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>
|
- |
|
| 25 |
#end
|
- |
|
| 26 |
</select>
|
- |
|
| 27 |
</div>
|
- |
|
| 28 |
<div class="form-group" style="flex:1;min-width:240px;margin:0;">
|
17 |
<div class="form-group" style="flex:1;min-width:280px;margin:0;">
|
| 29 |
<label>Model</label>
|
18 |
<label>Model</label>
|
| 30 |
<input type="text" id="hot-deal-model-search" class="form-control" disabled
|
19 |
<input type="text" id="hot-deal-model-search" class="form-control"
|
| 31 |
autocomplete="off" placeholder="Select a brand first..." />
|
20 |
autocomplete="off" placeholder="Type to search Hot Deal models..." />
|
| 32 |
</div>
|
21 |
</div>
|
| 33 |
<div class="form-group" style="margin:0;">
|
22 |
<div class="form-group" style="flex:1;min-width:240px;margin:0;">
|
| 34 |
<label>Start Date</label>
|
23 |
<label>OEM Model <small class="text-muted">(optional)</small></label>
|
| 35 |
<input type="date" id="hot-deal-start-date" class="form-control" />
|
24 |
<input type="text" id="hot-deal-oem-search" class="form-control" disabled
|
| 36 |
</div>
|
- |
|
| 37 |
<div class="form-group" style="margin:0;">
|
- |
|
| 38 |
<label>End Date</label>
|
- |
|
| 39 |
<input type="date" id="hot-deal-end-date" class="form-control" />
|
25 |
autocomplete="off" placeholder="Pick a Hot Deal model first..." />
|
| 40 |
</div>
|
26 |
</div>
|
| 41 |
<div class="form-group" style="margin:0;width:100px;">
|
27 |
<div class="form-group" style="margin:0;width:100px;">
|
| 42 |
<label>Warranty (mo)</label>
|
28 |
<label>Warranty (mo)</label>
|
| 43 |
<input type="number" id="hot-deal-warranty" class="form-control" min="0" max="12" placeholder="0-12" />
|
29 |
<input type="number" id="hot-deal-warranty" class="form-control" min="0" max="12" placeholder="0-12" />
|
| 44 |
</div>
|
30 |
</div>
|
| Line 73... |
Line 59... |
| 73 |
<option value="">--</option>
|
59 |
<option value="">--</option>
|
| 74 |
<option value="true">Yes</option>
|
60 |
<option value="true">Yes</option>
|
| 75 |
<option value="false">No</option>
|
61 |
<option value="false">No</option>
|
| 76 |
</select>
|
62 |
</select>
|
| 77 |
</div>
|
63 |
</div>
|
| 78 |
<button class="btn btn-primary add-hot-deal" type="button">Add Hot Deal</button>
|
64 |
<button class="btn btn-primary add-hot-deal" type="button">Save Attributes</button>
|
| 79 |
</div>
|
- |
|
| 80 |
<div class="panel-footer text-danger" id="hot-deal-cap-notice" style="display:none;">
|
- |
|
| 81 |
This brand already has the maximum of $maxDeals active hot deals. Remove one or let one expire to add more.
|
- |
|
| 82 |
</div>
|
65 |
</div>
|
| 83 |
</div>
|
66 |
</div>
|
| 84 |
</div>
|
67 |
</div>
|
| 85 |
</div>
|
68 |
</div>
|
| 86 |
|
69 |
|
| Line 89... |
Line 72... |
| 89 |
<div class="panel panel-default">
|
72 |
<div class="panel panel-default">
|
| 90 |
<div class="panel-heading" style="display:flex;align-items:center;justify-content:space-between;">
|
73 |
<div class="panel-heading" style="display:flex;align-items:center;justify-content:space-between;">
|
| 91 |
<span>All Hot Deal Models</span>
|
74 |
<span>All Hot Deal Models</span>
|
| 92 |
<span style="display:flex;align-items:center;gap:10px;">
|
75 |
<span style="display:flex;align-items:center;gap:10px;">
|
| 93 |
<input type="text" id="hot-deal-table-search" class="form-control input-sm"
|
76 |
<input type="text" id="hot-deal-table-search" class="form-control input-sm"
|
| 94 |
style="width:260px;" placeholder="Search model or brand..." />
|
77 |
style="width:260px;" placeholder="Search model or original brand..." />
|
| 95 |
<button class="btn btn-warning btn-sm push-solr" type="button" disabled>
|
78 |
<button class="btn btn-warning btn-sm push-solr" type="button" disabled>
|
| 96 |
<i class="fa fa-cloud-upload"></i> Push to Solr
|
79 |
<i class="fa fa-cloud-upload"></i> Push to Solr
|
| 97 |
</button>
|
80 |
</button>
|
| 98 |
</span>
|
81 |
</span>
|
| 99 |
</div>
|
82 |
</div>
|