v2.rc1
This commit is contained in:
parent
423280f29c
commit
bf956f35ba
|
@ -216,7 +216,7 @@ function testLatency(cb) {
|
||||||
function countdown() {
|
function countdown() {
|
||||||
if (timeLeft == -1) {
|
if (timeLeft == -1) {
|
||||||
clearTimeout(timerId);
|
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> <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' > <button type='submit'>Lancer Fabrication</button></form>";
|
||||||
} else {
|
} else {
|
||||||
// elem.innerHTML = timeLeft + " s";
|
// elem.innerHTML = timeLeft + " s";
|
||||||
timeLeft--;
|
timeLeft--;
|
||||||
|
|
|
@ -25,7 +25,7 @@ UPASS=$(date '+%Y%m') # YYYYMM
|
||||||
############################################################ G1Voeu.sh use
|
############################################################ G1Voeu.sh use
|
||||||
############################################################ PRINT G1Milgram (once a month)
|
############################################################ PRINT G1Milgram (once a month)
|
||||||
if [[ ${G1PUB} != "" && ${VoeuName} != "" && ${MOATS} != "" ]]; then
|
if [[ ${G1PUB} != "" && ${VoeuName} != "" && ${MOATS} != "" ]]; then
|
||||||
|
echo "MAKE G1PASS+@"
|
||||||
mkdir -p ~/.zen/tmp/${MOATS}
|
mkdir -p ~/.zen/tmp/${MOATS}
|
||||||
#################################################################
|
#################################################################
|
||||||
## MAKING SPECIAL amrzqr => G1Milgram TICKET = G1Missive
|
## MAKING SPECIAL amrzqr => G1Milgram TICKET = G1Missive
|
||||||
|
@ -37,7 +37,7 @@ UPASS=$(date '+%Y%m') # YYYYMM
|
||||||
SECRET2="G1${VoeuName} ${G1PUB}"
|
SECRET2="G1${VoeuName} ${G1PUB}"
|
||||||
|
|
||||||
## ATTACHED G1BILLET+
|
## ATTACHED G1BILLET+
|
||||||
[[ $(cat ${PLAYER_} | grep '_' ) ]] \
|
[[ $(echo ${PLAYER_} | grep '_' ) ]] \
|
||||||
&& echo "G1BILLET+ interlinked : salt pepper refining" \
|
&& echo "G1BILLET+ interlinked : salt pepper refining" \
|
||||||
&& murge=($(echo "${PLAYER_}" | cut -d '_' -f 2- | sed 's/_/ /g' | xargs)) \
|
&& murge=($(echo "${PLAYER_}" | cut -d '_' -f 2- | sed 's/_/ /g' | xargs)) \
|
||||||
&& i=$(( ${#murge[@]} / 2 )) && i=$(( i + 1 )) \
|
&& 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 )" \
|
amzqr "$(cat ~/.zen/tmp/${MOATS}/gpg.asc | tr '-' '@' | tr '\n' '-' | tr '+' '_' | jq -Rr @uri )" \
|
||||||
-d "$HOME/.zen/tmp/${MOATS}" \
|
-d "$HOME/.zen/tmp/${MOATS}" \
|
||||||
-l H \
|
-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 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
|
convert -gravity southeast -pointsize 25 -fill black -draw "text 5,5 \"${VoeuName}\"" ~/.zen/tmp/${MOATS}/layer1.png ~/.zen/tmp/${MOATS}/START.png
|
||||||
|
|
Loading…
Reference in New Issue