diff --git a/app/AppKernel.php b/app/AppKernel.php index 86f646bc..f541eebd 100755 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -1,8 +1,8 @@ getEnvironment(), [ 'dev', 'test' ], true ) ) { diff --git a/app/Resources/FOSUserBundle/views/Registration/register.html.twig b/app/Resources/FOSUserBundle/views/Registration/register.html.twig index 1f042c1e..1aa2d4a5 100755 --- a/app/Resources/FOSUserBundle/views/Registration/register.html.twig +++ b/app/Resources/FOSUserBundle/views/Registration/register.html.twig @@ -11,7 +11,7 @@ ou bien, - se connecter. + {#se connecter.#} Mot de passe oublié? diff --git a/app/Resources/FOSUserBundle/views/Resetting/request.html.twig b/app/Resources/FOSUserBundle/views/Resetting/request.html.twig index 8f5f8a47..36b93037 100755 --- a/app/Resources/FOSUserBundle/views/Resetting/request.html.twig +++ b/app/Resources/FOSUserBundle/views/Resetting/request.html.twig @@ -1,5 +1,5 @@ {% extends "@FOSUser/layout.html.twig" %} - +{% trans_default_domain 'FOSUserBundle' %} {% block fos_user_content %}
@@ -8,7 +8,7 @@
ou bien, - se connecter. + {#se connecter.#}
diff --git a/app/Resources/FOSUserBundle/views/Security/login.html.twig b/app/Resources/FOSUserBundle/views/Security/login.html.twig index e08f40c6..105cbe00 100755 --- a/app/Resources/FOSUserBundle/views/Security/login.html.twig +++ b/app/Resources/FOSUserBundle/views/Security/login.html.twig @@ -1,54 +1,60 @@ {% extends "@FOSUser/layout.html.twig" %} +{% trans_default_domain 'FOSUserBundle' %} +{% block fos_user_content %} +
+
+

+ + Se connecter +

+ {% if error %} +
{{ error.messageKey|trans(error.messageData, 'security') }}
+ {% endif %} -{% block bigMain %} - {% block fos_user_content %} -
-
-

- - Se connecter -

- {% if error %} -
{{ error.messageKey|trans(error.messageData, 'security') }}
+
+ {% if csrf_token %} + {% endif %} - - - {% if csrf_token %} - - {% endif %} +
+
+
+
+
- - -
-
-

+

- - Mot de passe oublié? - -

-

+ + - - Créer un compte - -

-
+ +
- {% endblock fos_user_content %} {% endblock %} diff --git a/app/Resources/FOSUserBundle/views/layout.html.twig b/app/Resources/FOSUserBundle/views/layout.html.twig index 13efe803..da35f234 100755 --- a/app/Resources/FOSUserBundle/views/layout.html.twig +++ b/app/Resources/FOSUserBundle/views/layout.html.twig @@ -1,4 +1,4 @@ -{% extends '::default/index.html.twig' %} +{% extends 'base.html.twig' %} {% trans_default_domain 'FOSUserBundle' %} {% block title %}Caisse{% endblock %} @@ -10,47 +10,6 @@
- {#
#} - {#
#} - {#

#} - {##} - {#Se connecter#} - {#

#} - {#{% if error is defined %}#} - {#
{{ error.messageKey|trans(error.messageData, 'security') }}
#} - {#{% endif %}#} - - {#
#} - {#{% if csrf_token is defined %}#} - {##} - {#{% endif %}#} - - {##} - {##} - - {##} - {##} - - {##} - {##} - - {##} - {#
#} - - {#
#} - {#
#} - {#

#} - - {##} - {#Mot de passe oublié?#} - {##} - {#

#} - {#
#} - {#
#} {% block fos_user_content %}{% endblock %}
diff --git a/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig b/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig index 3a566f9e..86c94078 100755 --- a/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig +++ b/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig @@ -71,18 +71,18 @@
- {% block hwi_oauth_content %} -

oauth login

- {% if error is defined and error %} -
{{ error|trans }}
- {% endif %} + {#{% block hwi_oauth_content %}#} + {#

oauth login

#} + {#{% if error is defined and error %}#} + {#
{{ error|trans }}
#} + {#{% endif %}#} - - - {{ "twitter" | trans({}, 'HWIOAuthBundle') }} - - {% endblock hwi_oauth_content %} + {##} + {##} + {#{{ "twitter" | trans({}, 'HWIOAuthBundle') }}#} + {##} + {#{% endblock hwi_oauth_content %}#}
diff --git a/app/Resources/HWIOAuthBundle/views/layout.html.twig b/app/Resources/HWIOAuthBundle/views/layout.html.twig index 1dda6386..7cefaf9b 100755 --- a/app/Resources/HWIOAuthBundle/views/layout.html.twig +++ b/app/Resources/HWIOAuthBundle/views/layout.html.twig @@ -33,8 +33,8 @@
- {% block hwi_oauth_content %} - {% endblock %} + {#{% block hwi_oauth_content %}#} + {#{% endblock %}#}
diff --git a/app/Resources/views/default/header.html.twig b/app/Resources/views/default/header.html.twig index a1bae079..e1178f2a 100755 --- a/app/Resources/views/default/header.html.twig +++ b/app/Resources/views/default/header.html.twig @@ -3,6 +3,8 @@
+ + {% include 'default/login-choices.html.twig' %}
diff --git a/app/Resources/views/default/login-choices.html.twig b/app/Resources/views/default/login-choices.html.twig index 0e2b7f1e..debc7524 100755 --- a/app/Resources/views/default/login-choices.html.twig +++ b/app/Resources/views/default/login-choices.html.twig @@ -3,11 +3,16 @@