diff --git a/WEB/Model/UserModel.php b/WEB/Model/UserModel.php index 94f43a9a..021fd9c3 100644 --- a/WEB/Model/UserModel.php +++ b/WEB/Model/UserModel.php @@ -146,10 +146,6 @@ class UserModel $this->attente(); } - public function onQueueFilled{ - - } - public function logout() { $_SESSION['role'] = 'visitor'; diff --git a/WEB/View/assets/img/ImgMain.png b/WEB/View/assets/img/ImgMain.png index b2adc342..6040317c 100644 Binary files a/WEB/View/assets/img/ImgMain.png and b/WEB/View/assets/img/ImgMain.png differ diff --git a/WEB/View/assets/img/SecondMainBack.jpg b/WEB/View/assets/img/SecondMainBack.jpg new file mode 100644 index 00000000..4b86ffd0 Binary files /dev/null and b/WEB/View/assets/img/SecondMainBack.jpg differ diff --git a/WEB/View/src/CSS/Enigme.css b/WEB/View/src/CSS/Enigme.css index 785e2d67..37305c82 100644 --- a/WEB/View/src/CSS/Enigme.css +++ b/WEB/View/src/CSS/Enigme.css @@ -13,10 +13,6 @@ body { color: white; scroll-behavior: smooth; height: 100vh; - background-position: center center; - background-attachment: fixed; - background-repeat: no-repeat; - background-size: cover; background-color: #050E15; } diff --git a/WEB/View/src/CSS/Main2.css b/WEB/View/src/CSS/Main2.css index 6a4b6bb9..35128d6c 100644 --- a/WEB/View/src/CSS/Main2.css +++ b/WEB/View/src/CSS/Main2.css @@ -4,19 +4,26 @@ color: white; scroll-behavior: smooth; height: 100vh; - background-image: radial-gradient( - circle, - #312c42, - #2e2a3d, - #2a2738, - #272434, - #24222f, - #22202c, - #1f1f29, - #1d1d26, - #1b1b23, - #191a21, - #17181e, - #15161c - ); + background-image: url("../../assets/img/ImgMain.png"); + background-position: center center; + background-attachment: fixed; + background-repeat: no-repeat; + background-size: cover; + background-color: #000; +} + +#imgMain { + background-image: url("../../assets/img/SecondMainBack.jpg"); + background-position: center center; + background-attachment: fixed; + background-repeat: no-repeat; + background-size: cover; + display: block; + margin: auto; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 85%; + height: 70%; } diff --git a/WEB/View/src/JS/base.js b/WEB/View/src/JS/base.js index ddcff1f7..7a4b795b 100644 --- a/WEB/View/src/JS/base.js +++ b/WEB/View/src/JS/base.js @@ -112,11 +112,11 @@ function check() { /** - * It gets all the elements with the class name "help" and sets their display property to "flex". + * It gets all the elements with the class name "help" and sets their display property to "block". */ function displayHelp() { var help = document.getElementsByClassName("help"); for (var i = 0; i < help.length; i++) { - help[i].style.display = "flex"; + help[i].style.display = "block"; } } diff --git a/WEB/View/src/pages/Main2.html b/WEB/View/src/pages/Main2.html index c569c41f..90dd9b5d 100644 --- a/WEB/View/src/pages/Main2.html +++ b/WEB/View/src/pages/Main2.html @@ -23,8 +23,10 @@
-