From b17874a7d58e1ae853935a564b205566efd9ed74 Mon Sep 17 00:00:00 2001 From: Alexandr Danilov Date: Thu, 6 Aug 2015 04:22:45 +0300 Subject: Many corrections material theme --- .../views/themes/material/Entry/edit.html.twig | 44 ++++++++++++++++ .../views/themes/material/Entry/entries.html.twig | 2 +- .../views/themes/material/Entry/entry.html.twig | 46 +++++++++++++++-- .../views/themes/material/Entry/new.html.twig | 40 +++++++++++++++ .../themes/material/Security/checkEmail.html.twig | 27 ++++++++++ .../material/Security/forgotPassword.html.twig | 56 +++++++++++++++++++++ .../views/themes/material/Security/login.html.twig | 58 ++++++++++++++++++++++ .../views/themes/material/Security/reset.html.twig | 57 +++++++++++++++++++++ .../Resources/views/themes/material/base.html.twig | 13 +++-- .../views/themes/material/public/css/main.css | 29 +++++++---- .../views/themes/material/public/js/init.js | 4 +- 11 files changed, 353 insertions(+), 23 deletions(-) create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/checkEmail.html.twig create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/forgotPassword.html.twig create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Security/reset.html.twig diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig new file mode 100644 index 00000000..c002c4c3 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig @@ -0,0 +1,44 @@ +{% extends "WallabagCoreBundle::layout.html.twig" %} + +{% block title %}{% trans %}Edit an entry{% endtrans %}{% endblock %} + +{% block content %} + +
+
+
+ +
+
+ + {% if form_errors(form) %} + {{ form_errors(form) }} + {% endif %} + + {% if form_errors(form.title) %} + {{ form_errors(form.title) }} + {% endif %} + +
+ {{ form_label(form.title) }} + {{ form_widget(form.title) }} +
+ +
+ {{ form_widget(form.is_public) }} + {{ form_label(form.is_public) }} +
+
+ +
+ +
+ +
+
+
+ +{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index f68eec12..5ef5125f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -21,7 +21,7 @@ {% if entries is empty %}

{% trans %}No articles found.{% endtrans %}

{% else %} -