diff --git a/WEB/Client/Client.php b/WEB/Client/Client.php index a105f310..fb635e9d 100644 --- a/WEB/Client/Client.php +++ b/WEB/Client/Client.php @@ -9,14 +9,12 @@ class Client{ $this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("la socket n'a pas pu être créée"); } - private function __clone() {} public static function getInstance() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; } - // ... autres méthodes de la classe ... public function Queuing(){ global $port,$serverAdress,$rep,$vues; @@ -25,6 +23,7 @@ class Client{ set_time_limit(0); // connecter la socket à l'adresse ip et au port du serveur $result = socket_connect($this->socket,$serverAdress,$port) or die("la socket n'a pas pu être attachée au serveur à l'adresse "); + var_dump($result); $request="Queuing"; $response=""; while(strcmp($response,"launchGame")!=0){ diff --git a/WEB/View/src/CSS/Admin2.css b/WEB/View/src/CSS/Admin2.css index 32bdaf31..b167f660 100644 --- a/WEB/View/src/CSS/Admin2.css +++ b/WEB/View/src/CSS/Admin2.css @@ -21,6 +21,13 @@ li { width: 225px; } +a { + color: white; +} +a:hover { + color: white; +} + h1, h2, h3, @@ -30,7 +37,7 @@ h6 { font-family: Equinox; } -h6{ +.legend { color: #898989; font-weight: bolder; } @@ -97,12 +104,11 @@ h6{ -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; - height: 350px; - /* overflow-y: scroll; */ + overflow-y: scroll; /* Switch */ } -.dashboard-card-reversed{ +.dashboard-card-reversed { background: rgb(0, 0, 0); background: -moz-linear-gradient( 45deg, diff --git a/WEB/View/src/pages/Admin/Admin.html b/WEB/View/src/pages/Admin/Admin.html index 9bb8146d..93b0667d 100644 --- a/WEB/View/src/pages/Admin/Admin.html +++ b/WEB/View/src/pages/Admin/Admin.html @@ -23,7 +23,6 @@
- -