From e12da5e688dff5f4da3095bcc4f838476abb2692 Mon Sep 17 00:00:00 2001 From: nathan boileau Date: Fri, 6 Jan 2023 01:04:54 +0100 Subject: [PATCH 1/2] test --- WEB/Client/client.php | 43 ------------------ WEB/View/src/CSS/Admin2.css | 4 +- WEB/View/src/pages/Admin/Admin.html | 68 ++++++++++++++++++++++++----- 3 files changed, 59 insertions(+), 56 deletions(-) delete mode 100644 WEB/Client/client.php diff --git a/WEB/Client/client.php b/WEB/Client/client.php deleted file mode 100644 index efa26135..00000000 --- a/WEB/Client/client.php +++ /dev/null @@ -1,43 +0,0 @@ -socket,$serverAdress,$port) or die("la socket n'a pas pu être attachée au serveur à l'adresse "); - $request="Queuing"; - $response=""; - while(strcmp($response,"launchGame")!=0){ - $response=socket_read($this->socket,1024); - if($response!==false) - { - if(strcmp($response,"refreshQueue")==0) - { - $userGroup = $userModel->findUsersInQueue(); - $numberOfPlayer=count($userGroup); - header('Location : '.$rep.$vues['Queue']); - } - } - sleep(1); - } - } -} \ No newline at end of file diff --git a/WEB/View/src/CSS/Admin2.css b/WEB/View/src/CSS/Admin2.css index f8936395..32bdaf31 100644 --- a/WEB/View/src/CSS/Admin2.css +++ b/WEB/View/src/CSS/Admin2.css @@ -98,8 +98,8 @@ h6{ -ms-border-radius: 15px; -o-border-radius: 15px; - height: 90%; - overflow-y: scroll; + height: 350px; + /* overflow-y: scroll; */ } .dashboard-card-reversed{ diff --git a/WEB/View/src/pages/Admin/Admin.html b/WEB/View/src/pages/Admin/Admin.html index 43d8176b..9bb8146d 100644 --- a/WEB/View/src/pages/Admin/Admin.html +++ b/WEB/View/src/pages/Admin/Admin.html @@ -112,10 +112,10 @@
-
+
-
+
@@ -129,28 +129,74 @@
- -
-
-
Ordre
+ +
+
+
Ordre
-
Nom Énigme
+
Nom Énigme
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem aspernatur molestiae iusto repudiandae delectus saepe tenetur cumque fugit odio cupiditate ducimus, numquam rem labore, excepturi magni minima. Tenetur, ut voluptas. - Lorem, ipsum dolor sit amet consectetur adipisicing elit. Earum atque ipsam placeat numquam sint fugit aspernatur fugiat laborum. Architecto quibusdam odit expedita dolores dolore eum provident ab tempore animi cumque? - Lorem, ipsum dolor sit amet consectetur adipisicing elit. Impedit, magnam? Voluptatem delectus nulla et at iste voluptatibus officiis quasi. Eaque excepturi, pariatur dolor debitis repellat nostrum odio laudantium nam accusantium. + +
+
+
1
+
+
+
Énigme 1
+
+
+ +
+
+ +
-
+
+ +
+
+
+

Énigmes Multi

+
+
+ +
+
+ + + +
+
+
Ordre
+
+
+
Nom Énigme
+
+
+ +
+
+
1
+
+
+
Énigme 1
+
+
+ +
+
+
+
From 39ab8b4371be24529ea62b6a309c829b55182583 Mon Sep 17 00:00:00 2001 From: nathan boileau Date: Fri, 6 Jan 2023 01:05:20 +0100 Subject: [PATCH 2/2] test --- WEB/Client/Client.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 WEB/Client/Client.php diff --git a/WEB/Client/Client.php b/WEB/Client/Client.php new file mode 100644 index 00000000..7e358e0f --- /dev/null +++ b/WEB/Client/Client.php @@ -0,0 +1,43 @@ +socket,$serverAdress,$port) or die("la socket n'a pas pu être attachée au serveur à l'adresse "); + $request="Queuing"; + $response=""; + while(strcmp($response,"launchGame")!=0){ + $response=socket_read($this->socket,1024); + if($response!==false) + { + if(strcmp($response,"refreshQueue")==0) + { + $userGroup = $userModel->findUsersInQueue(); + $numberOfPlayer=count($userGroup); + header('Location : '.$rep.$vues['Queue']); + } + } + sleep(1); + } + } +} \ No newline at end of file