aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/courgette
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-11-19 16:27:56 +0100
committerThomas Citharel <tcit@tcit.fr>2014-11-19 16:27:56 +0100
commitc8b4ef7fed01c4d94ac9d2325bd2c6e97f831bad (patch)
tree2e7adf0ae6b75205ea87ae6a1a06565ee392cca5 /themes/courgette
parentb0f9f5ac21b5caef430b0b5412443fd39ee50455 (diff)
downloadwallabag-c8b4ef7fed01c4d94ac9d2325bd2c6e97f831bad.tar.gz
wallabag-c8b4ef7fed01c4d94ac9d2325bd2c6e97f831bad.tar.zst
wallabag-c8b4ef7fed01c4d94ac9d2325bd2c6e97f831bad.zip
implementing carrot into wallabag
Diffstat (limited to 'themes/courgette')
-rwxr-xr-xthemes/courgette/_view.twig1
-rwxr-xr-xthemes/courgette/css/style-default.css6
-rw-r--r--themes/courgette/img/default/carrot.pngbin0 -> 718 bytes
3 files changed, 6 insertions, 1 deletions
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 @@
12 {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&amp;body={{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email" title="{% trans "email" %}"><span>{% trans "email" %}</span></a></li>{% endif %} 12 {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&amp;body={{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email" title="{% trans "email" %}"><span>{% trans "email" %}</span></a></li>{% endif %}
13 {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&amp;title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} 13 {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&amp;title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %}
14 {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li class="flattrli"><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 %} 14 {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li class="flattrli"><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 %}
15 {% 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 %}
15 <li><a href="./?epub&amp;method=id&amp;value={{ entry.id|e }}" title="Generate epub file">EPUB</a></li> 16 <li><a href="./?epub&amp;method=id&amp;value={{ entry.id|e }}" title="Generate epub file">EPUB</a></li>
16 <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&amp;body={{ entry.url|url_encode }}" title="{% trans "this article appears wrong?" %}" class="tool bad-display"><span>{% trans "this article appears wrong?" %}</span></a></li> 17 <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&amp;body={{ entry.url|url_encode }}" title="{% trans "this article appears wrong?" %}" class="tool bad-display"><span>{% trans "this article appears wrong?" %}</span></a></li>
17 </ul> 18 </ul>
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 {
38 background-image: url('../img/default/flattr.png'); 38 background-image: url('../img/default/flattr.png');
39} 39}
40 40
41a.carrot span {
42 background-image: url('../img/default/carrot.png')
43}
44
41a.email span { 45a.email span {
42 background-image: url('../img/default/envelop.png'); 46 background-image: url('../img/default/envelop.png');
43} 47}
@@ -56,4 +60,4 @@ a.bad-display span {
56 60
57a.reading-time span { 61a.reading-time span {
58 background-image: url('../img/default/clock.png'); 62 background-image: url('../img/default/clock.png');
59} 63} \ 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
--- /dev/null
+++ b/themes/courgette/img/default/carrot.png
Binary files differ