| 37593 |
amit |
1 |
<style>
|
|
|
2 |
.table-striped > tbody > tr:nth-child(odd) > td{
|
|
|
3 |
background: white;
|
|
|
4 |
background-color: white;
|
|
|
5 |
}
|
|
|
6 |
.table-striped > tbody > tr:nth-child(even) > td{
|
|
|
7 |
background: white;
|
|
|
8 |
background-color:white;
|
|
|
9 |
}
|
|
|
10 |
.table-striped > tbody > tr:hover > td,
|
|
|
11 |
.table-striped > tbody > tr:hover {
|
|
|
12 |
background-color: #e98c8f;
|
|
|
13 |
color:white;
|
|
|
14 |
}
|
|
|
15 |
hr{
|
|
|
16 |
background-color:#007aff;
|
|
|
17 |
border:none;
|
|
|
18 |
height:1px;
|
|
|
19 |
background:#007aff;
|
|
|
20 |
}
|
|
|
21 |
</style>
|
|
|
22 |
<section class="wrapper">
|
|
|
23 |
<div class="row">
|
|
|
24 |
<div class="col-lg-12">
|
|
|
25 |
<h3 class="page-header"><i class="icon_genius"></i>CATALOG</h3>
|
|
|
26 |
<ol class="breadcrumb">
|
|
|
27 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
28 |
<li><i class="icon_genius"></i>Apple Stock More Than ${agedDays} Days</li>
|
|
|
29 |
</ol>
|
|
|
30 |
</div>
|
|
|
31 |
</div>
|
|
|
32 |
|
|
|
33 |
<div id="catalog-table">
|
|
|
34 |
<div class="row">
|
|
|
35 |
<div class="col-lg-12">
|
|
|
36 |
<table class="table table-striped table-advance table-hover">
|
|
|
37 |
<tbody>
|
|
|
38 |
<tr>
|
|
|
39 |
<th>Item Code</th>
|
|
|
40 |
<th>Brand</th>
|
|
|
41 |
<th>Model Name</th>
|
|
|
42 |
<th>Model Number</th>
|
|
|
43 |
<th>Color</th>
|
|
|
44 |
<th>IMEI</th>
|
|
|
45 |
<th>Stock Since</th>
|
|
|
46 |
</tr>
|
|
|
47 |
#if(!$inventoryItems.isEmpty())
|
|
|
48 |
#foreach( $inventoryItem in $inventoryItems )
|
|
|
49 |
<tr data-itemid="${inventoryItem.getItemId()}" data-imei="${inventoryItem.getSerialNumber()}">
|
|
|
50 |
<td>$inventoryItem.getItemId()</td>
|
|
|
51 |
<td>$inventoryItem.getItem().getBrand()</td>
|
|
|
52 |
<td>$inventoryItem.getItem().getModelName()</td>
|
|
|
53 |
<td>$inventoryItem.getItem().getModelNumber()</td>
|
|
|
54 |
<td>$inventoryItem.getItem().getColor()</td>
|
|
|
55 |
<td>$inventoryItem.getSerialNumber()</td>
|
|
|
56 |
<td>$dateTimeFormatter.format($inventoryItem.getCreateTimestamp())</td>
|
|
|
57 |
</tr>
|
|
|
58 |
#end
|
|
|
59 |
#else
|
|
|
60 |
<tr>
|
|
|
61 |
<td colspan="7" style="text-align:center;">Great, you have no Apple stock older than ${agedDays} days :)</td>
|
|
|
62 |
</tr>
|
|
|
63 |
#end
|
|
|
64 |
</tbody>
|
|
|
65 |
</table>
|
|
|
66 |
</div>
|
|
|
67 |
</div>
|
|
|
68 |
</div>
|
|
|
69 |
</section>
|