diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-04 22:35:08 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-04 22:35:08 +0200 |
commit | 63c35580c7d60e2278ee6fe9ba2d4440ff0308d6 (patch) | |
tree | 71a0c573d4104d9a751df395c1c162c089ed6017 /tpl | |
parent | c765c3679fee3ed9e4bad9954a808116187a7e83 (diff) | |
download | wallabag-63c35580c7d60e2278ee6fe9ba2d4440ff0308d6.tar.gz wallabag-63c35580c7d60e2278ee6fe9ba2d4440ff0308d6.tar.zst wallabag-63c35580c7d60e2278ee6fe9ba2d4440ff0308d6.zip |
twig implementation
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/_footer.twig | 2 | ||||
-rw-r--r-- | tpl/config.twig | 6 | ||||
-rw-r--r-- | tpl/export.twig | 2 | ||||
-rw-r--r-- | tpl/js/poche.js | 2 | ||||
-rw-r--r-- | tpl/login.twig | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/tpl/_footer.twig b/tpl/_footer.twig index 59b58fa5..b1d7b8d4 100644 --- a/tpl/_footer.twig +++ b/tpl/_footer.twig | |||
@@ -1,3 +1,3 @@ | |||
1 | <footer class="mr2 mt3 smaller"> | 1 | <footer class="mr2 mt3 smaller"> |
2 | <p>powered by <a href="http://inthepoche.com">poche</a></p> | 2 | <p>{% trans "powered by" %} <a href="http://inthepoche.com">poche</a></p> |
3 | </footer> \ No newline at end of file | 3 | </footer> \ No newline at end of file |
diff --git a/tpl/config.twig b/tpl/config.twig index 9a51e566..c18806bc 100644 --- a/tpl/config.twig +++ b/tpl/config.twig | |||
@@ -40,11 +40,11 @@ | |||
40 | <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> | 40 | <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> |
41 | <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/?pages/Documentation">inthepoche.com</a></p> | 41 | <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/?pages/Documentation">inthepoche.com</a></p> |
42 | <p><ul> | 42 | <p><ul> |
43 | <li><a href="/?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "ril_export.html" file on your server)</li> | 43 | <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "ril_export.html" file on your server)</li> |
44 | <li><a href="/?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "readability" file on your server)</li> | 44 | <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "readability" file on your server)</li> |
45 | </ul></p> | 45 | </ul></p> |
46 | 46 | ||
47 | <h2>{% trans "Export your poche datas" %}</h2> | 47 | <h2>{% trans "Export your poche datas" %}</h2> |
48 | <p><a href="?view=export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p> | 48 | <p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p> |
49 | </div> | 49 | </div> |
50 | {% endblock %} \ No newline at end of file | 50 | {% endblock %} \ No newline at end of file |
diff --git a/tpl/export.twig b/tpl/export.twig index d22d05fc..4adb9540 100644 --- a/tpl/export.twig +++ b/tpl/export.twig | |||
@@ -1 +1 @@ | |||
export {$export} \ No newline at end of file | {{ export }} \ No newline at end of file | ||
diff --git a/tpl/js/poche.js b/tpl/js/poche.js index 97d9911d..b4eac11c 100644 --- a/tpl/js/poche.js +++ b/tpl/js/poche.js | |||
@@ -23,7 +23,7 @@ function toggle_archive(element, id, view_article) { | |||
23 | } | 23 | } |
24 | 24 | ||
25 | function sort_links(view, sort) { | 25 | function sort_links(view, sort) { |
26 | $.get('index.php', { view: view, sort: sort, full_head: 'no' }, function(data) { | 26 | $.get('index.php', { view: view, sort: sort }, function(data) { |
27 | $('#content').html(data); | 27 | $('#content').html(data); |
28 | }); | 28 | }); |
29 | } | 29 | } |
diff --git a/tpl/login.twig b/tpl/login.twig index 70c2190c..c3028795 100644 --- a/tpl/login.twig +++ b/tpl/login.twig | |||
@@ -16,9 +16,9 @@ | |||
16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if demo == 1 %}value="poche"{% endif %} /> | 16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if demo == 1 %}value="poche"{% endif %} /> |
17 | </div> | 17 | </div> |
18 | <div class="row"> | 18 | <div class="row"> |
19 | <label class="col w150p">{% trans "Stay signed in" %}</label> | 19 | <label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label> |
20 | <div class="col"> | 20 | <div class="col"> |
21 | <input type="checkbox" name="longlastingsession" tabindex="3"> | 21 | <input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3"> |
22 | <small class="inbl">{% trans "(Do not check on public computers)" %}</small> | 22 | <small class="inbl">{% trans "(Do not check on public computers)" %}</small> |
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |