70 lines
2.3 KiB
HTML
70 lines
2.3 KiB
HTML
<!doctype html>
|
|
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Aquilenet: Éligibilité FTTH</title>
|
|
<style>
|
|
{% include 'style.css' %}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1 class="text-center" id="aquilenet-title">Aquilenet</h1>
|
|
{% if result['codeRetour'] == 0 %}
|
|
<div id="containerResults" class="container">
|
|
<h1 id="main-title">Test d'Éligibilité FTTH Aquilenet: Résultats</h1>
|
|
<p>Résultat pour le PTO: {{ pto }}</p>
|
|
{% for batiment in result['batiments'] %}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th colspan="100">{{ batiment["referenceBatiment"] }}</th>
|
|
</tr>
|
|
</thead>
|
|
{% for etage in batiment["etages"] %}
|
|
<tr>
|
|
<td>{{ etage["reference"] }}</td>
|
|
<td>
|
|
<table>
|
|
<tr><td>Nb Lignes Actives</td><td>{{ etage["nbLignesActives"] }}</td></tr>
|
|
<tr><td>Nb Lignes Existantes</td><td>{{ etage["nbLignesExistantes"] }}</td></tr>
|
|
<tr><td>Nb Locaux FTTH</td><td>{{ etage["nbLocauxFtth"] }}</td></tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<thead>
|
|
<tr><th colspan="100">Lignes</th></tr>
|
|
<tr><td>PTO</td><td>PBO</td><td>actif</td><td>commercialisable</td><td>existant</td><td>raccordable</td><td>rompu</td></tr>
|
|
</thead>
|
|
{% for ligne in etage["lignes"] %}
|
|
<tr>
|
|
<td>{{ ligne["pto"] }}</td>
|
|
<td>{{ ligne["pbo"] }}</td>
|
|
<td>{{ ligne["actif"] }}</td>
|
|
<td>{{ ligne["commercialisable"] }}</td>
|
|
<td>{{ ligne["existant"] }}</td>
|
|
<td>{{ ligne["raccordable"] }}</td>
|
|
<td>{{ ligne["rompu"] }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div id="containerResults" class="container">
|
|
<h1 id="main-title">Erreur</h1>
|
|
<p>Code d'erreur: {{ result['axioneErreur']['codeErreur'] }}</p>
|
|
<p>Description de l'erreur: {{ result['axioneErreur']['libelleErreur'] }}</p>
|
|
</div>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|