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> <script src="Chart.bundle.min.js"></script>
</head> </head>
<body> <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> <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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long