]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
last changes for baggy theme
authorNicolas Lœuillet <nicolas.loeuillet@smile.fr>
Mon, 5 Oct 2015 20:45:44 +0000 (22:45 +0200)
committerNicolas Lœuillet <nicolas.loeuillet@smile.fr>
Mon, 5 Oct 2015 20:45:44 +0000 (22:45 +0200)
src/Wallabag/UserBundle/Resources/views/themes/baggy/Security/login.html.twig
src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig [new file with mode: 0644]

index 0e7bba0f0ac8a01aacdd68a40020e8e3dccb1669..d52c3662934ca3ba70652d02892cf557c4234782 100644 (file)
@@ -1,13 +1,6 @@
-{% extends "WallabagCoreBundle::layout.html.twig" %}
+{% extends "FOSUserBundle::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 %}
+{% block fos_user_content %}
         <form action="{{ path('fos_user_security_check') }}" method="post" name="loginform">
             <fieldset class="w500p center">
                 <h2 class="mbs txtcenter">{% trans %}Login to wallabag{% endtrans %}</h2>
diff --git a/src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/UserBundle/Resources/views/themes/baggy/layout.html.twig
new file mode 100644 (file)
index 0000000..ff5b658
--- /dev/null
@@ -0,0 +1,16 @@
+{% extends "WallabagCoreBundle::layout.html.twig" %}
+
+{% block title %}Welcome on wallabag!{% endblock %}
+
+{% block body_class %}login{% endblock %}
+
+{% block menu %}{% endblock %}
+{% block messages %}{% endblock %}
+
+{% block content %}
+    {% block fos_user_content %}
+    {% endblock fos_user_content %}
+{% endblock %}
+
+{% block footer %}
+{% endblock %}