${APPNAME} == "flipper" - OSM2IPFS/earth/coinflip
This commit is contained in:
parent
6fa5508b92
commit
eb115a37db
|
@ -186,6 +186,16 @@ if [[ ${QRCODE:0:5} == "~~~~~" ]]; then
|
|||
|
||||
fi
|
||||
|
||||
if [[ ${APPNAME} == "flipper" ]]; then
|
||||
|
||||
LINK="${myIPFS}/ipfs/QmZdhQVfWe1cEk4Uzuhk7CShSYtXbRWh2yB1hsvuaCdAD5?qrcode=${QRCODE}&pass=${PASS}"
|
||||
## history & read ## CANNOT USE jaklis CLI formated output (JSON output)
|
||||
sed "s~_TWLINK_~${LINK}~g" ${MY_PATH}/../templates/index.302 > ~/.zen/tmp/${MOATS}/disco
|
||||
sed -i "s~Set-Cookie*~Set-Cookie: $COOKIE~" ~/.zen/tmp/${MOATS}/disco
|
||||
echo "url='"${LINK}"'" >> ~/.zen/tmp/${MOATS}/disco
|
||||
|
||||
fi
|
||||
|
||||
if [[ ${APPNAME} == "history" || ${APPNAME} == "read" ]]; then
|
||||
|
||||
## history & read ## CANNOT USE jaklis CLI formated output (JSON output)
|
||||
|
|
|
@ -147,7 +147,8 @@ a {
|
|||
<input type="radio" id="r2" name="appname" value="history"> Historique
|
||||
<input type="radio" id="r3" name="appname" value="pay"> Virement
|
||||
<input type="radio" id="r4" name="appname" value="balance" checked="checked"> Balance
|
||||
<input type="radio" id="r5" name="appname" value="logout"> LOGOUT
|
||||
<input type="radio" id="r5" name="appname" value="flipper"> Zen Coin
|
||||
<input type="radio" id="r6" name="appname" value="logout"> LOGOUT
|
||||
</div>
|
||||
<p><b></b>"G1Card" pperations</p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue