diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-18 20:01:56 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-18 20:01:56 +0200 |
commit | 143f550ba6bee8c13ce80a753fe6f15a20a551f1 (patch) | |
tree | 26ff1bb46df5ad5c1dbf711fb323a7659a715345 /themes/baggy | |
parent | 5d49f06220d3a8f1c731a6cea7f39fd71e8c774d (diff) | |
parent | 729c89aec41c7f53411deb43389e2b775a29d073 (diff) | |
download | wallabag-143f550ba6bee8c13ce80a753fe6f15a20a551f1.tar.gz wallabag-143f550ba6bee8c13ce80a753fe6f15a20a551f1.tar.zst wallabag-143f550ba6bee8c13ce80a753fe6f15a20a551f1.zip |
Merge pull request #1814 from wallabag/dev
Wallabag 1.9.2
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/_head.twig | 1 | ||||
-rwxr-xr-x | themes/baggy/css/messages.css | 23 | ||||
-rwxr-xr-x | themes/baggy/home.twig | 2 | ||||
-rwxr-xr-x | themes/baggy/view.twig | 9 |
4 files changed, 24 insertions, 11 deletions
diff --git a/themes/baggy/_head.twig b/themes/baggy/_head.twig index 9ca51cd2..e959ec3e 100755 --- a/themes/baggy/_head.twig +++ b/themes/baggy/_head.twig | |||
@@ -45,7 +45,6 @@ | |||
45 | 45 | ||
46 | <script> | 46 | <script> |
47 | var baseurl = "{{ poche_url }}"; | 47 | var baseurl = "{{ poche_url }}"; |
48 | console.log(baseurl); | ||
49 | var data = { | 48 | var data = { |
50 | 49 | ||
51 | "name": "wallabag", | 50 | "name": "wallabag", |
diff --git a/themes/baggy/css/messages.css b/themes/baggy/css/messages.css index 42da70b3..5854e731 100755 --- a/themes/baggy/css/messages.css +++ b/themes/baggy/css/messages.css | |||
@@ -1,3 +1,20 @@ | |||
1 | .messages { | ||
2 | display: block; | ||
3 | clear: both; | ||
4 | width: 400px; | ||
5 | margin: 10px auto 10px; | ||
6 | padding: 10px 0; | ||
7 | -moz-border-radius: 4px; | ||
8 | border-radius: 4px; | ||
9 | } | ||
10 | |||
11 | .messages p { | ||
12 | margin: 3px 0 3px 10px !important; | ||
13 | padding: 0 10px 0 23px !important; | ||
14 | font-size: 14px; | ||
15 | line-height: 16px; | ||
16 | } | ||
17 | |||
1 | .messages.error.install { | 18 | .messages.error.install { |
2 | border: 1px solid #c42608; | 19 | border: 1px solid #c42608; |
3 | color: #c00 !important; | 20 | color: #c00 !important; |
@@ -16,4 +33,10 @@ | |||
16 | border: 1px solid #6dc70c; | 33 | border: 1px solid #6dc70c; |
17 | background: #e0fbcc !important; | 34 | background: #e0fbcc !important; |
18 | text-align: left; | 35 | text-align: left; |
36 | } | ||
37 | |||
38 | .messages.information, | ||
39 | .messages.info { | ||
40 | border: 1px solid #82aee7; | ||
41 | background: #dfebfb; | ||
19 | } \ No newline at end of file | 42 | } \ No newline at end of file |
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index e1b78a26..9518332f 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -47,7 +47,7 @@ | |||
47 | {{ nb_results }} {% trans "articles" %} | 47 | {{ nb_results }} {% trans "articles" %} |
48 | {% endif %} | 48 | {% endif %} |
49 | {% if view == 'home' or view == 'fav' or view == 'archive' %} | 49 | {% if view == 'home' or view == 'fav' or view == 'archive' %} |
50 | <a href="?action=random&view={{ view }}" class="icon icon-random"><span> {% trans "random" %}</span></a>{% endif %} | 50 | <a href="?action=random&view={{ view }}" title="{% trans "random" %}" class="icon icon-random"><span> {% trans "random" %}</span></a>{% endif %} |
51 | </div> | 51 | </div> |
52 | {{ page_links | raw }} | 52 | {{ page_links | raw }} |
53 | </div> | 53 | </div> |
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 9ee64fc0..1381519c 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig | |||
@@ -113,14 +113,5 @@ | |||
113 | 113 | ||
114 | // use keyboard to do actions | 114 | // use keyboard to do actions |
115 | actionArticle('{{ entry.id|e }}'); | 115 | actionArticle('{{ entry.id|e }}'); |
116 | |||
117 | // swipe to right or left on mobile to navigate | ||
118 | $('article').on("swiperight", function(){ | ||
119 | goLeft('?view=view&id={{ navigate.nextid|e }}'); | ||
120 | }); | ||
121 | $('article').on("swipeleft", function(){ | ||
122 | goRight('?view=view&id={{ navigate.previousid|e }}'); | ||
123 | }); | ||
124 | |||
125 | </script> | 116 | </script> |
126 | {% endblock %} | 117 | {% endblock %} |