Little fix

This commit is contained in:
poka 2020-06-18 21:34:31 +02:00
parent 47a9ae5744
commit 855133b005
3 changed files with 10 additions and 12 deletions

View File

@ -150,13 +150,6 @@ web() {
# chown www-data for nginx needs # chown www-data for nginx needs
chown -R www-data:www-data $WEBPATH chown -R www-data:www-data $WEBPATH
echo "--- DEBUG WEB DATE ---"
echo "date: $day"
echo "datePrevious: $datePrevious"
echo "dateNext: $dateNext"
echo "setPrevious: $setPrevious"
echo "setNext: $setNext"
} }
### Affichage du nombre de wallets ### ### Affichage du nombre de wallets ###

View File

@ -2,6 +2,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/style.css">
<title>Ḡ1 Stats</title>
</head> </head>
<body> <body>
@ -16,7 +17,7 @@
Date: <b>_day - _heure</b> Date: <b>_day - _heure</b>
Noeud scanné: <b>https://duniter-g1.p2p.legal</b> Noeud scanné: <b>https://duniter-g1.p2p.legal</b>
--- ---
Nombre total de wallet: <b>_nbrTotalWallets</b> Nombre total de wallet: <b>_nbrTotalWallets</b> <a href="/graph/nbr_wallets.html">Voir le graphique</a>
Nombre de membres: <b>_nbrMembers</b> (_pourcentMbrs%) Nombre de membres: <b>_nbrMembers</b> (_pourcentMbrs%)
Nombre de simple portefeuille: <b>_nbrSimpleWallets</b> (_pourcentWallets%) Nombre de simple portefeuille: <b>_nbrSimpleWallets</b> (_pourcentWallets%)
--- ---

View File

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Ḡ1 Stats - Graphiques</title>
<link rel="stylesheet" type="text/css" href="../css/style.css"> <link rel="stylesheet" type="text/css" href="../css/style.css">
<link rel="stylesheet" type="text/css" href="../css/charts.css"> <link rel="stylesheet" type="text/css" href="../css/charts.css">
<script type="text/javascript" src="../js/Chart.js"></script> <script type="text/javascript" src="../js/Chart.js"></script>
@ -71,8 +72,8 @@ var config = {
}] }]
}, },
options: { options: {
maintainAspectRatio: false, // maintainAspectRatio: false,
responsive: false // responsive: false
} }
}; };
@ -126,8 +127,8 @@ var config = {
}] }]
}, },
options: { options: {
maintainAspectRatio: false, // maintainAspectRatio: false,
responsive: false // responsive: false
} }
}; };
@ -138,6 +139,9 @@ var myChartNBRW = new Chart(ctx, config);
<div class="blank"></div> <div class="blank"></div>
<div class="footer"> <div class="footer">
<center><p>Les données démarrent le 15-11-19, jour de lancement du service g1-stats.<br>
Le fort dénivelé que vous observez en début de graph est un artéfact dû au fait que le service était coupé du 27-11-19 au 17-12-19. <br>
A cette période, il y a donc 20 jours de données manquantes.</p></center>
<center><a href=/><img src="../logo-axiom-team.svg" alt="Ḡ1" /></a></center> <center><a href=/><img src="../logo-axiom-team.svg" alt="Ḡ1" /></a></center>
</div> </div>