Subversion Repositories SmartDukaan

Rev

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

Rev 27410 Rev 28457
Line 121... Line 121...
121
					</div>
121
					</div>
122
		</div>
122
		</div>
123
	</form>
123
	</form>
124
</section>
124
</section>
125
<section class="wrapper">
125
<section class="wrapper">
-
 
126
 
-
 
127
 
-
 
128
   
126
<div id="position-table">
129
<div id="position-table">
127
		<div class="row">
130
		<div class="row">
128
	    	<div class="col-lg-12">
131
	    	<div class="col-lg-12">
129
	    		<table class="table table-bordered">
132
            <table class="table table-border table-condensed table-bordered" id="createPosition" style="width:100%">
-
 
133
	    	
-
 
134
	    		
130
	    			<tbody>
135
	    			 <thead>
131
	    				<tr>
136
	    				<tr>
132
	    					<th>User</th>
137
	    					<th>User</th>
133
	    					<th>Category</th>
138
	    					<th>Category</th>
134
	    					<th>Region</th>
139
	    					<th>Region</th>
135
	    					<th>Created TimeStamp</th>
140
	    					<th>Created TimeStamp</th>
136
	    					<th>EscalationType</th>
141
	    					<th>EscalationType</th>
137
	    					<th>Partners</th>
142
	    					<th>Partners</th>
138
	    					<th>Action</th>
143
	    					<th>Action</th>
139
	    					
144
	    					
140
	    				</tr>
145
	    				</tr>
-
 
146
	    				 </thead>
-
 
147
	    				<tbody>
141
	    				#if(!$positions.isEmpty())
148
	    				#if(!$positions.isEmpty())
142
	 							#foreach($position in $positions)
149
	 							#foreach($position in $positions)
143
	 							<tr>
150
	 							<tr>
144
	 							<td>$authUserIdAndAuthUserMap.get($position.getAuthUserId()).getFirstName()</td>
151
	 							<td>$authUserIdAndAuthUserMap.get($position.getAuthUserId()).getFirstName()</td>
145
	 							#if($position.getCategoryId()==0)
152
	 							#if($position.getCategoryId()==0)
Line 168... Line 175...
168
	    			</tbody>
175
	    			</tbody>
169
	    		</table>
176
	    		</table>
170
	    	</div>
177
	    	</div>
171
	    </div>
178
	    </div>
172
    </div>
179
    </div>
173
    #if(!$positions.isEmpty())
-
 
174
    	<div class="row" id="positions-paginated">
-
 
175
    		<div class="col-lg-9">
-
 
176
    			<p>Showing <span class="start">$start</span> to <span class="end">$end</span> of <span class="size">$size</span> items</p>
-
 
177
    		</div>
-
 
178
    		<div class="col-lg-3" style="text-align:right;">
-
 
179
				<div class="btn-group" style="width:40%">
-
 
180
					<button class="btn btn-primary previous" disabled="disabled" style="width:100%">Previous</button>
-
 
181
				</div>
-
 
182
				<div class="btn-group" style="width:40%">
-
 
183
					#if($end >= $size)
-
 
184
						<button class="btn btn-primary next" style="width:100%" disabled="disabled">Next</button>
-
 
185
					#else
-
 
186
						<button class="btn btn-primary next" style="width:100%">Next</button>
-
 
187
					#end
-
 
188
				</div>
-
 
189
	    	</div>
-
 
190
	    </div>
-
 
191
    #end
180
    
192
    </section>
181
    </section>
193
<div id="position-details-container" style="background:white;background-color:white;">
182
<div id="position-details-container" style="background:white;background-color:white;">
194
</div>
-
 
195
183
</div>
-
 
184
 
-
 
185
 
-
 
186
<script type="text/javascript">
-
 
187
	$(document).ready(function() {
-
 
188
 
-
 
189
		
-
 
190
      var dtable = $('#createPosition').DataTable({
-
 
191
             "scrollX": true,
-
 
192
        "pageLength": 100,
-
 
193
              scrollCollapse: true,
-
 
194
              "fixedHeader": true,
-
 
195
              
-
 
196
              
-
 
197
              });
-
 
198
              
-
 
199
              });
-
 
200
                 
-
 
201
</script>
-
 
202