Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
27583 tejbeer 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
#add-compare-button{
11
color: white;
12
background-color: #008CBA;
13
}
14
#add-compare-button:hover{
15
color: red;
16
}
17
.table-striped > tbody > tr:hover > td,
18
	.table-striped > tbody > tr:hover {
19
	  background-color: #e98c8f;
20
	  color:white;
21
	}
22
	.btn:hover{
23
  	color: grey;
24
  	text-decoration: none;
25
	}
26
	.btn-primary:hover{
27
  	color: grey;
28
  	text-decoration: none;
29
	}
30
	.add-to-bag{
31
		cursor:pointer;
32
	}
33
	modal-dialog.modal-lg{
34
		left:10%;
35
		right:auto;
36
		width:80%;
37
	}
38
	.modal-content{
39
		background : white;
40
	}
41
	.modelHeaderCustom{
42
		font-size:14px;
43
		font-weight:bold;
44
	}
45
	hr{
46
		background-color:#007aff;
47
		border:none;
48
		height:1px;
49
		background:#007aff;
50
	}
51
</style>
52
 
53
<div class="container-catalog-similar">
54
 
55
              <div class="col-lg-12">
56
	    			<table class="table table-striped table-advance table-hover">
57
	    				<tbody>
58
	    					<tr>
59
	    						<th>Item Code</th>
60
	    						<th>Brand</th>
61
	    						<th>Model Name</th>
62
	    						<th>Model Number</th>
63
	    						<th>Color</th>
64
	    						<th>MOP</th>
65
	    						<th>Availability</th>
66
	    						<th>Compare</th>
67
	    					</tr>
68
	    					#if(!$inventoryLists.isEmpty())
69
		    					 #foreach( $inventoryList in $inventoryLists )
70
		    					 	<tr data="$inventoryList.getItemId()" class="add-to-bag" >
71
		    					 		<td>$inventoryList.getItemId()</td>
72
		    					 		<td>$inventoryList.getBrand()</td>
73
		    					 		<td>$inventoryList.getModelName()</td>
74
		    					 		<td>$inventoryList.getModelNumber()</td>
75
		    					 		<td>$inventoryList.getColor()</td>
76
		    					 		<td>$itemPriceing.get($inventoryList.getItemId())</td>
77
		    					 		<td>$inventoryList.getAvailability()</td>
78
		    					 		<td> <button class="add-compare-submit" id="add-compare-button" type="button">Compare</button></td>
79
		    					 	</tr>
80
		    					 #end
81
		    				#else
82
		    					<tr>
83
		    						<td colspan="5" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
84
		    					</tr>
85
		    				#end
86
	    				</tbody>
87
	    			</table>
88
	    		</div>
89
	    		</div>