From 2b840e0cfb63a453bea67a98541f3df9c273c5f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 3 Aug 2013 08:57:35 +0200 Subject: twig implementation --- tpl/config.html | 27 --------------------------- tpl/config.twig | 41 +++++++++++++++++++++++++++++++++++++++++ tpl/footer.html | 7 ------- tpl/head.html | 42 ------------------------------------------ tpl/home.twig | 45 +++++++++++++++++++++++++++++++++------------ tpl/install.twig | 2 +- tpl/js.html | 22 ---------------------- tpl/login.twig | 2 +- 8 files changed, 76 insertions(+), 112 deletions(-) delete mode 100644 tpl/config.html create mode 100644 tpl/config.twig delete mode 100644 tpl/footer.html delete mode 100644 tpl/head.html delete mode 100644 tpl/js.html (limited to 'tpl') diff --git a/tpl/config.html b/tpl/config.html deleted file mode 100644 index 2c7df4f7..00000000 --- a/tpl/config.html +++ /dev/null @@ -1,27 +0,0 @@ -
-

Bookmarklet

-

Thanks to the bookmarklet, you will be able to easily add a link to your poche. If you don't know how use a bookmarklet, have a look here.

-

Drag & drop this link to your bookmarks bar and have fun with poche.

-

poche it !

- -

Password

-
-
-
- - -
-
- - -
-
- -
-
- - -
-

Export

-

Click here to export your poche datas.

-
\ No newline at end of file diff --git a/tpl/config.twig b/tpl/config.twig new file mode 100644 index 00000000..10c481de --- /dev/null +++ b/tpl/config.twig @@ -0,0 +1,41 @@ +{% extends "layout.twig" %} + +{% block title %}{% trans "config" %}{% endblock %} +{% block menu %} + +{% endblock %} +{% block content %} +
+

Bookmarklet

+

Thanks to the bookmarklet, you will be able to easily add a link to your poche. If you don't know how use a bookmarklet, have a look here.

+

Drag & drop this link to your bookmarks bar and have fun with poche.

+

poche it !

+ +

Password

+
+
+
+ + +
+
+ + +
+
+ +
+
+ + +
+

Export

+

Click here to export your poche datas.

+
+{% endblock %} \ No newline at end of file diff --git a/tpl/footer.html b/tpl/footer.html deleted file mode 100644 index b8bd755c..00000000 --- a/tpl/footer.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/tpl/head.html b/tpl/head.html deleted file mode 100644 index dfb12788..00000000 --- a/tpl/head.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - {$title} - - - - - - - - - - - - \ No newline at end of file diff --git a/tpl/home.twig b/tpl/home.twig index 7b5b88a2..c79d4276 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -1,19 +1,18 @@ {% extends "layout.twig" %} - -{% block title %}Home{% endblock %} +{% block title %}{% trans "home" %}{% endblock %} {% block menu %} {% endblock %} {% block precontent %} {% endblock %} {% block content %} @@ -27,9 +26,9 @@
@@ -38,4 +37,26 @@ {% endfor %} +{% endblock %} + +{% block js %} + + + + {% endblock %} \ No newline at end of file diff --git a/tpl/install.twig b/tpl/install.twig index 4342df2e..8bcede0d 100644 --- a/tpl/install.twig +++ b/tpl/install.twig @@ -1,5 +1,5 @@ {% extends "layout.twig" %} -{% block title %}Installation{% endblock %} +{% block title %}{% trans "installation" %}{% endblock %} {% block content %}
diff --git a/tpl/js.html b/tpl/js.html deleted file mode 100644 index 3a51af6e..00000000 --- a/tpl/js.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - {if="$load_all_js == '1'"} - - - {/if} \ No newline at end of file diff --git a/tpl/login.twig b/tpl/login.twig index c95a5f02..d1080530 100644 --- a/tpl/login.twig +++ b/tpl/login.twig @@ -1,6 +1,6 @@ {% extends "layout.twig" %} -{% block title %}Login{% endblock %} +{% block title %}{% trans "login to your poche" %}{% endblock %} {% block messages %}
    -- cgit v1.2.3