diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-01 12:23:30 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-01 12:23:30 +0100 |
commit | 8f209e8a268e198bb449021c30fc783d69ee9818 (patch) | |
tree | 97f61995494371b762619bfc314bca5766fe6e46 /themes/default | |
parent | 308fca6b78a30729bd0a2cf34bc7a67bd7b81362 (diff) | |
parent | fae15c9f84394f905e5237a1afc10364aeb42dd0 (diff) | |
download | wallabag-8f209e8a268e198bb449021c30fc783d69ee9818.tar.gz wallabag-8f209e8a268e198bb449021c30fc783d69ee9818.tar.zst wallabag-8f209e8a268e198bb449021c30fc783d69ee9818.zip |
Merge branch 'dev' into savewithtags
Diffstat (limited to 'themes/default')
-rwxr-xr-x | themes/default/css/style-default.css | 3 | ||||
-rwxr-xr-x | themes/default/css/style.css | 10 | ||||
-rwxr-xr-x | themes/default/home.twig | 3 | ||||
-rw-r--r-- | themes/default/img/default/dice.png | bin | 0 -> 243 bytes | |||
-rw-r--r-- | themes/default/img/default/reload.png | bin | 0 -> 343 bytes | |||
-rwxr-xr-x | themes/default/view.twig | 1 |
6 files changed, 16 insertions, 1 deletions
diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 4406d48f..666c4a28 100755 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css | |||
@@ -67,3 +67,6 @@ a.bad-display span { | |||
67 | a.print span { | 67 | a.print span { |
68 | background-image: url('../img/default/print.png'); | 68 | background-image: url('../img/default/print.png'); |
69 | } | 69 | } |
70 | a.reload span { | ||
71 | background-image: url('../img/default/reload.png'); | ||
72 | } | ||
diff --git a/themes/default/css/style.css b/themes/default/css/style.css index b25373d6..a122dc54 100755 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css | |||
@@ -151,6 +151,16 @@ a:visited { | |||
151 | text-indent: -9999px; | 151 | text-indent: -9999px; |
152 | } | 152 | } |
153 | 153 | ||
154 | .random { | ||
155 | display: inline-block; | ||
156 | width: 16px; | ||
157 | height: 16px; | ||
158 | overflow: hidden; | ||
159 | text-align: left; | ||
160 | text-indent: -9999px; | ||
161 | background-image: url('../img/default/dice.png'); | ||
162 | } | ||
163 | |||
154 | /*** ***/ | 164 | /*** ***/ |
155 | 165 | ||
156 | /*** ARTICLE PAGE ***/ | 166 | /*** ARTICLE PAGE ***/ |
diff --git a/themes/default/home.twig b/themes/default/home.twig index b9000559..abc96af8 100755 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -31,7 +31,8 @@ | |||
31 | {% block pager %} | 31 | {% block pager %} |
32 | {% if nb_results > 1 %} | 32 | {% if nb_results > 1 %} |
33 | <div class="results"> | 33 | <div class="results"> |
34 | <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}</div> | 34 | <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %} |
35 | <a class="random" href="?view=view&id={{ random }}"><span>{% trans "random" %}</span></a></div> | ||
35 | {{ page_links | raw }} | 36 | {{ page_links | raw }} |
36 | </div> | 37 | </div> |
37 | {% elseif nb_results == 1 %} | 38 | {% elseif nb_results == 1 %} |
diff --git a/themes/default/img/default/dice.png b/themes/default/img/default/dice.png new file mode 100644 index 00000000..70af6d0b --- /dev/null +++ b/themes/default/img/default/dice.png | |||
Binary files differ | |||
diff --git a/themes/default/img/default/reload.png b/themes/default/img/default/reload.png new file mode 100644 index 00000000..4c0528e7 --- /dev/null +++ b/themes/default/img/default/reload.png | |||
Binary files differ | |||
diff --git a/themes/default/view.twig b/themes/default/view.twig index 8f3a26c3..be8bf99e 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig | |||
@@ -18,6 +18,7 @@ | |||
18 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numFlattrs }}</a></li>{% endif %}{% endif %} | 18 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numFlattrs }}</a></li>{% endif %}{% endif %} |
19 | {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon" target="_blank" title="{% trans "carrot" %}"><span>{% trans "carrot" %}</span></a></li>{% endif %} | 19 | {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon" target="_blank" title="{% trans "carrot" %}"><span>{% trans "carrot" %}</span></a></li>{% endif %} |
20 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} | 20 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} |
21 | {% if constant('RELOAD_ARTICLE') == 1 %}<li><a class="tool reload" href="./?action=reload_article&id={{ entry.id|e }}" title="{% trans "Reload article" %}"><span>{% trans "Reload article" %}</span></a></li>{% endif %}} | ||
21 | {% if constant('EPUB') == 1 %}<li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %} | 22 | {% if constant('EPUB') == 1 %}<li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %} |
22 | {% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} | 23 | {% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} |
23 | {% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} | 24 | {% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} |