This commit is contained in:
fred 2023-11-17 21:56:30 +01:00
parent 2ed65a2ee1
commit 40f8e30bc7
1 changed files with 5 additions and 10 deletions

View File

@ -158,7 +158,7 @@ a {
</label>
<label>
<input type="radio" id="q2" name="appname" value="flipper" checked="checked">
<b>PLAY</b>
<b>ZENCOIN</b>
</label>
</div>
<strong><div id="resu"></div></strong>
@ -181,7 +181,7 @@ a {
</div>
<div id="console"><a href="_STATION_" target="aframe">CONSOLE</a>
<iframe name="aframe" id="aframe" src="_STATION_" width="100%" height="40px"></iframe>
<h1>TW connect</h1>
<h1>ZEN connexion</h1>
</div>
</div>
@ -257,12 +257,7 @@ a {
}
// GET PASS TO DECODE PGP
var oldpass = document.getElementById("PASS").value;
if ( oldpass == 'PASS') {
var pass = prompt("Saisir PIN:");
} else {
var pass = oldpass;
}
var pass = prompt("Saisir PASS:");
// PREVIOUS G1PUB SCAN
var g1pub = document.getElementById("g1pub").value;
@ -270,7 +265,7 @@ a {
var myU = station + '/?qrcode=' + content +'&pass=' + pass + '&' + appname + '=' + amount + '&g1pub=' + g1pub ;
console.log(myU);
if ( appname == 'login' || appname == 'logout' ) {
if ( appname == 'login' || appname == 'logout' || appname == 'flipper' ) {
homeAstroportStation(myU, 'tab', 5000)
} else {
homeAstroportStation(myU, 'aframe', 12000)
@ -283,7 +278,7 @@ a {
// document.getElementById("resu").innerHTML = content;
var myU = station + '/?qrcode=' + content;
console.log(myU);
homeAstroportStation(myU, 'aframe', 12000)
homeAstroportStation(myU, 'aframe', 7000)
}
// fetchAstroport(myU)