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