Added DataTables lib for tests.

This commit is contained in:
Christian P. MOMON 2020-10-02 01:39:33 +02:00
parent 8627af33ba
commit 5fd7dfffb7
4 changed files with 256 additions and 31 deletions

Binary file not shown.

View file

@ -11,13 +11,14 @@
<script src="Chart.bundle.min.js"></script>
</head>
<body>
<div class="center">
<div class="center_table" style="width: 900px;">
<div class="center" >
<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>
<div>Nombre de membres : <span id="organizationCount">n/a</span></div>
<div>Nombre de services : <span id="serviceCount">n/a</span></div>
<div class="left">
<table class="table_classic center_table sortable" style="width: 800px; margin-left: auto; margin-right: auto;">
</div>
<table id="organizations" class="table_classic left">
<thead>
<tr>
<th style="width: 200px;">Nom du membre</th>
@ -43,6 +44,13 @@
</tbody>
</table>
</div>
</div>
<script type="text/javascript">
$('#organizations').DataTable(
{
paging: false,
ordering: true,
"order": [[ 2, "desc" ]]
});
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long