Added counts in property file check page.

This commit is contained in:
Christian P. MOMON 2020-11-14 05:17:21 +01:00
parent 150ef6886d
commit 497ae6cd1e
2 changed files with 8 additions and 2 deletions

View file

@ -99,6 +99,10 @@ public class PropertyFileCheckPage
TagDataManager data = new TagDataManager(); TagDataManager data = new TagDataManager();
data.setContent("warningCount", checks.getWarningCount());
data.setContent("alertCount", checks.getAlertCount());
data.setContent("voidCount", checks.getVoidCount());
// //
data.setContent("statsTitle", title); data.setContent("statsTitle", title);

View file

@ -15,15 +15,17 @@
<div class="center"> <div class="center">
<h2 id="statsTitle">n/a</h2> <h2 id="statsTitle">n/a</h2>
</div> </div>
<br/>
<div id="rawgroupedswitch" style="margin: 4px;"> <div id="rawgroupedswitch" style="margin: 4px;">
<span style="display: inline-block; padding-top: 6px; vertical-align: text-top;"><a href="#part2">Réduit</a></span> <span style="display: inline-block; padding-top: 6px; vertical-align: text-top;"><a href="#part2">Réduit</a></span>
<label class="switch"> <label class="switch">
<input type="checkbox" onclick="javascript:viewFlip();" /> <input type="checkbox" onclick="javascript:viewFlip();" />
<span class="slider round"></span> <span class="slider round"></span>
</label> </label>
<span style="margin-left: 50px;">Statistiques : </span>
<span id="warningCount" class="bg_warning" style="padding: 0 10px;" title="Attendus">n/a</span>
<span id="alertCount" class="bg_alert" style="padding: 0 10px;" title="Erreurs">n/a</span>
<span id="voidCount" class="bg_void" style="padding: 0 10px;" title="Inconnus">n/a</span>
</div> </div>
<div id="fullBlock" style="width: 100%;"> <div id="fullBlock" style="width: 100%;">
<table class="table_simple"> <table class="table_simple">
<tbody> <tbody>