From 65cb4bacbc70c5b6dfc99e91c5f194e5d6d5f454 Mon Sep 17 00:00:00 2001 From: "victor.soulier" Date: Sat, 18 Nov 2023 19:56:39 +0100 Subject: [PATCH] ADD : template jouer --- project/src/config/config.php | 3 ++- project/src/templates/jouer.html | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 project/src/templates/jouer.html diff --git a/project/src/config/config.php b/project/src/config/config.php index 557d5a1..effc792 100644 --- a/project/src/config/config.php +++ b/project/src/config/config.php @@ -7,6 +7,7 @@ $config = [ "login" => 'postgres', "mdp" =>''], "templates" => ["index" => 'vues/index.php', - "pseudo" => 'pseudo.html'] + "pseudo" => 'pseudo.html', + "jouer" => "jouer.html"] ]; ?> \ No newline at end of file diff --git a/project/src/templates/jouer.html b/project/src/templates/jouer.html new file mode 100644 index 0000000..26adedb --- /dev/null +++ b/project/src/templates/jouer.html @@ -0,0 +1,19 @@ + + + + + Saisir Pseudo + + + +
+ {% if dVue is defined %} +

Jeu : {{ dVue.nomJeu }}

+

Pseudo : {{ dVue.pseudo }}

+

Difficulte : {{ dVue.libelleDifficulte }}

+ {% endif %} +
+ + + + \ No newline at end of file