Subversion Repositories SmartDukaan

Rev

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