Improved html.

This commit is contained in:
Christian P. MOMON 2020-09-24 00:14:52 +02:00
parent da17e52d37
commit bca85b03c9
7 changed files with 51 additions and 42 deletions

View file

@ -43,8 +43,8 @@ public class PropertiesFilesPage
/** /**
* Builds the. * Builds the.
* *
* @param federation * @param stats
* the organization * the stats
* @return the string * @return the string
* @throws StatoolInfosException * @throws StatoolInfosException
* the statool infos exception * the statool infos exception

View file

@ -26,6 +26,7 @@
<th style="width: 200px;">Nom du membre</th> <th style="width: 200px;">Nom du membre</th>
<th style="width: 250px;">URL</th> <th style="width: 250px;">URL</th>
<th style="width: 10px;">Services</th> <th style="width: 10px;">Services</th>
<th style="width: 10px;">Utilisateurs mensuels</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -38,6 +39,7 @@
</td> </td>
<td id="organizationListLineUrl"><a href="#" id="organizationListLineUrlLink">n/a</a></td> <td id="organizationListLineUrl"><a href="#" id="organizationListLineUrlLink">n/a</a></td>
<td id="organizationListLineServiceCount" class="center">n/a</td> <td id="organizationListLineServiceCount" class="center">n/a</td>
<td id="organizationListLineUserCount" class="center">n/a</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -11,36 +11,40 @@
<script src="Chart.bundle.min.js"></script> <script src="Chart.bundle.min.js"></script>
</head> </head>
<body> <body>
<h2><img id="organizationLogo" src="#" style="width: 100px; heigth: 100px;"/> <span id="organizationName">Organization name</span></h2> <div class="center">
<h2><img id="organizationLogo" src="#" style="width: 100px; heigth: 100px; vertical-align: middle;"/> <span id="organizationName">Organization name</span></h2>
<div style="margin: 5px;">
<a id="organizationRawButton" href="#" class="button">Raw</a> <div style="margin: 5px;">
</div> <a id="organizationRawButton" href="#" class="button">Raw</a>
</div>
<p id="organizationDescription">Bla bla description</p>
<div>Nombre de services : <span id="serviceCount">n/a</span></div> <p id="organizationDescription">Bla bla description</p>
<div> <div>Nombre de services : <span id="serviceCount">n/a</span></div>
<table class="table_classic sortable"> <div class="left">
<thead> <table class="table_classic center_table sortable" style="width: 600px; margin-left: auto; margin-right: auto;">
<tr> <thead>
<th class="">Nom du service</th> <tr>
<th class="">URL</th> <th class="">Nom du service</th>
<th class="">Logiciel</th> <th class="">URL</th>
</tr> <th class="">Logiciel</th>
</thead> <th class="" style="width: 100px;">Utilisateurs mensuels</th>
<tbody> </tr>
<tr id="serviceListLine"> </thead>
<td id="serviceListLineName" style="padding-top: 0; padding-bottom: 0;"> <tbody>
<a href="#" id="serviceListLineNameLink"> <tr id="serviceListLine">
<img id="serviceListLineLogo" src="" style="width: 26px; height: 26px; padding-top:0; padding-bottom: 0; vertical-align: middle;"/> <td id="serviceListLineName" style="padding-top: 0; padding-bottom: 0;">
&#160;<span id="serviceListLineNameValue">n/a</span> <a href="#" id="serviceListLineNameLink">
</a> <img id="serviceListLineLogo" src="" style="width: 26px; height: 26px; padding-top:0; padding-bottom: 0; vertical-align: middle;"/>
</td> &#160;<span id="serviceListLineNameValue">n/a</span>
<td id="serviceListLineWebsite"><a href="#" id="serviceListLineWebsiteLink">n/a</a></td> </a>
<td id="serviceListLineSoftware">n/a</td> </td>
</tr> <td id="serviceListLineWebsite"><a href="#" id="serviceListLineWebsiteLink">n/a</a></td>
</tbody> <td id="serviceListLineSoftware" class="td_number">n/a</td>
</table> <td id="serviceListLineUserCount" class="td_number">n/a</td>
</tr>
</tbody>
</table>
</div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -24,11 +24,13 @@
<th class="">Nom du service</th> <th class="">Nom du service</th>
<th class="">URL</th> <th class="">URL</th>
<th class="">Logiciel</th> <th class="">Logiciel</th>
<th class="">Utilisateurs mensuels</th>
</tr> </tr>
<tr id="serviceListLine"> <tr id="serviceListLine">
<td id="serviceListLineName"><a href="#" id="serviceListLineNameLink">n/a</a></td> <td id="serviceListLineName"><a href="#" id="serviceListLineNameLink">n/a</a></td>
<td id="serviceListLineUrl"><a href="#" id="serviceListLineUrlLink">n/a</a></td> <td id="serviceListLineUrl"><a href="#" id="serviceListLineUrlLink">n/a</a></td>
<td id="serviceListLineSoftware">n/a</td> <td id="serviceListLineSoftware">n/a</td>
<td id="serviceListLineUserCount">n/a</td>
</tr> </tr>
</table> </table>
</div> </div>

View file

@ -22,6 +22,7 @@
<th class="">Organisation</th> <th class="">Organisation</th>
<th class="">URL</th> <th class="">URL</th>
<th class="">Logiciel</th> <th class="">Logiciel</th>
<th class="" style="width: 100px;">Utilisateurs mensuels</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -35,6 +36,7 @@
<td id="serviceListLineOrganization"><a href="#" id="serviceListLineOrganizationLink">n/a</a></td> <td id="serviceListLineOrganization"><a href="#" id="serviceListLineOrganizationLink">n/a</a></td>
<td id="serviceListLineWebsite"><a href="#" id="serviceListLineWebsiteLink">n/a</a></td> <td id="serviceListLineWebsite"><a href="#" id="serviceListLineWebsiteLink">n/a</a></td>
<td id="serviceListLineSoftware">n/a</td> <td id="serviceListLineSoftware">n/a</td>
<td id="serviceListLineUserCount" class="td_number">n/a</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -15,10 +15,12 @@
<h1><a href="index.xhtml"><img src="logo.jpg" style="width: 35px;"/> StatoolInfos</a><sup id="versionsup" style="font-size: 9px;">v0.0.14</sup> <a href="about.xhtml">About</a><span style="font-size: 9px; float: right;">Page updated on<br/><span id="lastUpdateDate" style="font-size: 9px;">xx/xx/xxxx xx:xx</span></span></h1> <h1><a href="index.xhtml"><img src="logo.jpg" style="width: 35px;"/> StatoolInfos</a><sup id="versionsup" style="font-size: 9px;">v0.0.14</sup> <a href="about.xhtml">About</a><span style="font-size: 9px; float: right;">Page updated on<br/><span id="lastUpdateDate" style="font-size: 9px;">xx/xx/xxxx xx:xx</span></span></h1>
<div style="margin: 5px;"> <div style="margin: 5px;">
<a id="propertiesRawButton" href="propertiesFiles.xhtml" class="button">Fichiers properties</a> <a id="federationButton" href="index.xhtml" class="button">Fédération</a>
<a id="propertiesRawButton" href="propertyStats.xhtml" class="button">Toutes les property</a> <a id="propertiesRawButton" href="propertiesFiles.xhtml" class="button">Fichiers</a>
<a id="" href="services.xhtml" class="button">Tous les services</a> <a id="propertiesRawButton" href="propertyStats.xhtml" class="button">Propriétés</a>
<a id="" href="#" class="button">Tous les logiciels</a> <a id="" href="services.xhtml" class="button">Services</a>
<a id="" href="#" class="button" disabled="disabled">Logiciels</a>
<a id="" href="#" class="button">Catégories</a>
</div> </div>
<div> <div>

View file

@ -81,12 +81,9 @@ public class PropertiesFileStats extends ArrayList<PropertiesFileStat>
/** /**
* Stat. * Stat.
* *
* @param url * @param inputFile
* the url * the input file
* @param file * @return the properties file stat
* the file
* @param localName
* the local name
* @throws IOException * @throws IOException
* Signals that an I/O exception has occurred. * Signals that an I/O exception has occurred.
*/ */