diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index 0fd5cb14..8652e8b6 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -27,11 +27,10 @@ $vues['next'] = 'View/src/pages/FirstTests/FirstTest'; //Admin $vues['admin'] = 'View/src/pages/Admin/Admin.php'; $vues['addEnigmeSolo'] = 'View/src/pages/Admin/AddEnigmeSolo.php'; -$vues['enigmeMultiManager'] = 'View/src/pages/Admin/EnigmeMultiManager.php'; -$vues['enigmeSoloManager'] = 'View/src/pages/Admin/EnigmeSoloManager.php'; $vues['detailEnigme'] = 'View/src/pages/Admin/DetailEnigme.php'; $vues['modifEnigmeSolo'] = 'View/src/pages/Admin/ModifEnigmeSolo.php'; -$vues['adminSolo'] = 'View/src/pages/Admin/AdminSolo.php'; +$vues['adminSolo'] = 'View/src/pages/Admin/AdminExtendSolo.php'; +$vues['adminMulti'] = 'View/src/pages/Admin/AdminExtendMulti.php'; $vues['seeOrdre'] = 'View/src/pages/Admin/SeeOrdre.php'; $vues['modifOrdre'] = 'View/src/pages/Admin/ModifOrdre.php'; diff --git a/WEB/Controller/AdminController.php b/WEB/Controller/AdminController.php index bd5022fd..ae95067c 100644 --- a/WEB/Controller/AdminController.php +++ b/WEB/Controller/AdminController.php @@ -45,12 +45,6 @@ class AdminController extends UserController case "addNewEnigmeSolo": $this->addNewEnigmeSolo(); break; - case "goToEnigmeMultiManager": - $this->goToEnigmeMultiManager(); - break; - case "goToEnigmeSoloManager": - $this->goToEnigmeSoloManager(); - break; case "goToDetailEnigme": $this->goToDetailEnigme(); break; @@ -60,6 +54,9 @@ class AdminController extends UserController case "goToAdminSolo": $this->goToAdminSolo(); break; + case "goToAdminMulti": + $this->goToAdminMulti(); + break; case "goToSeeOrdre": $this->goToSeeOrdre(); break; @@ -113,6 +110,8 @@ class AdminController extends UserController { try { global $rep, $vues; + $model = new AdminModel(); + $lesEnigmesSolo = $model->getEnigmesSolo(); require($rep . $vues['admin']); } catch (Exception $e) { $error = $e->getMessage(); @@ -129,58 +128,49 @@ class AdminController extends UserController require($rep . $vues['erreur']); } } - - public function goToEnigmeMultiManager() - { - try { - global $rep, $vues; - require($rep . $vues['enigmeMultiManager']); - } catch (Exception $e) { - $error = $e->getMessage(); - require($rep . $vues['erreur']); - } - } - public function goToEnigmeSoloManager() + public function goToDetailEnigme() { try { global $rep, $vues; $model = new AdminModel(); - $lesEnigmes = $model->getEnigmesSolo(); - require($rep . $vues['enigmeSoloManager']); + $enigme = $model->getEnigmeById($_GET['id']); + require($rep . $vues['detailEnigme']); } catch (Exception $e) { $error = $e->getMessage(); require($rep . $vues['erreur']); } } - public function goToDetailEnigme() + public function goToModifEnigmeSolo() { try { global $rep, $vues; $model = new AdminModel(); $enigme = $model->getEnigmeById($_GET['id']); - require($rep . $vues['detailEnigme']); + require($rep . $vues['modifEnigmeSolo']); } catch (Exception $e) { $error = $e->getMessage(); require($rep . $vues['erreur']); } } - public function goToModifEnigmeSolo() + public function goToAdminSolo() { try { global $rep, $vues; $model = new AdminModel(); - $enigme = $model->getEnigmeById($_GET['id']); - require($rep . $vues['modifEnigmeSolo']); + $lesEnigmesSolo = $model->getEnigmesSolo(); + require($rep . $vues['adminSolo']); } catch (Exception $e) { $error = $e->getMessage(); require($rep . $vues['erreur']); } } - public function goToAdminSolo() + public function goToAdminMulti() { try { global $rep, $vues; - require($rep . $vues['adminSolo']); + // $model = new AdminModel(); + // $lesEnigmesSolo = $model->getEnigmesSolo(); + require($rep . $vues['adminMulti']); } catch (Exception $e) { $error = $e->getMessage(); require($rep . $vues['erreur']); @@ -252,7 +242,7 @@ class AdminController extends UserController $id = $_GET['id']; $model->deleteEnigme($id); echo ''; - $this->goToEnigmeSoloManager(); + $this->goToAdmin(); } catch (Exception $e) { $error = $e->getMessage(); @@ -305,7 +295,7 @@ class AdminController extends UserController } $enigme = $model->addNewEnigmeSolo($nom, $enonce, $aide, $rappel, $exemple, $test, $solution, $prompt); echo ''; - require($rep . $vues['adminSolo']); + $this->goToAdmin(); } catch (Exception $e) { $error = $e->getMessage(); require($rep . $vues['erreur']); diff --git a/WEB/View/src/CSS/Admin.css b/WEB/View/src/CSS/Admin.css index 754318c0..1df917bc 100644 --- a/WEB/View/src/CSS/Admin.css +++ b/WEB/View/src/CSS/Admin.css @@ -1,273 +1,239 @@ -@import url("https://fonts.googleapis.com/css2?family=Orbitron&display=swap"); - +@font-face { + font-family: Fauna; + src: url("../../assets/fonts/Fauna.ttf"); +} +@font-face { + font-family: Equinox; + src: url("../../assets/fonts/Equinox.otf"); +} +/* End Fonts CSS */ -/*Default CSS*/ body { min-height: 100vh; - font-family: "Orbitron", sans-serif; + font-family: Verdana, Geneva, Tahoma, sans-serif; color: white; - background-image: url(../../assets/img/BackgroundAdmin.png); - scroll-behavior: smooth; height: 100vh; - background-position: center center; - background-attachment: fixed; - background-repeat: no-repeat; - background-size: cover; - background-color: #464646; + background-color: #111219; } -p, -a, -li, -button, -ul { - margin: 0; - padding: 0; - line-height: normal; - text-decoration: none !important; +li { + display: inline; + width: 225px; } -/* Animation CSS */ - -@keyframes blink { - 0%, - 22%, - 36%, - 75% { - color: #ffe6ff; - text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #dd07bf, - -0.2rem 0.1rem 1rem #dd07bf, 0.2rem 0.1rem 1rem #dd07bf, - 0 -0.5rem 2rem #841174, 0 0.5rem 3rem #841174; - } - 28%, - 33% { - color: #dd07bf; - text-shadow: none; - } - 82%, - 97% { - color: #991888; - text-shadow: none; - } +a { + color: white; + text-decoration: none !important; +} +a:hover { + color: white; } -@keyframes flicker { - from { - opacity: 1; - } - - 4% { - opacity: 0.9; - } - - 6% { - opacity: 0.85; - } - - 8% { - opacity: 0.95; - } - - 10% { - opacity: 0.9; - } - - 11% { - opacity: 0.922; - } - - 12% { - opacity: 0.9; - } - - 14% { - opacity: 0.95; - } - - 16% { - opacity: 0.98; - } - - 17% { - opacity: 0.9; - } - - 19% { - opacity: 0.93; - } - - 20% { - opacity: 0.99; - } - - 24% { - opacity: 1; - } - - 26% { - opacity: 0.94; - } - - 28% { - opacity: 0.98; - } - - 37% { - opacity: 0.93; - } - - 38% { - opacity: 0.5; - } - - 39% { - opacity: 0.96; - } - - 42% { - opacity: 1; - } - - 44% { - opacity: 0.97; - } - - 46% { - opacity: 0.94; - } - - 56% { - opacity: 0.9; - } - - 58% { - opacity: 0.9; - } - - 60% { - opacity: 0.99; - } - - 68% { - opacity: 1; - } - - 70% { - opacity: 0.9; - } - - 72% { - opacity: 0.95; - } - - 93% { - opacity: 0.93; - } - - 95% { - opacity: 0.95; - } - - 97% { - opacity: 0.93; - } +h1, +h2, +h3, +h4, +h5, +h6, +.font { + font-family: Equinox; +} - to { - opacity: 1; - } +button { + background: transparent; + color: white; + outline: none; } -@keyframes animate1 { - 0% { - left: -100%; - } - 50%, - 100% { - left: 100%; - } +.legend { + color: #898989; + font-weight: bolder; } -@keyframes animate2 { - 0% { - top: -100%; - } - 50%, - 100% { - top: 100%; - } +.current { + background: rgb(146, 254, 157); + background: -moz-linear-gradient( + 50deg, + rgba(146, 254, 157, 1) 0%, + rgba(0, 201, 255, 1) 100% + ); + background: -webkit-linear-gradient( + 50deg, + rgba(146, 254, 157, 1) 0%, + rgba(0, 201, 255, 1) 100% + ); + background: linear-gradient( + 50deg, + rgba(146, 254, 157, 1) 0%, + rgba(0, 201, 255, 1) 100% + ); + box-shadow: 0px 0px 50px -5px rgba(0, 201, 255, 0.3); + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; } -@keyframes animate3 { - 0% { - right: -100%; - } - 50%, - 100% { - right: 100%; - } +.send { + background: rgb(146, 254, 157); + background: -moz-linear-gradient( + 50deg, + rgba(146, 254, 157, 1) 0%, + rgba(0, 201, 255, 1) 100% + ); + background: -webkit-linear-gradient( + 50deg, + rgba(146, 254, 157, 1) 0%, + rgba(0, 201, 255, 1) 100% + ); + background: linear-gradient( + 50deg, + rgba(146, 254, 157, 1) 0%, + rgba(0, 201, 255, 1) 100% + ); + box-shadow: 0px 0px 50px -5px rgba(0, 201, 255, 0.3); + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; + + width: max-content; + height: min-content; } -@keyframes animate4 { - 0% { - bottom: -100%; - } - 50%, - 100% { - bottom: 100%; - } +.currentText { + color: black; +} +.currentText:hover { + color: black; } -.flicker { - animation: shine 2s forwards, blink 3s 2s infinite; +.nav-button { + color: #898989; } -.fast-flicker { - animation: shine 2s forwards, blink 10s 1s infinite; +.nav-button:hover { + color: white; } -h1 { - letter-spacing: 0.5rem; - color: #ffe6ff; - text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #dd07bf, - -0.2rem 0.1rem 1rem #dd07bf, 0.2rem 0.1rem 1rem #dd07bf, - 0 -0.5rem 2rem #841174, 0 0.5rem 3rem #841174; - animation: shine 2s forwards, flicker 3s infinite; +.dashboard-card { + background: rgb(0, 0, 0); + background: -moz-linear-gradient( + 315deg, + rgba(0, 0, 0, 0.4) 0%, + rgb(0, 0, 0) 30% + ); + background: -webkit-linear-gradient( + 315deg, + rgba(0, 0, 0, 0.4) 0%, + rgb(0, 0, 0) 30% + ); + background: linear-gradient( + 315deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 30% + ); + border-radius: 15px; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + -ms-border-radius: 15px; + -o-border-radius: 15px; + min-height: 350px; + overflow-y: scroll; } -a { - letter-spacing: 0.2rem; - font-weight: 400; - border-radius: 10px; - font-size: 30px; - cursor: pointer; - transition: 0.5s; - } -a span { -position: absolute; -display: block; +.dashboard-card-reversed { + background: rgb(0, 0, 0); + background: -moz-linear-gradient( + 45deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 30% + ); + background: -webkit-linear-gradient( + 45deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 30% + ); + background: linear-gradient( + 45deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 30% + ); +} + +.dashboard-card-mail { + background: rgb(0, 0, 0); + background: -moz-linear-gradient( + 180deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 30% + ); + background: -webkit-linear-gradient( + 180deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 30% + ); + background: linear-gradient( + 180deg, + rgba(0, 0, 0, 0.4) 0%, + rgba(0, 0, 0, 1) 40% + ); + border-radius: 15px; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + -ms-border-radius: 15px; + -o-border-radius: 15px; + min-height: 400px; } -#enigmeSoloManager { -color: #ff86ff; +.user-box input { + width: 100%; + font-family: Verdana, Geneva, Tahoma, sans-serif; + padding: 8px 0; + font-size: 12px; + color: #fff; + border: none; + border-bottom: 1px solid #fff; + outline: none; + background: transparent; } -#enigmeSoloManager:hover { -background: #ff86ff; -color: #000000; -box-shadow: 0 0 5px #ff86ff, 0 0 25px #ff86ff, 0 0 50px #ff86ff, - 0 0 100px #ff86ff; --webkit-box-reflect: below 1px linear-gradient(transparent, #0005); +.user-box label { + position: absolute; + top: 0; + left: 0; + font-size: 16px; + color: #fff; + pointer-events: none; + transition: 0.5s; + -webkit-transition: 0.5s; + -moz-transition: 0.5s; + -ms-transition: 0.5s; + -o-transition: 0.5s; } -#enigmeMultiManager { -color: #56fcfc; +.user-box input:focus ~ label, +.user-box input:valid ~ label { + top: -20px; + left: 0; + color: #be5631; + font-size: 12px; } -#enigmeMultiManager:hover { -background: #56fcfc; -color: #000000; -box-shadow: 0 0 5px #56fcfc, 0 0 25px #56fcfc, 0 0 50px #56fcfc, - 0 0 100px #56fcfc; --webkit-box-reflect: below 1px linear-gradient(transparent, #0005); +#message { + width: 100%; + height: 100%; + resize: none; + border: none; + background-color: transparent; + border: 1px solid #fff; + color: #fff; + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + -ms-border-radius: 4px; + -o-border-radius: 4px; } \ No newline at end of file diff --git a/WEB/View/src/CSS/Admin2.css b/WEB/View/src/CSS/Admin2.css deleted file mode 100644 index 4f13ea29..00000000 --- a/WEB/View/src/CSS/Admin2.css +++ /dev/null @@ -1,238 +0,0 @@ -@font-face { - font-family: Fauna; - src: url("../../assets/fonts/Fauna.ttf"); -} -@font-face { - font-family: Equinox; - src: url("../../assets/fonts/Equinox.otf"); -} -/* End Fonts CSS */ - -body { - min-height: 100vh; - font-family: Verdana, Geneva, Tahoma, sans-serif; - color: white; - height: 100vh; - background-color: #111219; -} - -li { - display: inline; - width: 225px; -} - -a { - color: white; - text-decoration: none !important; -} -a:hover { - color: white; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: Equinox; -} - -button { - background: transparent; - color: white; - outline: none; -} - -.legend { - color: #898989; - font-weight: bolder; -} - -.current { - background: rgb(146, 254, 157); - background: -moz-linear-gradient( - 50deg, - rgba(146, 254, 157, 1) 0%, - rgba(0, 201, 255, 1) 100% - ); - background: -webkit-linear-gradient( - 50deg, - rgba(146, 254, 157, 1) 0%, - rgba(0, 201, 255, 1) 100% - ); - background: linear-gradient( - 50deg, - rgba(146, 254, 157, 1) 0%, - rgba(0, 201, 255, 1) 100% - ); - box-shadow: 0px 0px 50px -5px rgba(0, 201, 255, 0.3); - border-radius: 4px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - -ms-border-radius: 4px; - -o-border-radius: 4px; -} - -.send { - background: rgb(146, 254, 157); - background: -moz-linear-gradient( - 50deg, - rgba(146, 254, 157, 1) 0%, - rgba(0, 201, 255, 1) 100% - ); - background: -webkit-linear-gradient( - 50deg, - rgba(146, 254, 157, 1) 0%, - rgba(0, 201, 255, 1) 100% - ); - background: linear-gradient( - 50deg, - rgba(146, 254, 157, 1) 0%, - rgba(0, 201, 255, 1) 100% - ); - box-shadow: 0px 0px 50px -5px rgba(0, 201, 255, 0.3); - border-radius: 4px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - -ms-border-radius: 4px; - -o-border-radius: 4px; - - width: max-content; - height: min-content; -} - -.currentText { - color: black; -} -.currentText:hover { - color: black; -} - -.nav-button { - color: #898989; -} - -.nav-button:hover { - color: white; -} - -.dashboard-card { - background: rgb(0, 0, 0); - background: -moz-linear-gradient( - 315deg, - rgba(0, 0, 0, 0.4) 0%, - rgb(0, 0, 0) 30% - ); - background: -webkit-linear-gradient( - 315deg, - rgba(0, 0, 0, 0.4) 0%, - rgb(0, 0, 0) 30% - ); - background: linear-gradient( - 315deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 30% - ); - border-radius: 15px; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - -ms-border-radius: 15px; - -o-border-radius: 15px; - min-height: 350px; - overflow-y: scroll; -} - - -.dashboard-card-reversed { - background: rgb(0, 0, 0); - background: -moz-linear-gradient( - 45deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 30% - ); - background: -webkit-linear-gradient( - 45deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 30% - ); - background: linear-gradient( - 45deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 30% - ); -} - -.dashboard-card-mail { - background: rgb(0, 0, 0); - background: -moz-linear-gradient( - 180deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 30% - ); - background: -webkit-linear-gradient( - 180deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 30% - ); - background: linear-gradient( - 180deg, - rgba(0, 0, 0, 0.4) 0%, - rgba(0, 0, 0, 1) 40% - ); - border-radius: 15px; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - -ms-border-radius: 15px; - -o-border-radius: 15px; - min-height: 400px; -} - -.user-box input { - width: 100%; - font-family: Verdana, Geneva, Tahoma, sans-serif; - padding: 8px 0; - font-size: 12px; - color: #fff; - border: none; - border-bottom: 1px solid #fff; - outline: none; - background: transparent; -} - -.user-box label { - position: absolute; - top: 0; - left: 0; - font-size: 16px; - color: #fff; - pointer-events: none; - transition: 0.5s; - -webkit-transition: 0.5s; - -moz-transition: 0.5s; - -ms-transition: 0.5s; - -o-transition: 0.5s; -} - -.user-box input:focus ~ label, -.user-box input:valid ~ label { - top: -20px; - left: 0; - color: #be5631; - font-size: 12px; -} - -#message { - width: 100%; - height: 100%; - resize: none; - border: none; - background-color: transparent; - border: 1px solid #fff; - color: #fff; - border-radius: 4px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - -ms-border-radius: 4px; - -o-border-radius: 4px; -} \ No newline at end of file diff --git a/WEB/View/src/CSS/Admin3.css b/WEB/View/src/CSS/Admin3.css new file mode 100644 index 00000000..754318c0 --- /dev/null +++ b/WEB/View/src/CSS/Admin3.css @@ -0,0 +1,273 @@ +@import url("https://fonts.googleapis.com/css2?family=Orbitron&display=swap"); + + +/*Default CSS*/ +body { + min-height: 100vh; + font-family: "Orbitron", sans-serif; + color: white; + background-image: url(../../assets/img/BackgroundAdmin.png); + scroll-behavior: smooth; + height: 100vh; + background-position: center center; + background-attachment: fixed; + background-repeat: no-repeat; + background-size: cover; + background-color: #464646; +} + +p, +a, +li, +button, +ul { + margin: 0; + padding: 0; + line-height: normal; + text-decoration: none !important; +} + +/* Animation CSS */ + +@keyframes blink { + 0%, + 22%, + 36%, + 75% { + color: #ffe6ff; + text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #dd07bf, + -0.2rem 0.1rem 1rem #dd07bf, 0.2rem 0.1rem 1rem #dd07bf, + 0 -0.5rem 2rem #841174, 0 0.5rem 3rem #841174; + } + 28%, + 33% { + color: #dd07bf; + text-shadow: none; + } + 82%, + 97% { + color: #991888; + text-shadow: none; + } +} + +@keyframes flicker { + from { + opacity: 1; + } + + 4% { + opacity: 0.9; + } + + 6% { + opacity: 0.85; + } + + 8% { + opacity: 0.95; + } + + 10% { + opacity: 0.9; + } + + 11% { + opacity: 0.922; + } + + 12% { + opacity: 0.9; + } + + 14% { + opacity: 0.95; + } + + 16% { + opacity: 0.98; + } + + 17% { + opacity: 0.9; + } + + 19% { + opacity: 0.93; + } + + 20% { + opacity: 0.99; + } + + 24% { + opacity: 1; + } + + 26% { + opacity: 0.94; + } + + 28% { + opacity: 0.98; + } + + 37% { + opacity: 0.93; + } + + 38% { + opacity: 0.5; + } + + 39% { + opacity: 0.96; + } + + 42% { + opacity: 1; + } + + 44% { + opacity: 0.97; + } + + 46% { + opacity: 0.94; + } + + 56% { + opacity: 0.9; + } + + 58% { + opacity: 0.9; + } + + 60% { + opacity: 0.99; + } + + 68% { + opacity: 1; + } + + 70% { + opacity: 0.9; + } + + 72% { + opacity: 0.95; + } + + 93% { + opacity: 0.93; + } + + 95% { + opacity: 0.95; + } + + 97% { + opacity: 0.93; + } + + to { + opacity: 1; + } +} + +@keyframes animate1 { + 0% { + left: -100%; + } + 50%, + 100% { + left: 100%; + } +} + +@keyframes animate2 { + 0% { + top: -100%; + } + 50%, + 100% { + top: 100%; + } +} + +@keyframes animate3 { + 0% { + right: -100%; + } + 50%, + 100% { + right: 100%; + } +} + +@keyframes animate4 { + 0% { + bottom: -100%; + } + 50%, + 100% { + bottom: 100%; + } +} + +.flicker { + animation: shine 2s forwards, blink 3s 2s infinite; +} + +.fast-flicker { + animation: shine 2s forwards, blink 10s 1s infinite; +} + +h1 { + letter-spacing: 0.5rem; + color: #ffe6ff; + text-shadow: 0 0 0.6rem #ffe6ff, 0 0 1.5rem #dd07bf, + -0.2rem 0.1rem 1rem #dd07bf, 0.2rem 0.1rem 1rem #dd07bf, + 0 -0.5rem 2rem #841174, 0 0.5rem 3rem #841174; + animation: shine 2s forwards, flicker 3s infinite; +} + +a { + letter-spacing: 0.2rem; + font-weight: 400; + border-radius: 10px; + font-size: 30px; + cursor: pointer; + transition: 0.5s; + } + +a span { +position: absolute; +display: block; +} + +#enigmeSoloManager { +color: #ff86ff; +} + +#enigmeSoloManager:hover { +background: #ff86ff; +color: #000000; +box-shadow: 0 0 5px #ff86ff, 0 0 25px #ff86ff, 0 0 50px #ff86ff, + 0 0 100px #ff86ff; +-webkit-box-reflect: below 1px linear-gradient(transparent, #0005); +} + +#enigmeMultiManager { +color: #56fcfc; +} + +#enigmeMultiManager:hover { +background: #56fcfc; +color: #000000; +box-shadow: 0 0 5px #56fcfc, 0 0 25px #56fcfc, 0 0 50px #56fcfc, + 0 0 100px #56fcfc; +-webkit-box-reflect: below 1px linear-gradient(transparent, #0005); +} \ No newline at end of file diff --git a/WEB/View/src/pages/Admin/AddEnigmeSolo.php b/WEB/View/src/pages/Admin/AddEnigmeSolo.php index f92bc157..8b283e29 100644 --- a/WEB/View/src/pages/Admin/AddEnigmeSolo.php +++ b/WEB/View/src/pages/Admin/AddEnigmeSolo.php @@ -20,7 +20,7 @@
- Retour + Retour

Ajouter un énigme

@@ -76,8 +76,5 @@ Submit
- - \ No newline at end of file diff --git a/WEB/View/src/pages/Admin/Admin.html b/WEB/View/src/pages/Admin/Admin.html deleted file mode 100644 index 854bd95f..00000000 --- a/WEB/View/src/pages/Admin/Admin.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - Admin Dashboard - - - - - - - - -
- -
- -
- - - - -
- - -
- - -
- -
-
-

Énigmes Solo

-
-
- - - -
-
-
Ordre
-
-
-
Nom Énigme
-
- -
- - - -
-
-
1
-
-
-
Énigme 1
-
-
- - - -
-
-
- - - -
- - -
-
-

Énigmes Multi

-
-
- - - -
-
-
Ordre
-
-
-
Nom Énigme
-
- -
- - - -
-
-
1
-
-
-
Palidnromeeeeeeeeeeeeeeeeee
-
-
- - - -
-
- -
- -
- - - -
-
-
-
- - -
-
- - -
-
- -
-
- -
-
- -
-
-
-
- -
- -
- - - diff --git a/WEB/View/src/pages/Admin/Admin.php b/WEB/View/src/pages/Admin/Admin.php index 81f9ac9d..32a16e14 100644 --- a/WEB/View/src/pages/Admin/Admin.php +++ b/WEB/View/src/pages/Admin/Admin.php @@ -1,19 +1,13 @@ - + - - Admin - - - - - + + + + Admin Dashboard - - - -
-
-

