89 lines
2.8 KiB
HTML
89 lines
2.8 KiB
HTML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>StatoolInfos</title>
|
|
<meta charset="UTF-8" />
|
|
<meta name="keywords" content="statoolinfos,devinsy,federation" />
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
|
<link rel="stylesheet" type="text/css" href="statoolinfos.css" />
|
|
<script src="sorttable.js" />
|
|
<script src="Chart.bundle.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="center_table" style="width: 900px;">
|
|
<div class="center">
|
|
<h2>Logiciels</h2>
|
|
|
|
<div><span id="softwareCount">n/a</span> logiciels</div>
|
|
</div>
|
|
<table id="softwareList" class="table_classic left">
|
|
<thead>
|
|
<tr>
|
|
<th class="">Nom</th>
|
|
<th class="">Catégories</th>
|
|
<th class="" style="width: 100px;">Services</th>
|
|
<th class="" style="width: 100px;">Organisations</th>
|
|
<th class="" style="width: 100px;">Utilisateurs mensuels</th>
|
|
<th class="" style="width: 100px;">Visites mensuelles</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr id="softwareListLine">
|
|
<td id="softwareListLineName" style="padding-top: 0; padding-bottom: 0;">
|
|
<a href="#" id="softwareListLineNameLink" title="">n/a</a>
|
|
</td>
|
|
<td id="softwareListLineCategory" style="padding-top: 0; padding-bottom: 0;">n/a</td>
|
|
<td id="softwareListLineServiceCount" class="td_number">n/a</td>
|
|
<td id="softwareListLineOrganizationCount" class="td_number">n/a</td>
|
|
<td id="softwareListLineUserCount" class="td_number">n/a</td>
|
|
<td id="softwareListLineVisitCount" class="td_number">n/a</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function()
|
|
{
|
|
$.extend($.fn.dataTable.ext.type.order,
|
|
{
|
|
"custom-sort-asc": function(x, y)
|
|
{
|
|
if (!(!isNaN(x) || !isNaN(y)))
|
|
return 0;
|
|
else if (isNaN(x))
|
|
return -1;
|
|
else if (isNaN(y))
|
|
return +1;
|
|
else
|
|
return x-y;
|
|
},
|
|
"custom-sort-desc": function(x, y)
|
|
{
|
|
if (!(!isNaN(x) || !isNaN(y)))
|
|
return 0;
|
|
else if (isNaN(x))
|
|
return +1;
|
|
else if (isNaN(y))
|
|
return -1;
|
|
else
|
|
return y-x;
|
|
}
|
|
} );
|
|
|
|
$('#softwareList').DataTable(
|
|
{
|
|
paging: false,
|
|
ordering: true,
|
|
"order": [[ 0, "asc" ]],
|
|
language: dataTableFrench,
|
|
"columnDefs":
|
|
[
|
|
{ targets: 4, "type": 'custom-sort' },
|
|
{ targets: 5, "type": 'custom-sort' }
|
|
]
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|