From c8b4ef7fed01c4d94ac9d2325bd2c6e97f831bad Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 19 Nov 2014 16:27:56 +0100 Subject: implementing carrot into wallabag --- themes/baggy/css/main.css | 1 - themes/baggy/view.twig | 3 ++- themes/courgette/_view.twig | 1 + themes/courgette/css/style-default.css | 6 +++++- themes/courgette/img/default/carrot.png | Bin 0 -> 718 bytes themes/default/css/style-default.css | 4 ++++ themes/default/img/default/carrot.png | Bin 0 -> 718 bytes themes/default/view.twig | 2 +- 8 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 themes/courgette/img/default/carrot.png create mode 100644 themes/default/img/default/carrot.png (limited to 'themes') diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 028c8b4e..76d92003 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css @@ -1046,4 +1046,3 @@ pre code { width: 100%; } } - diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 53a9ee69..fdc544bc 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -16,6 +16,7 @@ {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %} ({{ flattr.numflattrs }})
  • {% endif %}{% endif %} + {% if constant('CARROT') == 1 %}
  • Carrot
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • EPUB
  • {% trans "Does this article appear wrong?" %}
  • @@ -95,4 +96,4 @@ }); }); -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/themes/courgette/_view.twig b/themes/courgette/_view.twig index c5c916c0..129a622f 100755 --- a/themes/courgette/_view.twig +++ b/themes/courgette/_view.twig @@ -12,6 +12,7 @@ {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numflattrs }}
  • {% endif %}{% endif %} + {% if constant('CARROT') == 1 %}
  • {% trans "carrot" %}
  • {% endif %}
  • EPUB
  • {% trans "this article appears wrong?" %}
  • diff --git a/themes/courgette/css/style-default.css b/themes/courgette/css/style-default.css index 3377a75b..297f86ae 100755 --- a/themes/courgette/css/style-default.css +++ b/themes/courgette/css/style-default.css @@ -38,6 +38,10 @@ a.flattr span { background-image: url('../img/default/flattr.png'); } +a.carrot span { + background-image: url('../img/default/carrot.png') +} + a.email span { background-image: url('../img/default/envelop.png'); } @@ -56,4 +60,4 @@ a.bad-display span { a.reading-time span { background-image: url('../img/default/clock.png'); -} +} \ No newline at end of file diff --git a/themes/courgette/img/default/carrot.png b/themes/courgette/img/default/carrot.png new file mode 100644 index 00000000..5fc17273 Binary files /dev/null and b/themes/courgette/img/default/carrot.png differ diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 889a9f5c..d00647ab 100755 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css @@ -38,6 +38,10 @@ a.flattr span { background-image: url('../img/default/flattr.png'); } +a.carrot span { + background-image: url('../img/default/carrot.png') +} + a.email span { background-image: url('../img/default/envelop.png'); } diff --git a/themes/default/img/default/carrot.png b/themes/default/img/default/carrot.png new file mode 100644 index 00000000..5fc17273 Binary files /dev/null and b/themes/default/img/default/carrot.png differ diff --git a/themes/default/view.twig b/themes/default/view.twig index dbbbde3c..b3f6d50e 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -15,6 +15,7 @@ {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numflattrs }}
  • {% endif %}{% endif %} + {% if constant('CARROT') == 1 %}
  • {% trans "carrot" %}
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • EPUB
  • {% trans "Does this article appear wrong?" %}
  • @@ -118,4 +119,3 @@ }); {% endblock %} - -- cgit v1.2.3