diff --git a/Source/Config/config.php b/Source/Config/config.php index 443a696..895db3e 100644 --- a/Source/Config/config.php +++ b/Source/Config/config.php @@ -10,6 +10,7 @@ $views['continue'] = 'Views/HTML/continue.php'; $views['categories'] = 'Views/HTML/categories.php'; $views['questions'] = 'Views/HTML/questions.php'; $views['responses'] = 'Views/HTML/responses.php'; +$views['thanks'] = 'Views/HTML/thanks.php'; $googleApis = "https://fonts.googleapis.com"; $googleStatic = "https://fonts.gstatic.com"; diff --git a/Source/Controller/ControllerAdmin.php b/Source/Controller/ControllerAdmin.php index 5c155f4..98e3aa5 100644 --- a/Source/Controller/ControllerAdmin.php +++ b/Source/Controller/ControllerAdmin.php @@ -132,4 +132,10 @@ class ControllerAdmin global $rep, $views; require_once($rep.$views['responses']); } + + public function goToAdministration(): void + { + global $rep, $views; + require_once($rep.$views['admin']); + } } diff --git a/Source/Controller/ControllerCandidate.php b/Source/Controller/ControllerCandidate.php index 1398c21..17f58f2 100644 --- a/Source/Controller/ControllerCandidate.php +++ b/Source/Controller/ControllerCandidate.php @@ -31,5 +31,12 @@ class ControllerCandidate public function submitForm(): void { (new ModelCandidate())->submitForm(); + $this->goToThanks(); + } + + public function goToThanks(): void + { + global $rep, $views; + require_once($rep.$views['thanks']); } } diff --git a/Source/Views/CSS/base.css b/Source/Views/CSS/base.css index 3d4d164..92fa614 100644 --- a/Source/Views/CSS/base.css +++ b/Source/Views/CSS/base.css @@ -43,3 +43,9 @@ h1 { .hidden-content { visibility: hidden; } + +.button-continue { + border-radius: 10px; + width: 1rem; + color: red; +} \ No newline at end of file diff --git a/Source/Views/CSS/styles.css b/Source/Views/CSS/styles.css index e0061a7..3a5c1f6 100644 --- a/Source/Views/CSS/styles.css +++ b/Source/Views/CSS/styles.css @@ -5,7 +5,7 @@ body { #regForm { background-color: #ffffff; margin: 0px auto; - font-family: Raleway; + font-family: Poppins; padding: 40px; border-radius: 30px; background-color: rgba(23,143,150,0.7); @@ -16,7 +16,12 @@ body { } h1 { - text-align: center + text-align: center; + font-family: Poppins; +} + +h6 { + font-size: 1.5rem; } input { diff --git a/Source/Views/HTML/admin.php b/Source/Views/HTML/admin.php index 12a68ce..5acd0eb 100644 --- a/Source/Views/HTML/admin.php +++ b/Source/Views/HTML/admin.php @@ -2,31 +2,106 @@
- - - + + + + + + + + -IUT Informatique de Clermont-Ferrand
+