From da3b2c72d49c8a2ba5bc675b1e1773db9a240917 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Wed, 17 Nov 2010 13:59:21 +0100 Subject: Added new icons. Deleted text menu. --- css/img/check-news.png | Bin 0 -> 1286 bytes css/img/email-follow.png | Bin 1179 -> 3547 bytes css/img/email-unread.png | Bin 556 -> 625 bytes css/img/heart-22x22.png | Bin 0 -> 1211 bytes css/img/history.png | Bin 0 -> 1660 bytes css/img/management.png | Bin 0 -> 1395 bytes css/img/mark-as-read.png | Bin 0 -> 1315 bytes css/style.css | 2 +- pyAggr3g470r.py | 27 +++++++++++++++++++-------- 9 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 css/img/check-news.png create mode 100644 css/img/heart-22x22.png create mode 100644 css/img/history.png create mode 100644 css/img/management.png create mode 100644 css/img/mark-as-read.png diff --git a/css/img/check-news.png b/css/img/check-news.png new file mode 100644 index 00000000..ba1faf3a Binary files /dev/null and b/css/img/check-news.png differ diff --git a/css/img/email-follow.png b/css/img/email-follow.png index dee8352f..9116363a 100644 Binary files a/css/img/email-follow.png and b/css/img/email-follow.png differ diff --git a/css/img/email-unread.png b/css/img/email-unread.png index f2c0084b..db08c179 100644 Binary files a/css/img/email-unread.png and b/css/img/email-unread.png differ diff --git a/css/img/heart-22x22.png b/css/img/heart-22x22.png new file mode 100644 index 00000000..a557c26e Binary files /dev/null and b/css/img/heart-22x22.png differ diff --git a/css/img/history.png b/css/img/history.png new file mode 100644 index 00000000..eb89266a Binary files /dev/null and b/css/img/history.png differ diff --git a/css/img/management.png b/css/img/management.png new file mode 100644 index 00000000..625e64b9 Binary files /dev/null and b/css/img/management.png differ diff --git a/css/img/mark-as-read.png b/css/img/mark-as-read.png new file mode 100644 index 00000000..acdecd19 Binary files /dev/null and b/css/img/mark-as-read.png differ diff --git a/css/style.css b/css/style.css index 5a649c39..295ea3c0 100755 --- a/css/style.css +++ b/css/style.css @@ -145,7 +145,7 @@ hr { } /* Navigation bars */ -.nav_container { position:fixed; top:220px; right:60px; margin:0px; padding:0px; white-space:nowrap; z-index:11; clear:both;} +.nav_container { position:fixed; top:160px; right:60px; margin:0px; padding:0px; white-space:nowrap; z-index:11; clear:both;} .nav_container.horizontal { position:absolute; white-space:normal; z-index:25; width:670px; } .nav_container.horizontal div { float:right; padding-right:10px; } diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 0069d81a..4e65cc16 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -70,10 +70,20 @@ path = {'/css/style.css': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'/css/img/heart_open.png'}, \ '/css/img/email-unread.png': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'/css/img/email-unread.png'}, \ + '/css/img/heart-22x22.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/heart-22x22.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'}, \ + '/css/img/management.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/management.png'}, \ + '/css/img/history.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/history.png'}, \ + '/css/img/mark-as-read.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/mark-as-read.png'}, \ + '/css/img/check-news.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/check-news.png'}, \ '/var/qrcode': {'tools.staticdir.on': True, 'tools.staticdir.dir': os.path.join(utils.path, './var/qrcode')}} @@ -119,12 +129,18 @@ class Root: html += """
\n""" if self.articles: - html += """\n""" % \ + html += """\n""" % \ (self.nb_favorites,) html += """\n""" % \ (self.nb_mail_notifications,) + + html += '\n' + html += '\n' + html += ' | ' + html += '\n' + html += '\n' if self.nb_unread_articles != 0: html += """\n""" % \ (self.nb_unread_articles,) @@ -192,10 +208,6 @@ class Root: Create the right menu. """ html = """
\n""" - html += """Management
\n""" - html += """History
\n""" - html += """Fetch all feeds
\n""" - html += """Mark articles as read\n""" html += """
\n""" html += "
\n" # insert the list of feeds in the menu @@ -266,8 +278,7 @@ class Root: html += """\t\n""" html += """\t\n""" html += """\t\n""" - html += """\n""" - + html += """\n\t\n\n""" html += "
\n\n" # Some statistics @@ -285,7 +296,7 @@ class Root: # Tags cloud html += 'Minimum size of a word:' html += '
' - html += '' + html += """""" % (word_size) html += '
\n' html += '

Tag cloud

\n' html += '
' + \ -- cgit