filterable tables
This commit is contained in:
		| @@ -39,7 +39,7 @@ | ||||
| 			</div> | ||||
| 			<div id="div_list" class="tab-pane fade tab-pane-table"> | ||||
| 				<div class="accordion-body" style="background-color: white"> | ||||
| 					<table class="table table-striped table-condensed"> | ||||
| 					<table id="table" class="table table-striped table-condensed"> | ||||
| 						<thead> | ||||
| 							<tr> | ||||
| 								<th>Vorname</th> | ||||
| @@ -57,6 +57,16 @@ | ||||
| 							</tr> | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 					<script type="text/javascript"> | ||||
| 						$(document).ready(function(){ | ||||
| 							var localeUrl = '[[@{/js/dataTables/de.json}]]'; | ||||
| 							$("#table").DataTable({ | ||||
| 								"language" : { | ||||
| 									"url" : localeUrl | ||||
| 								} | ||||
| 							}); | ||||
| 						}); | ||||
| 					</script> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 		</div> | ||||
|   | ||||
| @@ -41,7 +41,7 @@ | ||||
| 			</div> | ||||
| 			<div id="div_list" class="tab-pane fade tab-pane-table"> | ||||
| 				<div class="accordion-body" style="background-color: white"> | ||||
| 					<table class="table table-striped table-condensed"> | ||||
| 					<table id="table" class="table table-striped table-condensed"> | ||||
| 						<thead> | ||||
| 							<tr> | ||||
| 								<th>Titel</th> | ||||
| @@ -59,6 +59,16 @@ | ||||
| 							</tr> | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 					<script type="text/javascript"> | ||||
| 						$(document).ready(function(){ | ||||
| 							var localeUrl = '[[@{/js/dataTables/de.json}]]'; | ||||
| 							$("#table").DataTable({ | ||||
| 								"language" : { | ||||
| 									"url" : localeUrl | ||||
| 								} | ||||
| 							}); | ||||
| 						}); | ||||
| 					</script> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 		</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user