Subversion Repositories SmartDukaan

Rev

Rev 26694 | Rev 27875 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26694 Rev 26719
Line 33... Line 33...
33
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
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>						  	
34
				<li><i class="icon_document_alt"></i>LISTINGS</li>						  	
35
			</ol>
35
			</ol>
36
		</div>
36
		</div>
37
	</div>
37
	</div>
-
 
38
	
-
 
39
	<table style="Width:100%">
-
 
40
	
-
 
41
	<td align="left" style="Width:20%">
-
 
42
        </td>
-
 
43
      
-
 
44
      
-
 
45
        <td style="Width:80%">
-
 
46
       
-
 
47
	      <div id="offer-search">
-
 
48
    		<div class="row">
-
 
49
    			<div class="col-lg-12">
-
 
50
                <div class="col-md-3 col-sm-3 col-xs-12 form-group pull-right top_search">
-
 
51
                  <div class="input-group">
-
 
52
                    <input type="text" class="form-control" id="offer-search-text" placeholder="Search for offerID..." value="$searchTerm" />
-
 
53
                    <span class="input-group-btn">
-
 
54
                      <button class="btn btn-primary submit" id="offer-search-button" type="button">Go!</button>
-
 
55
                    </span>
-
 
56
                  </div>
-
 
57
                </div>
-
 
58
              </div>
-
 
59
         </div>
-
 
60
        </div>
-
 
61
        </td>
-
 
62
       </table>
38
  	<div id="prebooking-listings-table">
63
  	<div id="offer-listings-table">
39
		<div class="row">
64
		<div class="row">
40
	    	<div class="col-lg-12">
65
	    	<div class="col-lg-12">
41
	    		<table class="table table-striped table-advance table-hover">
66
	    		<table class="table table-striped table-advance table-hover">
42
	    			<tbody>
67
	    			<tbody>
43
	    				<tr>
68
	    				<tr>
-
 
69
	    				    <th>Id</th>
44
	    					<th>Name</th>
70
	    					<th>Name</th>
45
	    					<th>Scheme Type</th>
71
	    					<th>Scheme Type</th>
46
	    					<th>Criteria</th>
72
	    					<th>Criteria</th>
47
	    					<th>Item Criteria</th>
73
	    					<th>Item Criteria</th>
48
	    					<th>Target Type</th>
74
	    					<th>Target Type</th>
Line 56... Line 82...
56
	    					
82
	    					
57
	    				</tr>
83
	    				</tr>
58
	    				#if(!$offers.isEmpty())
84
	    				#if(!$offers.isEmpty())
59
			    			#foreach( $offer in $offers )
85
			    			#foreach( $offer in $offers )
60
			    				<tr class="offer-listing-details" data="$offer.getId()">
86
			    				<tr class="offer-listing-details" data="$offer.getId()">
-
 
87
			    				    <td>$offer.getId()</td>
61
			    					<td>$offer.getName()</td>
88
			    					<td>$offer.getName()</td>
62
			    					<td>$offer.getSchemeType()</td>
89
			    					<td>$offer.getSchemeType()</td>
63
			    					<td>$offer.getCriteria()</td>
90
			    					<td>$offer.getCriteria()</td>
64
			    					<td>$offer.getItemCriteria()</td>
91
			    					<td>$offer.getItemCriteria()</td>
65
			    					<td>$offer.getTargetType()</td>
92
			    					<td>$offer.getTargetType()</td>
Line 72... Line 99...
72
			    					<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Inactive</button></td>
99
			    					<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Inactive</button></td>
73
			    					#else
100
			    					#else
74
			    						<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Active</button></td>
101
			    						<td><button class="btn btn-primary change-status"  data-offid="$offer.getId()" type="button" style="width:100%; border-radius:0px;">Active</button></td>
75
			    					
102
			    					
76
			    					#end
103
			    					#end
77
			    					<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>
104
			    					<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;">View</button>
78
								     </td>
105
								     </td>
79
			    				</tr>
106
			    				</tr>
80
			    			#end
107
			    			#end
81
		    			#else
108
		    			#else
82
		    				<tr>
109
		    				<tr>
Line 88... Line 115...
88
	    	</div>
115
	    	</div>
89
	    </div>
116
	    </div>
90
    </div>
117
    </div>
91
    
118
    
92
    
119
    
-
 
120
    
-
 
121
     #if(!$offers.isEmpty())
-
 
122
    	<div class="row" id="offer-history-paginated">
-
 
123
    		<div class="col-lg-9">
-
 
124
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
-
 
125
    		</div>
-
 
126
    		<div class="col-lg-3" style="text-align:right;">
-
 
127
				<div class="btn-group" style="width:40%">
-
 
128
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
-
 
129
				</div>
-
 
130
				<div class="btn-group" style="width:40%">
-
 
131
					#if($end >= $size)
-
 
132
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
-
 
133
					#else
-
 
134
						<button class="btn btn-primary next" style="width:100%">Next</button>
-
 
135
					#end
-
 
136
				</div>
-
 
137
	    	</div>
-
 
138
	    </div>
-
 
139
    #end
-
 
140
    
93
   <div class="offer-container">
141
   <div class="offer-container">
94
   <div  class="modal  text-center" id="marginPartnerDetail">
142
   <div  class="modal  text-center" id="marginPartnerDetail">
95
	<div class="modal-dialog">
143
	<div class="modal-dialog">
96
    <div class="modal-content" style="width:900px;height:600px;overflow:auto">
144
    <div class="modal-content" style="width:900px;height:600px;overflow:auto">
97
    </div>
145
    </div>
98
    </div>
146
    </div>
99
    </div>
147
    </div>
100
    </div>
148
    </div>
101
    </section>
-
 
102
149
 </section>
-
 
150
 
-
 
151
 <div id="offer-details-container" style="background:white;background-color:white;">
-
 
152
</div>
-
 
153
    
-
 
154
    
-
 
155
103
156