This commit is contained in:
fred 2023-05-07 03:03:42 +02:00
parent 423280f29c
commit bf956f35ba
2 changed files with 4 additions and 4 deletions

View File

@ -216,7 +216,7 @@ function testLatency(cb) {
function countdown() {
if (timeLeft == -1) {
clearTimeout(timerId);
document.getElementById("countdown").innerHTML = "<form method='get' action='http://g1billet.localhost:33101' target='aframe'><input type='hidden' name='montant' value='0' ><label for='type'>Type :</label><select name='type'><option value=''>G1BILLET x 6</option><option value='jeu' selected>G1PASS</option><option value='xastro'>G1TW</option></select>&nbsp;&nbsp;&nbsp;&nbsp;<button type='submit'>Lancer Fabrication</button></form>";
document.getElementById("countdown").innerHTML = "<form method='get' action='http://127.0.0.1:33101' target='aframe'><input type='hidden' name='montant' value='0' ><label for='type'>Type :</label><select name='type'><option value=''>G1BILLET+ ( x 6 )</option><option value='jeu' selected>G1PASS</option><option value='xastro'>G1PASS+TW</option><option value='@astroport'>G1PASS+@</option></select><input type='hidden' name='dice' value='4' >&nbsp;&nbsp;&nbsp;&nbsp;<button type='submit'>Lancer Fabrication</button></form>";
} else {
// elem.innerHTML = timeLeft + " s";
timeLeft--;

View File

@ -25,7 +25,7 @@ UPASS=$(date '+%Y%m') # YYYYMM
############################################################ G1Voeu.sh use
############################################################ PRINT G1Milgram (once a month)
if [[ ${G1PUB} != "" && ${VoeuName} != "" && ${MOATS} != "" ]]; then
echo "MAKE G1PASS+@"
mkdir -p ~/.zen/tmp/${MOATS}
#################################################################
## MAKING SPECIAL amrzqr => G1Milgram TICKET = G1Missive
@ -37,7 +37,7 @@ UPASS=$(date '+%Y%m') # YYYYMM
SECRET2="G1${VoeuName} ${G1PUB}"
## ATTACHED G1BILLET+
[[ $(cat ${PLAYER_} | grep '_' ) ]] \
[[ $(echo ${PLAYER_} | grep '_' ) ]] \
&& echo "G1BILLET+ interlinked : salt pepper refining" \
&& murge=($(echo "${PLAYER_}" | cut -d '_' -f 2- | sed 's/_/ /g' | xargs)) \
&& i=$(( ${#murge[@]} / 2 )) && i=$(( i + 1 )) \
@ -67,7 +67,7 @@ UPASS=$(date '+%Y%m') # YYYYMM
amzqr "$(cat ~/.zen/tmp/${MOATS}/gpg.asc | tr '-' '@' | tr '\n' '-' | tr '+' '_' | jq -Rr @uri )" \
-d "$HOME/.zen/tmp/${MOATS}" \
-l H \
-p ~/.zen/tmp/${MOATS}/result.png -c
-p ~/.zen/tmp/${MOATS}/result.png
convert -gravity northwest -pointsize 25 -fill black -draw "text 5,5 \"${PLAYER} - ${UPASS} -\"" ~/.zen/tmp/${MOATS}/result_qrcode.png ~/.zen/tmp/${MOATS}/layer1.png
convert -gravity southeast -pointsize 25 -fill black -draw "text 5,5 \"${VoeuName}\"" ~/.zen/tmp/${MOATS}/layer1.png ~/.zen/tmp/${MOATS}/START.png