Subversion Repositories SmartDukaan

Rev

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