ADD : template jouer

correction_routeur^2
Victor SOULIER 1 year ago
parent 9f95b0e771
commit 65cb4bacbc

@ -7,6 +7,7 @@ $config = [
"login" => 'postgres', "login" => 'postgres',
"mdp" =>''], "mdp" =>''],
"templates" => ["index" => 'vues/index.php', "templates" => ["index" => 'vues/index.php',
"pseudo" => 'pseudo.html'] "pseudo" => 'pseudo.html',
"jouer" => "jouer.html"]
]; ];
?> ?>

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Saisir Pseudo</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<center>
{% if dVue is defined %}
<p>Jeu : {{ dVue.nomJeu }}</p>
<p>Pseudo : {{ dVue.pseudo }} </p>
<p>Difficulte : {{ dVue.libelleDifficulte }}</p>
{% endif %}
</center>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Loading…
Cancel
Save