- s - crip - t - ed -

-

- Ad - min - i - str - a - tion -

-
-
-
- - Retour - + + + + +
+ +
+ +
+ + + + +
+ + +
+ + +
+ +
+
+

Énigmes Solo

+
+
+ + + +
+
+
Ordre
+
+
+
Nom Énigme
+
+ +
+ + + + '; + echo '
'; + echo '
' . $enigmeSolo->getOrdre(). '
'; + echo '
'; + echo ''; + echo '
'; + echo ''; + echo ''; + echo ''; + echo '
'; + echo '
'; + } + ?> +
+ + + +
+ + +
+
+

Énigmes Multi

+
-
- - Gestion Enigme Solo - + + + +
+
+
Ordre
+
+
+
Nom Énigme
+
+
-
- - Gestion Enigme Multi - + + + +
+
+
1
+
+
+
Enigme 1
+
+
+ + + +
+ +
+
+ + + +
+
+
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
- - \ No newline at end of file + + + diff --git a/WEB/View/src/pages/Admin/AdminExtendMulti.html b/WEB/View/src/pages/Admin/AdminExtendMulti.php similarity index 96% rename from WEB/View/src/pages/Admin/AdminExtendMulti.html rename to WEB/View/src/pages/Admin/AdminExtendMulti.php index 20d34f92..f0d1fdb7 100644 --- a/WEB/View/src/pages/Admin/AdminExtendMulti.html +++ b/WEB/View/src/pages/Admin/AdminExtendMulti.php @@ -20,8 +20,8 @@ integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous" > - - + +
@@ -30,14 +30,14 @@
diff --git a/WEB/View/src/pages/Admin/AdminExtendSolo.html b/WEB/View/src/pages/Admin/AdminExtendSolo.php similarity index 83% rename from WEB/View/src/pages/Admin/AdminExtendSolo.html rename to WEB/View/src/pages/Admin/AdminExtendSolo.php index 4015f695..1a820dbe 100644 --- a/WEB/View/src/pages/Admin/AdminExtendSolo.html +++ b/WEB/View/src/pages/Admin/AdminExtendSolo.php @@ -20,8 +20,8 @@ integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous" > - - + +
@@ -30,14 +30,14 @@
- + Add @@ -97,19 +97,23 @@ -
-
-
1
-
-
-
Énigme 1
-
-
- - - -
-
+ '; + echo '
'; + echo '
' . $enigmeSolo->getOrdre(). '
'; + echo '
'; + echo ''; + echo '
'; + echo ''; + echo ''; + echo ''; + echo '
'; + echo '
'; + } + ?>
diff --git a/WEB/View/src/pages/Admin/DetailEnigme.php b/WEB/View/src/pages/Admin/DetailEnigme.php index 0a340b00..a0c9df5c 100644 --- a/WEB/View/src/pages/Admin/DetailEnigme.php +++ b/WEB/View/src/pages/Admin/DetailEnigme.php @@ -21,7 +21,7 @@
- Retour + Retour

