Subversion Repositories SmartDukaan

Rev

Rev 23342 | Rev 23752 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22860 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 {
23181 ashik.ali 12
		background-color: #e98c8f;
22860 ashik.ali 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
	.sale-details{
24
		cursor:pointer;
25
	}
26
</style>
27
 
23343 ashik.ali 28
<section class="wrapper">
22860 ashik.ali 29
	<div class="row">
30
		<div class="col-lg-12">
23026 ashik.ali 31
			<h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
22860 ashik.ali 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>SCHEMES</li>						  	
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="schemes-table">
39
		<div class="row">
40
	    	<div class="col-lg-12">
41
	    		<table class="table table-striped table-advance table-hover">
42
	    			<tbody>
43
	    				<tr>
44
	    					<th>Name</th>
45
	    					<th>Description</th>
46
	    					<th>Type</th>
47
	    					<th>Amount Type</th>
48
	    					<th>Amount</th>
23026 ashik.ali 49
	    					<th>Start Date Time</th>
50
	    					<th>End Date Time</th>
22860 ashik.ali 51
	    					<th>Created On</th>
52
	    					<th>Active</th>
53
	    					<th>Expire</th>
54
	    				</tr>
55
	    				#if(!$schemes.isEmpty())
56
			    			#foreach( $scheme in $schemes )
57
			    				<tr class="scheme-details" data="$scheme.getId()">
58
			    					<td>$scheme.getName()</td>
59
			    					<td>$scheme.getDescription()</td>
60
			    					<td>$scheme.getType()</td>
61
			    					<td>$scheme.getAmountType()</td>
62
			    					<td>$scheme.getAmount()</td>
23026 ashik.ali 63
			    					<td>$scheme.getFormattedStartDateTime()</td>
64
			    					<td>$scheme.getFormattedEndDateTime()</td>
22860 ashik.ali 65
			    					<td>$scheme.getFormattedCreateTimestamp()</td>
66
			    					#if(($scheme.getActiveTimestamp()) && (!$scheme.getExpireTimestamp()))
67
			    						<td><i class="fa fa-check" aria-hidden="true"></i></td>
68
			    					#else
69
			    						<td><i class="fa fa-times" aria-hidden="true"></i></td>
70
			    					#end
71
			    					#if($scheme.getExpireTimestamp())
72
			    						<td><i class="fa fa-check" aria-hidden="true"></i></td>
73
			    					#else
74
			    						<td><i class="fa fa-times" aria-hidden="true"></i></td>
75
			    					#end
76
			    				</tr>
77
			    			#end
78
		    			#else
79
		    				<tr>
80
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
81
		    				</tr>
82
		    			#end
83
	    			</tbody>
84
	    		</table>
85
	    	</div>
86
	    </div>
87
    </div>
88
    #if(!$schemes.isEmpty())
89
    	<div class="row" id="schemes-paginated">
90
    		<div class="col-lg-9">
91
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
92
    		</div>
93
    		<div class="col-lg-3" style="text-align:right;">
94
				<div class="btn-group" style="width:40%">
95
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
96
				</div>
97
				<div class="btn-group" style="width:40%">
98
					#if($end >= $size)
99
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
100
					#else
101
						<button class="btn btn-primary next" style="width:100%">Next</button>
102
					#end
103
				</div>
104
	    	</div>
105
	    </div>
106
    #end
107
</section>
108
<div id="scheme-details-container" style="background:white;background-color:white;">
109
</div>