diff options
author | Thomas Citharel <tcit@tcit.fr> | 2014-12-13 22:56:30 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2014-12-13 22:56:30 +0100 |
commit | 44b95cb81deae35f58e0058910afde2f2ffb9a60 (patch) | |
tree | 521cec627e487e873742fa628655e8f787d85d1e /themes/default | |
parent | 9c55ed0923273da886497cb62302a79622e34a74 (diff) | |
download | wallabag-44b95cb81deae35f58e0058910afde2f2ffb9a60.tar.gz wallabag-44b95cb81deae35f58e0058910afde2f2ffb9a60.tar.zst wallabag-44b95cb81deae35f58e0058910afde2f2ffb9a60.zip |
added reload function
Diffstat (limited to 'themes/default')
-rwxr-xr-x | themes/default/css/style-default.css | 3 | ||||
-rw-r--r-- | themes/default/img/default/reload.png | bin | 0 -> 343 bytes | |||
-rwxr-xr-x | themes/default/view.twig | 1 |
3 files changed, 4 insertions, 0 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/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 181e1284..e14a165c 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig | |||
@@ -19,6 +19,7 @@ | |||
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 | <li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate epub file">EPUB</a></li> | 21 | <li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate epub file">EPUB</a></li> |
22 | {% 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 %}} | ||
22 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display"><span>{% trans "Does this article appear wrong?" %}</span></a></li> | 23 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display"><span>{% trans "Does this article appear wrong?" %}</span></a></li> |
23 | {% if constant('SHOW_READPERCENT') == 1 %}<li><div id="readLeftPercent">0%</div></li>{% endif %} | 24 | {% if constant('SHOW_READPERCENT') == 1 %}<li><div id="readLeftPercent">0%</div></li>{% endif %} |
24 | </ul> | 25 | </ul> |