diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 749da397..a5de6b7b 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -62,6 +62,7 @@ if [[ ${QRCODE} == "station" ]]; then fi ## SHOW G1PALPAY FRONT (IFRAME) sed "s~_STATION_~${myIPFS}${ISTATION}/~g" $MY_PATH/../www/G1PalPay/index.html > ~/.zen/tmp/${MOATS}/index.htm + [[ ! $isLAN ]] && sed -i "s~MENU~DEMO~g" ~/.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 @@ -159,7 +160,7 @@ if [[ ${QRCODE:0:5} == "~~~~~" ]]; then else - echo "

MAUVAIS PASS

" >> ~/.zen/tmp/${MOATS}/disco + echo "

$PASS : MAUVAIS PASS

" >> ~/.zen/tmp/${MOATS}/disco echo "
" >> ~/.zen/tmp/${MOATS}/disco fi diff --git a/www/G1PalPay/index.html b/www/G1PalPay/index.html index 1fafd326..36101a02 100644 --- a/www/G1PalPay/index.html +++ b/www/G1PalPay/index.html @@ -159,6 +159,7 @@ a { function countdown() { if (timeLeft == -1) { clearTimeout(timerId); + elem.innerHTML = "OK"; window.open( redirectURL, "AstroTab"); } else { elem.innerHTML = timeLeft + " s"; @@ -228,7 +229,7 @@ a {

-
Menu +
MENU