information flows better like that

This commit is contained in:
fred 2023-03-26 19:53:57 +02:00
parent ec34535245
commit cdba41aa52
4 changed files with 7 additions and 4 deletions

View File

@ -45,6 +45,7 @@ if [[ ${QRCODE} == "station" ]]; then
## SHOW G1PALPAY FRONT (IFRAME)
sed "s~_STATION_~${myIPFS}${ISTATION}/~g" $MY_PATH/../www/G1PalPay/index.html > ~/.zen/tmp/${MOATS}/index.htm
sed -i "s~http://127.0.0.1:8080~${myIPFS}~g" ~/.zen/tmp/${MOATS}/index.htm
sed -i "s~http://astroport.localhost:1234~${myASTROPORT}~g" ~/.zen/tmp/${MOATS}/index.htm
WSTATION="/ipfs/$(ipfs add -q ~/.zen/tmp/${MOATS}/index.htm)"
echo $WSTATION > ~/.zen/tmp/WSTATION

View File

@ -192,6 +192,7 @@ do
| sed -e "s~_LIBRA_~$(myIpfsGw)~g" \
-e "s~_G1VOEU_~${WISHNAME}~g" \
-e "s~_PLAYER_~${PLAYER}~g" \
-e "s~_G1PUB_~${G1PUB}~g" \
-e "s~_VOEUNS_~${VOEUNS}~g" \
-e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \
-e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \

View File

@ -114,7 +114,7 @@ a {
<video id="preview" style="transform: scaleX(-1);width: 240px;height: 240px;" autoplay="autoplay" class="active"></video>
<strong><div id="countdown"></div></strong>
<strong><div id="scan"></div></strong>
<strong><div id="resu"></div></strong>
<p> <strong>Scannez QRCode</strong> </p>
<p><a target="g1billet" href="https://g1sms.fr/fr/g1billet">G1BILLET</a> </p>
<p>et "<a target="cesium" href="https://cesium.app/fr/fonctionnalites">portefeuille</a>" <a target="cesium" href="https://cesium.app/fr/telechargement">Cesium</a></p>
@ -168,10 +168,10 @@ a {
//print the decrypted url
console.log(decrypted.data);
var amount = prompt("Saisir MONTANT Ğ1:");
var myU = 'http://astroport.localhost:1234' + decrypted.data +'&pay=' + amount + '&g1pub=' + document.getElementById("scan").innerHTML.value ;
document.getElementById("scan").innerHTML = decrypted.data;
var myU = 'http://astroport.localhost:1234' + decrypted.data +'&pay=' + amount + '&g1pub=' + document.getElementById("resu").innerHTML.value ;
document.getElementById("resu").innerHTML = decrypted.data;
} else {
document.getElementById("scan").innerHTML = content;
document.getElementById("resu").innerHTML = content;
var myU = 'http://astroport.localhost:1234/?qrcode=' + content;
}

View File

@ -201,6 +201,7 @@
<img src="http://127.0.0.1:8080/ipfs/QmWUpjGFuF7NhpXgkrCmx8Tbu4xjcFpKhE7Bsvt6HeKYxu/g1ticket_qrcode.png" width=300>
</a>
</p>
<div id="astropub">_G1PUB_</div>
<p>
TODO:
+ display video with overlay link to grab Tid into my TW.