From e011b9fed970eb51decff2465a0d4441670f077d Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 15 Apr 2010 13:41:42 +0200 Subject: Added images and two links on the main page. --- pyAggr3g470r.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index f0a2182a..661d3251 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -42,6 +42,8 @@ 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'}, \ '/var/histogram.png':{'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'var/histogram.png'}} @@ -72,6 +74,12 @@ class Root: html += self.create_right_menu() html += """
\n""" + if self.articles: + html += """\n""" % \ + sum([len([article for article in self.articles[feed_id] if article[7]=="1"]) for feed_id in self.feeds.keys()]) + + html += """\n""" + for rss_feed_id in self.articles.keys(): html += """

%s -- cgit