test
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 9bf6f40aa5
commit 7e4d60917e

@ -63,11 +63,13 @@
</body>
<script>
function checkIsReady() {
console.log("checkIsReady");
var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://82.165.180.114/Scripted/WEB/index.php?action=waiting', true);
xhr.responseType = 'text';
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function () {
console.log(xhr.responseText);
if (xhr.responseText == "1") {
window.location.href = 'http://82.165.180.114/Scripted/WEB/index.php?action=goToGame&idPartie="' + <?php echo $_SESSION['idPartie'] ?> + '"&index=1"'
}

@ -62,7 +62,7 @@
<div class="row">
<div class="d-flex justify-content-center ltext-center" style="cursor: pointer; height: 20%">
<div class="m-3">
<a class="btn" href="index.php?action=addToQueu">
<a class="btn" href="index.php?action=addToQueue">
<span>LANCER</span>
</a>
</div>

Loading…
Cancel
Save