forked from axiom-team/g1-stats
Add generation date
This commit is contained in:
parent
c4d7cea7ba
commit
a282d6a0c6
|
@ -58,6 +58,7 @@ cp $GPATH/tpl/css/wallets_balance.css $WEBPATH/css/
|
||||||
cp $GPATH/tpl/js/wallets_balance.js $WEBPATH/js/
|
cp $GPATH/tpl/js/wallets_balance.js $WEBPATH/js/
|
||||||
cp $GPATH/tpl/wallets_balance.html $WEBPATH/data/wallets_balance.html
|
cp $GPATH/tpl/wallets_balance.html $WEBPATH/data/wallets_balance.html
|
||||||
|
|
||||||
echo "$htmlBloc" > /tmp/solde_g1_html.txt
|
sort -nr <<<"$htmlBloc" > /tmp/solde_g1_html.txt
|
||||||
printf '%s\n' '/_LINE/r /tmp/solde_g1_html.txt' 1 '/_LINE/d' w | ed $WEBPATH/data/wallets_balance.html > /dev/null
|
printf '%s\n' '/_LINE/r /tmp/solde_g1_html.txt' 1 '/_LINE/d' w | ed $WEBPATH/data/wallets_balance.html > /dev/null
|
||||||
|
sed -i "s/_DATE/$(date '+%d-%m-%Y')/g" $WEBPATH/data/wallets_balance.html
|
||||||
rm /tmp/solde_g1_html.txt
|
rm /tmp/solde_g1_html.txt
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<link rel="stylesheet" href="../css/wallets_balance.css">
|
<link rel="stylesheet" href="../css/wallets_balance.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Données générés le _DATE<br>
|
||||||
<input type="text" id="pseudo" onkeyup="recherche('pseudo')" placeholder="Rechercher un pseudo...">
|
<input type="text" id="pseudo" onkeyup="recherche('pseudo')" placeholder="Rechercher un pseudo...">
|
||||||
<input type="text" id="key" onkeyup="recherche('key')" placeholder="Rechercher une clé publique...">
|
<input type="text" id="key" onkeyup="recherche('key')" placeholder="Rechercher une clé publique...">
|
||||||
<input type="checkbox" id="splw" value="splw" checked><label for="splw">Afficher les simples portefeuilles</label>
|
<input type="checkbox" id="splw" value="splw" checked><label for="splw">Afficher les simples portefeuilles</label>
|
||||||
|
|
Loading…
Reference in New Issue