centrage highscores

master
adplantade 5 years ago
parent bb9de482a4
commit 7d39510522

@ -120,6 +120,7 @@ function less()
amount--;
}
outputHi.value=amount;
setCookie("dotsAmount",amount,30);
document.getElementById("high_form").submit();
}
@ -131,6 +132,7 @@ function more()
amount++;
}
outputHi.value=amount;
setCookie("dotsAmount",amount,30);
document.getElementById("high_form").submit();
}

@ -49,8 +49,8 @@
<input type="radio" class="rad" name="game_mode" id="15p" value="15p" />
<label for="15p"><img id="img_15p" class="button" src="./ress/button_points_15.png"/></label>
<input type="radio" class="rad" name="game_mode" id="20p" value="20p" />
<label for="20p"><img id="img_20p" class="button" src="./ress/button_points_20.png"/></label>
<!--<input type="radio" class="rad" name="game_mode" id="20p" value="20p" />
<label for="20p"><img id="img_20p" class="button" src="./ress/button_points_20.png"/></label>-->
</ul>
<ul id="temps" class="all-container ad">
@ -63,8 +63,8 @@
<input type="radio" class="rad" name="game_mode" id="5m" value="5m" />
<label for="5m"><img id="img_5m" class="button" src="./ress/button_temps_5.png"/></label>
<input type="radio" class="rad" name="game_mode" id="10m" value="10m"/>
<label for="10m"><img id="img_10m" class="button" src="./ress/button_temps_10.png"/></label>
<!--<input type="radio" class="rad" name="game_mode" id="10m" value="10m"/>
<label for="10m"><img id="img_10m" class="button" src="./ress/button_temps_10.png"/></label>-->
</ul>
<ul id="survie" class="all-container ad">
@ -85,7 +85,7 @@
<ul id="pause" class="all-container ad" style="display :flex;">
<input type="radio" class="rad" name="pause" id="pause_1" value="1" />
<label for="1"><img id="img_pause_1" class="button" src="./ress/button_pause_1.png"/></label>
<input type="radio" class="rad" name="pause" id="pause_0" value="0"/>
<label for="0"><img id="img_pause_0" class="button" src="./ress/button_pause_0.png"/></label>
@ -156,7 +156,7 @@ if(isset($_POST["game_mode"]) && $_POST["game_mode"]!="" && $_POST["difficulty"]
}
echo "<h1 id='aya' class='texte' >".$phrase."</h1>";
echo "<h1 id='aya' class='texte mode-container' >".$phrase."</h1>";
echo "<input type='hidden' id='modeSel' value='".$_POST["game_mode"]."'/>";
echo "<input type='hidden' id='diffSel' value='".$_POST["difficulty"]."'/>";
echo "<input type='hidden' id='dotsAmountSel' value='".$_POST["dotsAmount"]."'/>";

@ -104,8 +104,6 @@ phrase+= (document.getElementById("rec").value==get['pts'] ? " et c'est votre re
document.getElementById("points").innerHTML = phrase;
document.getElementById("btn_index").width=size;
//docuemnt.getElementById("recap").innerHTML =
</script>
<script src="bakery.js"></script>

Loading…
Cancel
Save