Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>WAREHOUSE</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>WAREHOUSES</li>						  	
35
			</ol>
36
		</div>
37
	</div>
38
 
39
  	<div id="warehouses-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>GST Number</th>
48
	    					<th>Created On</th>
49
	    				</tr>
50
	    				#if(!$warehouses.isEmpty())
51
			    			#foreach( $warehouse in $warehouses )
52
			    				<tr class="warehouse-details" data="$warehouse.getId()">
53
			    					<td>$warehouse.getName()</td>
54
			    					<td>$warehouse.getContactPersonName()</td>
55
			    					<td>$warehouse.getGstNumber()</td>
56
			    					<td>$warehouse.getFormattedCreateTimestamp()</td>
57
			    				</tr>
58
			    			#end
59
		    			#else
60
		    				<tr>
61
		    					<td colspan="6" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
62
		    				</tr>
63
		    			#end
64
	    			</tbody>
65
	    		</table>
66
	    	</div>
67
	    </div>
68
    </div>
69
    #if(!$warehouses.isEmpty())
70
    	<div class="row" id="vendors-paginated">
71
    		<div class="col-lg-9">
72
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
73
    		</div>
74
    		<div class="col-lg-3" style="text-align:right;">
75
				<div class="btn-group" style="width:40%">
76
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
77
				</div>
78
				<div class="btn-group" style="width:40%">
79
					#if($end >= $size)
80
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
81
					#else
82
						<button class="btn btn-primary next" style="width:100%">Next</button>
83
					#end
84
				</div>
85
	    	</div>
86
	    </div>
87
    #end
88
</section>
89
<div id="warehouse-details-container" style="background:white;background-color:white;">
90
</div>