From a4565e88edbc8e3bd092a475469769c86a4c350c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 2 Aug 2013 22:40:51 +0200 Subject: add Twig & refactor poche --- tpl/layout.twig | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tpl/layout.twig (limited to 'tpl/layout.twig') diff --git a/tpl/layout.twig b/tpl/layout.twig new file mode 100644 index 00000000..c5f52bbd --- /dev/null +++ b/tpl/layout.twig @@ -0,0 +1,58 @@ + + + + + + + + + + + {% block title %}{% endblock %} - poche + + + + + + + + + + + + + +
+

logo pochepoche

+
+
+ {% block menu %}{% endblock %} + {% block precontent %}{% endblock %} + {% block content %}{% endblock %} + {% block js %}{% endblock %} +
+ + + + \ No newline at end of file -- cgit v1.2.3 From 8cbb2a88024969f7efd90f8053f3b0805fa2f8fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 3 Aug 2013 08:25:11 +0200 Subject: twig implementation --- tpl/layout.twig | 42 +++++------------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) (limited to 'tpl/layout.twig') diff --git a/tpl/layout.twig b/tpl/layout.twig index c5f52bbd..9dc83efe 100644 --- a/tpl/layout.twig +++ b/tpl/layout.twig @@ -9,50 +9,18 @@ {% block title %}{% endblock %} - poche - - - - - - - - - - - + {% include '_head.twig' %} + {% include '_bookmarklet.twig' %} -
-

logo pochepoche

-
+ {% include '_top.twig' %}
{% block menu %}{% endblock %} {% block precontent %}{% endblock %} + {% block messages %}{% endblock %} {% block content %}{% endblock %} {% block js %}{% endblock %}
- - + {% include '_footer.twig' %} \ No newline at end of file -- cgit v1.2.3 From c765c3679fee3ed9e4bad9954a808116187a7e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 4 Aug 2013 21:42:46 +0200 Subject: import in poche and not in an external file --- tpl/layout.twig | 1 - 1 file changed, 1 deletion(-) (limited to 'tpl/layout.twig') diff --git a/tpl/layout.twig b/tpl/layout.twig index 9dc83efe..cbe965fd 100644 --- a/tpl/layout.twig +++ b/tpl/layout.twig @@ -17,7 +17,6 @@
{% block menu %}{% endblock %} {% block precontent %}{% endblock %} - {% block messages %}{% endblock %} {% block content %}{% endblock %} {% block js %}{% endblock %}
-- cgit v1.2.3 From 55821e04c188997d258645975220828e195d0df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 5 Aug 2013 15:54:37 +0200 Subject: share email +twitter / class messages --- tpl/layout.twig | 1 + 1 file changed, 1 insertion(+) (limited to 'tpl/layout.twig') diff --git a/tpl/layout.twig b/tpl/layout.twig index cbe965fd..9dc83efe 100644 --- a/tpl/layout.twig +++ b/tpl/layout.twig @@ -17,6 +17,7 @@
{% block menu %}{% endblock %} {% block precontent %}{% endblock %} + {% block messages %}{% endblock %} {% block content %}{% endblock %} {% block js %}{% endblock %}
-- cgit v1.2.3 From 6a361945eaf86a978b82bd6fb3442fe64428d9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 5 Aug 2013 21:56:32 +0200 Subject: new design, pagination & more --- tpl/layout.twig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tpl/layout.twig') diff --git a/tpl/layout.twig b/tpl/layout.twig index 9dc83efe..e4b5f5b3 100644 --- a/tpl/layout.twig +++ b/tpl/layout.twig @@ -12,13 +12,17 @@ {% include '_head.twig' %} {% include '_bookmarklet.twig' %} - + {% include '_top.twig' %}
{% block menu %}{% endblock %} {% block precontent %}{% endblock %} - {% block messages %}{% endblock %} + {% block messages %} + {% include '_messages.twig' %} + {% endblock %} +
{% block content %}{% endblock %} +
{% block js %}{% endblock %}
{% include '_footer.twig' %} -- cgit v1.2.3 From d28a7ca30fa50845a54b0e21844b20b373b7fd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 5 Aug 2013 21:59:21 +0200 Subject: remove js --- tpl/layout.twig | 1 - 1 file changed, 1 deletion(-) (limited to 'tpl/layout.twig') diff --git a/tpl/layout.twig b/tpl/layout.twig index e4b5f5b3..c4bbe779 100644 --- a/tpl/layout.twig +++ b/tpl/layout.twig @@ -23,7 +23,6 @@
{% block content %}{% endblock %}
- {% block js %}{% endblock %} {% include '_footer.twig' %} -- cgit v1.2.3