From fa853bb603d4c1d25ead3f26722a10906dd748d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 8 Oct 2015 13:32:34 +0200 Subject: [PATCH] fix #1470: clean material theme --- .../material/Security/checkEmail.html.twig | 27 -------- .../Security/forgotPassword.html.twig | 58 ---------------- .../themes/material/Security/login.html.twig | 69 ------------------- .../themes/material/Security/reset.html.twig | 57 --------------- 4 files changed, 211 deletions(-) delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/checkEmail.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/reset.html.twig diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/checkEmail.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/checkEmail.html.twig deleted file mode 100644 index 8f698e170..000000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/checkEmail.html.twig +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{% trans %}Forgot password{% endtrans %}{% endblock %} - -{% block body_class %}login{% endblock %} - -{% block menu %}{% endblock %} - -{% block content %} -
-
-

{% trans %}Forgot password{% endtrans %}

-
-
- -

{{ 'An email has been sent to %email%. It contains a link you must click to reset your password.'|trans({'%email%': email}) }}

-
-
-
-
-
- -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig deleted file mode 100644 index 7d916237e..000000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{% trans %}Forgot password{% endtrans %}{% endblock %} - -{% block body_class %}login{% endblock %} - -{% block menu %}{% endblock %} - -{% block content %} -
-
-
-
wallabag logo
-
-
-

{% trans %}Enter your email address below and we'll send you password reset instructions.{% endtrans %}

- - {% if form_errors(form) %} - {{ form_errors(form) }} - {% endif %} - - {% for flashMessage in app.session.flashbag.get('notice') %} -

{{ flashMessage }}

- {% endfor %} - - {% if form_errors(form.email) %} - {{ form_errors(form.email) }} - {% endif %} - -
- {{ form_label(form.email) }} - {{ form_widget(form.email) }} -
- -
-
- -
- {{ form_rest(form) }} -
-
- -
-
- -{% endblock %} - -{% block footer %} -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig deleted file mode 100644 index b0da42ce5..000000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %} - -{% block body_class %}login{% endblock %} - -{% block menu %}{% endblock %} -{% block messages %}{% endblock %} - -{% block content %} -
-
-
-
wallabag logo
-
-
- - {% if error %} - {{ error.message }} - {% endif %} - - {% for flashMessage in app.session.flashbag.get('notice') %} -

{{ flashMessage }}

- {% endfor %} - -
- -
- - -
- -
- - -
- -
- - -
- -
- -
-
- - - {% trans %}Register{% endtrans %} -
-
-
- -
-
- -{% endblock %} - -{% block footer %} -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/reset.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/reset.html.twig deleted file mode 100644 index 09d0b634e..000000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/reset.html.twig +++ /dev/null @@ -1,57 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{% trans %}Change password{% endtrans %}{% endblock %} - -{% block body_class %}login{% endblock %} - -{% block menu %}{% endblock %} - -{% block content %} -
-
-
-
-
- -

{% trans %}Change password{% endtrans %}

- - {% if form_errors(form) %} - {{ form_errors(form) }} - {% endif %} - - {% if form_errors(form.new_password.first) %} - {{ form_errors(form.new_password.first) }} - {% endif %} - - {% if form_errors(form.new_password.second) %} - {{ form_errors(form.new_password.second) }} - {% endif %} - -
- {{ form_label(form.new_password.first) }} - {{ form_widget(form.new_password.first) }} -
- -
- {{ form_label(form.new_password.second) }} - {{ form_widget(form.new_password.second) }} -
- -
-
- -
- {{ form_rest(form) }} -
-
-
-
- -{% endblock %}