aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-03-02 00:15:49 +0100
committerThomas Citharel <tcit@tcit.fr>2015-03-02 00:15:49 +0100
commit059a3380341c439e1debb4921bbf023a3b424a4b (patch)
treefacfca653c08cca2cef72feb095b43b3cba80fcb /themes/default
parentb692691d7ddc1fa0e1ef1f7888dfd65f70677e27 (diff)
downloadwallabag-059a3380341c439e1debb4921bbf023a3b424a4b.tar.gz
wallabag-059a3380341c439e1debb4921bbf023a3b424a4b.tar.zst
wallabag-059a3380341c439e1debb4921bbf023a3b424a4b.zip
implement #1123
Diffstat (limited to 'themes/default')
-rwxr-xr-xthemes/default/css/style-default.css12
-rwxr-xr-xthemes/default/view.twig3
2 files changed, 15 insertions, 0 deletions
diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css
index da8703f2..8b18320d 100755
--- a/themes/default/css/style-default.css
+++ b/themes/default/css/style-default.css
@@ -1,7 +1,19 @@
1a.back span { 1a.back span {
2 background-image: url('../img/default/home.png');
3}
4
5a.previous span {
2 background-image: url('../img/default/left.png'); 6 background-image: url('../img/default/left.png');
3} 7}
4 8
9a.next span {
10 background-image: url('../img/default/right.png');
11}
12
13a.archiveandnext span {
14 background-image: url('../img/default/forward.png');
15}
16
5a.top span { 17a.top span {
6 background-image: url('../img/default/top.png'); 18 background-image: url('../img/default/top.png');
7} 19}
diff --git a/themes/default/view.twig b/themes/default/view.twig
index 44cbf41b..0d4ec174 100755
--- a/themes/default/view.twig
+++ b/themes/default/view.twig
@@ -5,10 +5,12 @@
5 {% include '_pocheit-form.twig' %} 5 {% include '_pocheit-form.twig' %}
6 <div id="article_toolbar"> 6 <div id="article_toolbar">
7 <ul> 7 <ul>
8 {% if navigate.previous %}<li><a href="./?view=view&amp;id={{ navigate.previousid|e }}" class="tool previous"><span>{% trans "Previous Article" %}</span></a></li>{% endif %}
8 <li><a href="./" title="{% trans "Return home" %}" class="tool back"><span>{% trans "Return home" %}</span></a></li> 9 <li><a href="./" title="{% trans "Return home" %}" class="tool back"><span>{% trans "Return home" %}</span></a></li>
9 <li><a href="#top" title="{% trans "Back to top" %}" class="tool top"><span>{% trans "Back to top" %}</span></a></li> 10 <li><a href="#top" title="{% trans "Back to top" %}" class="tool top"><span>{% trans "Back to top" %}</span></a></li>
10 <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> 11 <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li>
11 <li><a title="{% trans "Mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li> 12 <li><a title="{% trans "Mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li>
13 {% if navigate.next %}<li><a title="{% trans "Mark as read and go to next article" %}" class="tool archiveandnext" href="./?action=archive_and_next&amp;id={{ entry.id|e }}" id="markAsReadAndNext"><span>{% trans "Toggle mark as read and go to next article" %}</span></a></li>{% endif %}
12 <li><a title="{% trans "Favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="javascript: void(null);" id="setFav"><span>{% trans "Toggle favorite" %}</span></a></li> 14 <li><a title="{% trans "Favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="javascript: void(null);" id="setFav"><span>{% trans "Toggle favorite" %}</span></a></li>
13 <li><a title="{% trans "Delete" %}" class="tool delete" href="./?action=delete&amp;id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> 15 <li><a title="{% trans "Delete" %}" class="tool delete" href="./?action=delete&amp;id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li>
14 {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %} 16 {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %}
@@ -25,6 +27,7 @@
25 {% if constant('PDF') == 1 %}<li><a href="./?pdf&amp;method=id&amp;value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} 27 {% if constant('PDF') == 1 %}<li><a href="./?pdf&amp;method=id&amp;value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %}
26 <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&amp;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> 28 <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&amp;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>
27 {% if constant('SHOW_READPERCENT') == 1 %}<li><div id="readLeftPercent">0%</div></li>{% endif %} 29 {% if constant('SHOW_READPERCENT') == 1 %}<li><div id="readLeftPercent">0%</div></li>{% endif %}
30 {% if navigate.next %}<li><a href="./?view=view&amp;id={{ navigate.nextid|e }}" class="tool next"><span>{% trans "Next Article" %}</span></a></li>{% endif %}
28 </ul> 31 </ul>
29 </div> 32 </div>
30 <div id="article"> 33 <div id="article">