Subversion Repositories SmartDukaan

Rev

Rev 23342 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21987 kshitij.so 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 {
23181 ashik.ali 12
	  background-color: #e98c8f;
21987 kshitij.so 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
</style>
24
<section class="wrapper">            
25
	<div class="row">
26
		<div class="col-lg-12">
23026 ashik.ali 27
			<h3 class="page-header"><i class="icon_desktop"></i>INVENTORY</h3>
21987 kshitij.so 28
			<ol class="breadcrumb">
22116 amit.gupta 29
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
23026 ashik.ali 30
				<li><i class="icon_desktop"></i>GOOD</li>						  	
21987 kshitij.so 31
			</ol>
32
		</div>
33
	</div>
34
 
35
	 <div id="good-inventory-search">
36
    	<div class="row">
37
    		<div class="col-lg-12">
38
                <div class="col-md-3 col-sm-3 col-xs-12 form-group pull-right top_search">
39
                  <div class="input-group">
40
                    <input type="text" class="form-control" id="good-inventory-search-text"" placeholder="Search for product..." value="$searchTerm" />
41
                    <span class="input-group-btn">
42
                      <button class="btn btn-primary submit" id="good-inventory-search-button" type="button">Go!</button>
43
                    </span>
44
                  </div>
45
                </div>
46
              </div>
47
         </div>
48
        </div>
49
         <div id="good-inventory-table">
50
	         <div class="row">
51
	    		<div class="col-lg-12">
52
	    			<table class="table table-striped table-advance table-hover">
53
	    				<tbody>
54
	    					<tr>
23786 amit.gupta 55
	    						<th>Id</th>
56
	    						<th>Description
21987 kshitij.so 57
	    						<th>Type</th>
58
	    						<th>Quantity</th>
23786 amit.gupta 59
	    						<th>Allocated Quantity</th>
21987 kshitij.so 60
	    					</tr>
61
	    					#if($currentInventorySnapshot.size() > 0)
62
		    					 #foreach( $inventorySnapshot in $currentInventorySnapshot )
63
		    					 	<tr>
22860 ashik.ali 64
		    					 		<td>$inventorySnapshot.getItemId()</td>
23786 amit.gupta 65
		    					 		<td>$inventorySnapshot.getItem().getItemDescription()</td>
21987 kshitij.so 66
		    					 		<td>$inventorySnapshot.getItem().getType()</td>
67
		    					 		<td>$inventorySnapshot.getAvailability()</td>
23786 amit.gupta 68
			    						<td>Allocated Quantity</td>
21987 kshitij.so 69
		    					 	</tr>
70
		    					 #end
71
		    				#else
72
		    					<tr>
73
		    						<td colspan="7" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
74
		    					</tr>
75
		    				#end
76
	    				</tbody>
77
	    			</table>
78
	    		</div>
79
	    	</div>
80
    	</div>
81
    	#if($currentInventorySnapshot.size() > 0)
82
    	<div class="row" id="good-inventory-paginated">
83
    		<div class="col-lg-9">
84
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
85
    		</div>
86
    		<div class="col-lg-3" style="text-align:right;">
87
    				<div class="btn-group" style="width:40%">
88
						<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
89
					</div>
90
					<div class="btn-group" style="width:40%">
91
						#if($end >= $size)
92
							<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
93
						#else
94
							<button class="btn btn-primary next" style="width:100%">Next</button>
95
						#end
96
					</div>
97
    		</div>
98
    	</div>
99
    	#end
100
</section>