Blame | Last modification | View Log | RSS feed
<section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="fa fa-fire"></i> Hot Deals</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="fa fa-fire"></i>Hot Deals</li></ol></div></div><div class="row"><div class="col-lg-12"><div class="panel panel-default"><div class="panel-body" style="display:flex;align-items:center;gap:15px;flex-wrap:wrap;"><label style="margin:0;">Brand</label><select id="hot-deal-brand" class="form-control" style="width:220px;display:inline-block;"><option value="">-- Select brand --</option>#foreach($brand in $brands)<option value="$brand.getId()">$brand.getName()</option>#end</select><span id="hot-deal-slots" class="label label-default" style="font-size:13px;"></span></div></div></div></div><div class="row" id="hot-deal-add-panel" style="display:none;"><div class="col-lg-12"><div class="panel panel-default"><div class="panel-heading">Add Model</div><div class="panel-body" style="display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap;"><div class="form-group" style="flex:1;min-width:260px;margin:0;"><label>Model</label><input type="text" id="hot-deal-model-search" class="form-control"autocomplete="off" placeholder="Type 2+ letters to search models..." /></div><div class="form-group" style="margin:0;"><label>Start Date</label><input type="date" id="hot-deal-start-date" class="form-control" /></div><div class="form-group" style="margin:0;"><label>End Date</label><input type="date" id="hot-deal-end-date" class="form-control" /></div><button class="btn btn-primary add-hot-deal" type="button">Add Hot Deal</button></div><div class="panel-footer text-danger" id="hot-deal-cap-notice" style="display:none;">This brand already has the maximum of $maxDeals active hot deals. Remove one or let one expire to add more.</div></div></div></div><div class="row"><div class="col-lg-12" id="hot-deals-table-container"></div></div></section>