| 23783 |
ashik.ali |
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 |
.btn:hover{
|
|
|
16 |
color: grey;
|
|
|
17 |
text-decoration: none;
|
|
|
18 |
}
|
|
|
19 |
.btn-primary:hover{
|
|
|
20 |
color: grey;
|
|
|
21 |
text-decoration: none;
|
|
|
22 |
}
|
|
|
23 |
.vendor-details{
|
|
|
24 |
cursor:pointer;
|
|
|
25 |
}
|
|
|
26 |
</style>
|
|
|
27 |
|
|
|
28 |
<section class="wrapper">
|
|
|
29 |
<div class="row">
|
|
|
30 |
<div class="col-lg-12">
|
|
|
31 |
<h3 class="page-header"><i class="icon_document_alt"></i>VENDOR</h3>
|
|
|
32 |
<ol class="breadcrumb">
|
|
|
33 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
34 |
<li><i class="icon_document_alt"></i>VENDORS</li>
|
|
|
35 |
</ol>
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
|
|
|
39 |
<div id="vendors-table">
|
|
|
40 |
<div class="row">
|
|
|
41 |
<div class="col-lg-12">
|
|
|
42 |
<table class="table table-striped table-advance table-hover">
|
|
|
43 |
<tbody>
|
|
|
44 |
<tr>
|
|
|
45 |
<th>Name</th>
|
|
|
46 |
<th>Contact Person Name</th>
|
|
|
47 |
<th>Email Id</th>
|
|
|
48 |
<th>Mobile Number</th>
|
|
|
49 |
<th>GST Number</th>
|
|
|
50 |
<th>Created On</th>
|
|
|
51 |
</tr>
|
|
|
52 |
#if(!$vendors.isEmpty())
|
|
|
53 |
#foreach( $vendor in $vendors )
|
|
|
54 |
<tr class="vendor-details" data="$vendor.getId()">
|
|
|
55 |
<td>$vendor.getName()</td>
|
|
|
56 |
<td>$vendor.getContactPersonName()</td>
|
|
|
57 |
<td>$vendor.getEmailId()</td>
|
|
|
58 |
<td>$vendor.getMobileNumber()</td>
|
|
|
59 |
<td>$vendor.getGstNumber()</td>
|
|
|
60 |
<td>$vendor.getFormattedCreateTimestamp()</td>
|
|
|
61 |
</tr>
|
|
|
62 |
#end
|
|
|
63 |
#else
|
|
|
64 |
<tr>
|
|
|
65 |
<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
66 |
</tr>
|
|
|
67 |
#end
|
|
|
68 |
</tbody>
|
|
|
69 |
</table>
|
|
|
70 |
</div>
|
|
|
71 |
</div>
|
|
|
72 |
</div>
|
|
|
73 |
#if(!$vendors.isEmpty())
|
|
|
74 |
<div class="row" id="vendors-paginated">
|
|
|
75 |
<div class="col-lg-9">
|
|
|
76 |
<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
|
|
|
77 |
</div>
|
|
|
78 |
<div class="col-lg-3" style="text-align:right;">
|
|
|
79 |
<div class="btn-group" style="width:40%">
|
|
|
80 |
<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
|
|
|
81 |
</div>
|
|
|
82 |
<div class="btn-group" style="width:40%">
|
|
|
83 |
#if($end >= $size)
|
|
|
84 |
<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
|
|
|
85 |
#else
|
|
|
86 |
<button class="btn btn-primary next" style="width:100%">Next</button>
|
|
|
87 |
#end
|
|
|
88 |
</div>
|
|
|
89 |
</div>
|
|
|
90 |
</div>
|
|
|
91 |
#end
|
|
|
92 |
</section>
|
|
|
93 |
<div id="vendor-details-container" style="background:white;background-color:white;">
|
|
|
94 |
</div>
|