Enigme

diff --git a/WEB/View/src/pages/Admin/EnigmeMultiManager.php b/WEB/View/src/pages/Admin/EnigmeMultiManager.php deleted file mode 100644 index 4a6fa1e7..00000000 --- a/WEB/View/src/pages/Admin/EnigmeMultiManager.php +++ /dev/null @@ -1,57 +0,0 @@ - - - - Admin - - - - - - - - - - - - -
- -
-
-

test de l'Énigme

-
-
-
-
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/WEB/View/src/pages/Admin/EnigmeSoloManager.php b/WEB/View/src/pages/Admin/EnigmeSoloManager.php deleted file mode 100644 index aa99e216..00000000 --- a/WEB/View/src/pages/Admin/EnigmeSoloManager.php +++ /dev/null @@ -1,35 +0,0 @@ - - - - Admin - - - - - - - - -
-
- Retour -

Enigme Solo Manager

-
-
- Modifier l'ordre - getIdEnigme()."\" role=\"button\">".$enigme->getNom() .""; - } - ?> -
-
- \ No newline at end of file diff --git a/WEB/View/src/pages/Admin/ModifEnigmeSolo.php b/WEB/View/src/pages/Admin/ModifEnigmeSolo.php index 4fa3529c..f1bda0a4 100644 --- a/WEB/View/src/pages/Admin/ModifEnigmeSolo.php +++ b/WEB/View/src/pages/Admin/ModifEnigmeSolo.php @@ -19,7 +19,7 @@
- Retour + Retour

Modifier une énigme

- Retour + Retour

Ordre des énigmes