diff --git a/assets/css/components/messages.scss b/assets/css/components/messages.scss
index 0473e99..4f4c6af 100644
--- a/assets/css/components/messages.scss
+++ b/assets/css/components/messages.scss
@@ -1,11 +1,11 @@
-#messages {
- display: none;
-}
-button.ui-dialog-titlebar-close {
- &:focus {
- outline: none;
- }
- &::-moz-focus-inner {
- border: 0;
- }
-}
\ No newline at end of file
+//#messages {
+// display: none;
+//}
+//button.ui-dialog-titlebar-close {
+// &:focus {
+// outline: none;
+// }
+// &::-moz-focus-inner {
+// border: 0;
+// }
+//}
\ No newline at end of file
diff --git a/assets/js/messages.js b/assets/js/messages.js
index dc4e680..8b57690 100644
--- a/assets/js/messages.js
+++ b/assets/js/messages.js
@@ -1,10 +1,10 @@
-const $ = require('jquery');
-require('jquery-ui-css/all.css');
-require('jquery-ui/dialog');
-
-$(function () {
- /* Messages */
- $('#messages div').each(function () {
- $(this).dialog();
- });
-});
\ No newline at end of file
+//const $ = require('jquery');
+//require('jquery-ui-css/all.css');
+//require('jquery-ui/dialog');
+//
+//$(function () {
+// /* Messages */
+// $('#messages div').each(function () {
+// $(this).dialog();
+// });
+//});
\ No newline at end of file
diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php
index d1366bd..cbb723f 100644
--- a/src/Controller/SecurityController.php
+++ b/src/Controller/SecurityController.php
@@ -8,7 +8,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
-use Symfony\Contracts\Translation\TranslatorInterface;
/**
* Controller about security (login / logout)
@@ -19,23 +18,17 @@ class SecurityController extends AbstractController {
/**
* Show login form
*
- * @param TranslatorInterface $translator Interface for translation
* @param AuthenticationUtils $authenticationUtils Helper for authentication information
*
* @return Response Page response
*
* @Route("/sign-in")
*/
- public function sign_in (TranslatorInterface $translator, AuthenticationUtils $authenticationUtils): Response {
+ public function sign_in (AuthenticationUtils $authenticationUtils): Response {
$form = $this->createForm(
SecuritySignInForm::class,
[
'email' => $authenticationUtils->getLastUsername(),
- ],
- [
- // 'attr' => [
- // 'novalidate' => 'novalidate',
- // ],
]
);
@@ -58,4 +51,12 @@ class SecurityController extends AbstractController {
public function sign_out () {
throw new Exception('This method can be blank - it will be intercepted by the logout key on your firewall');
}
+
+ /**
+ * Show inscription form
+ *
+ * @Route("/sign-up")
+ */
+ public function sign_up () {
+ }
}
diff --git a/templates/_footer.html.twig b/templates/_footer.html.twig
new file mode 100644
index 0000000..4a8bf4d
--- /dev/null
+++ b/templates/_footer.html.twig
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/templates/_header.html.twig b/templates/_header.html.twig
new file mode 100644
index 0000000..d2acc34
--- /dev/null
+++ b/templates/_header.html.twig
@@ -0,0 +1,19 @@
+
{{ message }}
- {% endfor %} -{{ message }}
#} + {# {% endfor %}#} + {#