Ajout de boutons retour +
continuous-integration/drone/push Build is passing Details

Renomage
ServeurDeTest
Noé GARNIER 2 years ago
parent 76688e2caf
commit 8b1c142bb0

@ -3,8 +3,8 @@
$rep = '';
// BD
$dsn = './scripted.db';
// $dsn = 'C:\\wamp64\\www\\scripted.db';
// $dsn = './scripted.db';
$dsn = 'C:\\wamp64\\www\\scripted.db';
//Sel de hashage
$sel = "JeSuisUnSeldeHashageEtJeSuisUniqueEtTresSecuriseEtJeSuisTresLong";
@ -37,6 +37,7 @@ $vues['modifOrdre'] = 'View/src/pages/Admin/ModifOrdre.php';
//Mulijoueur
$vues['partie'] = 'View/src/pages/Multijoueur/Partie.php';
$vues['queue'] = 'View/src/pages/Multijoueur/FileAttente.php';
$vues['lobbyEnd'] = 'View/src/pages/Multijoueur/LobbyEnd.php';
$vues['gameEnd'] = 'View/src/pages/Multijoueur/GameEnd.php';
// Enigme

@ -245,7 +245,7 @@ class UserController
if($lastIndex != 0 && $index == $lastIndex + 1){
$dateDebut = $model->getDateDebut($idPartie);
$points = $model->getPointsAtTheEnd($utilisateur->getEmail(), $idPartie);
require($rep . $vues['gameEnd']);
require($rep . $vues['lobbyEnd']);
}
else{
$enigme = $model->getEnigmebyPartieIdAndIndex($idPartie, $index);

@ -57,13 +57,25 @@
</div>
</div> -->
<div class="row">
<div class="row pt-5 text-center" style="cursor: pointer; height: 20%">
<div class="col">
<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=queuing" onclick="displayWaiting()">
<span>LANCER</span>
</a>
</div>
<div class="m-3">
<a class="btn" href="index.php?action=goToHome" onclick="displayWaiting()">
<span>RETOUR</span>
</a>
</div>
</div>
<!-- <div class="row pt-5 text-center" style="cursor: pointer; height: 20%">
<div class="col">
<a class="btn" href="index.php?action=goToHome" onclick="displayWaiting()">
<span>RETOUR</span>
</a>
</div>
</div> -->
</div>
</div>

Loading…
Cancel
Save