From ae27b5ab0403efbd42705436594acf9a42d1deda Mon Sep 17 00:00:00 2001 From: Jan Goralski Date: Mon, 28 Mar 2016 14:06:06 +0200 Subject: [PATCH 1/2] [CJMAX-11] Integrated login page --- .../views/Frontend/User/login.html.twig | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig diff --git a/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig b/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig new file mode 100644 index 00000000000..60598439fef --- /dev/null +++ b/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig @@ -0,0 +1,62 @@ +{% extends '@SyliusWeb/Frontend/layout.html.twig' %} + +{% block title %} + - Login +{% endblock %} + +{% block content %} + + +
+

{{ 'sylius.security.login.info'|trans|raw }}

+
+ +
+
+ +
+ + {{ form_errors(form) }} + +
+ {{ form_label(form._username, null, {'label_attr': {'class': 'text-muted pull-left'}}) }} + {{ form_widget(form._username) }} + {{ form_errors(form._username) }} +
+
+ {{ form_label(form._password, null, {'label_attr': {'class': 'text-muted pull-left'}}) }} + {{ form_widget(form._password) }} + {{ form_errors(form._password) }} +
+
 
+ +
+
 
+ +
+ + +
+
+
+ +
+
+
+ + {{ form_rest(form) }} + +
+ + +
+
+{% endblock %} From 731def055fbd007910b96aee53796cb7cc5419fe Mon Sep 17 00:00:00 2001 From: Jan Goralski Date: Mon, 28 Mar 2016 15:12:07 +0200 Subject: [PATCH 2/2] [CJMAX-12] Integrated registration page --- .../views/Frontend/User/login.html.twig | 68 ++++++++++-------- .../views/Frontend/User/register.html.twig | 71 +++++++++++++++++++ 2 files changed, 108 insertions(+), 31 deletions(-) create mode 100644 app/Resources/SyliusWebBundle/views/Frontend/User/register.html.twig diff --git a/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig b/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig index 60598439fef..5a9a0abfc08 100644 --- a/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig +++ b/app/Resources/SyliusWebBundle/views/Frontend/User/login.html.twig @@ -4,43 +4,50 @@ - Login {% endblock %} +{% block topbar %} + +{% endblock %} + {% block content %} -