aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-09-23 10:03:14 +0200
committercedricbonhomme <devnull@localhost>2010-09-23 10:03:14 +0200
commita515838d606e28c74a40c5077e7740e94cef8574 (patch)
treed37ea3e54d3ef72218bc113d6164b46d4bd28d66
parentAdded more comments. Cleaner code. (diff)
downloadnewspipe-a515838d606e28c74a40c5077e7740e94cef8574.tar.gz
newspipe-a515838d606e28c74a40c5077e7740e94cef8574.tar.bz2
newspipe-a515838d606e28c74a40c5077e7740e94cef8574.zip
Added a new icon for unread article(s).
-rw-r--r--css/img/email-follow.pngbin0 -> 1179 bytes
-rw-r--r--css/img/email-unread.png (renamed from css/img/email.png)bin556 -> 556 bytes
-rwxr-xr-xpyAggr3g470r.py10
3 files changed, 6 insertions, 4 deletions
diff --git a/css/img/email-follow.png b/css/img/email-follow.png
new file mode 100644
index 00000000..dee8352f
--- /dev/null
+++ b/css/img/email-follow.png
Binary files differ
diff --git a/css/img/email.png b/css/img/email-unread.png
index f2c0084b..f2c0084b 100644
--- a/css/img/email.png
+++ b/css/img/email-unread.png
Binary files differ
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 1d530137..e024b3f2 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -49,8 +49,10 @@ path = {'/css/style.css': {'tools.staticfile.on': True, \
'tools.staticfile.filename':utils.path+'/css/img/heart.png'}, \
'/css/img/heart_open.png': {'tools.staticfile.on': True, \
'tools.staticfile.filename':utils.path+'/css/img/heart_open.png'}, \
- '/css/img/email.png': {'tools.staticfile.on': True, \
- 'tools.staticfile.filename':utils.path+'/css/img/email.png'}, \
+ '/css/img/email-unread.png': {'tools.staticfile.on': True, \
+ 'tools.staticfile.filename':utils.path+'/css/img/email-unread.png'}, \
+ '/css/img/email-follow.png': {'tools.staticfile.on': True, \
+ 'tools.staticfile.filename':utils.path+'/css/img/email-follow.png'}, \
'/css/img/cross.png': {'tools.staticfile.on': True, \
'tools.staticfile.filename':utils.path+'/css/img/cross.png'}, \
'/var/qrcode': {'tools.staticdir.on': True,
@@ -100,10 +102,10 @@ class Root:
html += """<a href="/list_favorites/"><img src="/css/img/heart.png" title="Your favorites (%s)" /></a>\n""" % \
(self.nb_favorites,)
- html += """<a href="/list_notification"><img src="/css/img/email.png" title="Active e-mail notifications (%s)" /></a>\n""" % \
+ html += """<a href="/list_notification"><img src="/css/img/email-follow.png" title="Active e-mail notifications (%s)" /></a>\n""" % \
(self.nb_mail_notifications,)
- html += """<a href="/unread/All">Unread article(s): %s</a>\n""" % \
+ html += """<a href="/unread/All"><img src="/css/img/email-unread.png" title="Unread article(s): %s" /></a>\n""" % \
(self.nb_unread_articles,)
bgstack15