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