Subversion Repositories SmartDukaan

Rev

Rev 26694 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
26674 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
	.table-striped > tbody > tr:hover > td,
11
	.table-striped > tbody > tr:hover {
12
		background-color: #e98c8f;
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">
31
			<h3 class="page-header"><i class="icon_document_alt"></i>OFFERS</h3>
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>LISTINGS</li>						  	
35
			</ol>
36
		</div>
37
	</div>
38
  	<div id="prebooking-listings-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>Criteria</th>
46
	    					<th>Item Criteria</th>
47
	    					<th>Target Type</th>
48
	    					<th>Amount Type</th>
49
	    					<th>Partner Type</th>
50
	    					<th>Created On</th>
51
	    					<th>Start Timestamp</th>
52
	    					<th>End Timestamp</th>
53
	    					<th>Status</th>
54
	    					<th>Detail</th>
55
 
56
	    				</tr>
57
	    				#if(!$offers.isEmpty())
58
			    			#foreach( $offer in $offers )
59
			    				<tr class="offer-listing-details" data="$offer.getId()">
60
			    					<td>$offer.getName()</td>
61
			    					<td>$offer.getCriteria()</td>
62
			    					<td>$offer.getItemCriteria()</td>
63
			    					<td>$offer.getTargetType()</td>
64
			    					<td>$offer.getAmountType()</td>
65
			    					<td>$offer.getPartnerType()</td>
66
			    					<td>$offer.getCreatedTimestamp().format($dateTimeFormatter)</td>
67
			    					<td>$offer.getStartDateTime().format($dateTimeFormatter)</td>
68
			    					<td>$offer.getEndDateTime().format($dateTimeFormatter)</td>
69
			    					<td>$statusMap.get($offer.getId())</td>
70
			    					<td><button class="btn btn-primary marginDetail" data-toggle="modal" data-target="#marginPartnerDetail"  data-offerid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Action</button>
71
								     </td>
72
			    				</tr>
73
			    			#end
74
		    			#else
75
		    				<tr>
76
		    					<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
77
		    				</tr>
78
		    			#end
79
	    			</tbody>
80
	    		</table>
81
	    	</div>
82
	    </div>
83
    </div>
84
 
85
 
86
   <div class="offer-container">
87
   <div  class="modal  text-center" id="marginPartnerDetail">
88
	<div class="modal-dialog">
89
    <div class="modal-content" style="width:900px;height:600px;overflow:auto">
90
    </div>
91
    </div>
92
    </div>
93
    </div>
94
    </section>