Added DataTables lib for tests.
This commit is contained in:
parent
8627af33ba
commit
5fd7dfffb7
4 changed files with 256 additions and 31 deletions
BIN
resources/DataTables-1.10.22-simple.zip
Normal file
BIN
resources/DataTables-1.10.22-simple.zip
Normal file
Binary file not shown.
|
@ -11,13 +11,14 @@
|
||||||
<script src="Chart.bundle.min.js"></script>
|
<script src="Chart.bundle.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div class="center_table" style="width: 900px;">
|
||||||
<div class="center" >
|
<div class="center" >
|
||||||
<h2><img id="federationLogo" src="#" style="width: 100px; heigth: 100px; vertical-align: middle;"/> <span id="federationName">Federation name</span></h2>
|
<h2><img id="federationLogo" src="#" style="width: 100px; heigth: 100px; vertical-align: middle;"/> <span id="federationName">Federation name</span></h2>
|
||||||
<p id="federationDescription">Bla bla description</p>
|
<p id="federationDescription">Bla bla description</p>
|
||||||
<div>Nombre de membres : <span id="organizationCount">n/a</span></div>
|
<div>Nombre de membres : <span id="organizationCount">n/a</span></div>
|
||||||
<div>Nombre de services : <span id="serviceCount">n/a</span></div>
|
<div>Nombre de services : <span id="serviceCount">n/a</span></div>
|
||||||
<div class="left">
|
</div>
|
||||||
<table class="table_classic center_table sortable" style="width: 800px; margin-left: auto; margin-right: auto;">
|
<table id="organizations" class="table_classic left">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 200px;">Nom du membre</th>
|
<th style="width: 200px;">Nom du membre</th>
|
||||||
|
@ -43,6 +44,13 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<script type="text/javascript">
|
||||||
|
$('#organizations').DataTable(
|
||||||
|
{
|
||||||
|
paging: false,
|
||||||
|
ordering: true,
|
||||||
|
"order": [[ 2, "desc" ]]
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
15
src/fr/devinsy/statoolinfos/htmlize/stuff/datatables.min.css
vendored
Normal file
15
src/fr/devinsy/statoolinfos/htmlize/stuff/datatables.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
202
src/fr/devinsy/statoolinfos/htmlize/stuff/datatables.min.js
vendored
Normal file
202
src/fr/devinsy/statoolinfos/htmlize/stuff/datatables.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue