99 lines
4 KiB
HTML
99 lines
4 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="row center_table" style="width: 1100px;">
|
|
<div class="center">
|
|
<h2 id="statsTitle">Propriétés</h2>
|
|
</div>
|
|
<div style="margin-left: 0px; margin-bottom: 10px;">
|
|
<a id="allButton" href="#all" class="button" onclick="javascript:setView('ALL');">Tout</a>
|
|
<a id="shrunkButton" href="#shrunk" class="button" onclick="javascript:setView('SHRUNK');">Réduit</a>
|
|
<a id="alertButton" href="#alerts" class="button" onclick="javascript:setView('ALERTS');">Alertes</a>
|
|
|
|
<span style="margin-left: 150px;">Statistiques : </span>
|
|
<span id="lineCount" style="padding: 0 10px; background-color: #d5d5d5" title="Nombre de lignes">n/a</span>
|
|
<span id="errorCount" class="bg_error" style="padding: 0 10px;" title="Erreurs">n/a</span>
|
|
<span id="warningCount" class="bg_warning" style="padding: 0 10px;" title="Attendus">n/a</span>
|
|
<span id="voidCount" class="bg_void" style="padding: 0 10px;" title="Inconnus">n/a</span>
|
|
</div>
|
|
<div id="fullBlock" style="width: 100%;">
|
|
<table id="fullBlockTable" class="table_simple">
|
|
<tbody>
|
|
<tr id="line">
|
|
<td id="lineIndex" style="width: 30px; text-align: right; padding-right: 5px;">000</td>
|
|
<td id="lineContent" style="padding-left: 10px; max-width: 800px; word-wrap: anywhere;">n/a</td>
|
|
<td id="lineComment" style="width: 200px; padding-left: 5px;">n/a</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="shrunkBlock" style="width: 100%; display: none;">
|
|
<table id="shrunkBlockTable" class="table_simple">
|
|
<tbody>
|
|
<tr id="shrunkLine">
|
|
<td id="shrunkLineIndex" style="width: 30px; text-align: right; right; padding-right: 5px;">000</td>
|
|
<td id="shrunkLineContent" style="padding-left: 10px; max-width: 800px; word-wrap: anywhere;">n/a</td>
|
|
<td id="shrunkLineComment" style="width: 200px; padding-left: 5px;">n/a</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="alertBlock" style="width: 100%; display: none;">
|
|
<table id="alertBlockTable" class="table_simple">
|
|
<tbody>
|
|
<tr id="alertLine">
|
|
<td id="alertLineIndex" style="width: 30px; text-align: right; right; padding-right: 5px;">000</td>
|
|
<td id="alertLineContent" style="padding-left: 10px; max-width: 800px; word-wrap: anywhere;">n/a</td>
|
|
<td id="alertLineComment" style="width: 200px; padding-left: 5px;">n/a</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
function setView (selection)
|
|
{
|
|
document.getElementById ('fullBlock').style.display = 'none';
|
|
document.getElementById ('shrunkBlock').style.display = 'none';
|
|
document.getElementById ('alertBlock').style.display = 'none';
|
|
|
|
if (selection == 'ALL')
|
|
{
|
|
document.getElementById ('fullBlock').style.display = 'block';
|
|
document.getElementById ('shrunkBlock').style.display = 'none';
|
|
document.getElementById ('alertBlock').style.display = 'none';
|
|
}
|
|
else if (selection == 'SHRUNK')
|
|
{
|
|
document.getElementById ('fullBlock').style.display = 'none';
|
|
document.getElementById ('shrunkBlock').style.display = 'block';
|
|
document.getElementById ('alertBlock').style.display = 'none';
|
|
}
|
|
else if (selection == 'ALERTS')
|
|
{
|
|
document.getElementById ('fullBlock').style.display = 'none';
|
|
document.getElementById ('shrunkBlock').style.display = 'none';
|
|
document.getElementById ('alertBlock').style.display = 'block';
|
|
}
|
|
}
|
|
|
|
document.body.onload = function()
|
|
{
|
|
if (window.location.href.endsWith("#alerts"))
|
|
setView('ALERTS');
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|