aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-26 14:36:23 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-26 14:36:23 +0100
commite7dafe62602cb008b198a41455338c6110cb19f6 (patch)
tree69fd5f9618d6b03f86065ad597b4e107b7161544
parentThe link to the source code is now at the bottoem of the HTML page. (diff)
downloadnewspipe-e7dafe62602cb008b198a41455338c6110cb19f6.tar.gz
newspipe-e7dafe62602cb008b198a41455338c6110cb19f6.tar.bz2
newspipe-e7dafe62602cb008b198a41455338c6110cb19f6.zip
Added CSS box for the main menu.
-rwxr-xr-xsource/css/style.css13
-rwxr-xr-xsource/pyAggr3g470r.py3
2 files changed, 15 insertions, 1 deletions
diff --git a/source/css/style.css b/source/css/style.css
index 51a02c29..7d6c0179 100755
--- a/source/css/style.css
+++ b/source/css/style.css
@@ -224,6 +224,19 @@ blockquote.right {
}
+/* Menu box */
+.menubox
+{
+
+padding:0px;
+border:2px solid gray;
+margin:0px;
+background:#C0C0C0;
+display: inline-block;
+}
+
+
+
/* CSS ToolTips */
.tooltip {
color: #FFF;
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index f7e3c21c..4be7df78 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -149,7 +149,7 @@ class pyAggr3g470r(object):
[""])[0])
html += htmlnav
html += self.create_right_menu()
- html += """<div class="left inner">\n"""
+ html += """<div class="left inner">\n<div class="menubox" width='*'>"""
if feeds:
html += '<a href="/management/"><img src="/img/management.png" title="Management" /></a>\n'
@@ -168,6 +168,7 @@ class pyAggr3g470r(object):
html += """<a href="/unread/"><img src="/img/unread.png" title="Unread article(s): %s" /></a>\n""" % \
(nb_unread_articles,)
html += '<a accesskey="F" href="/fetch/"><img src="/img/check-news.png" title="Check for news" /></a>\n'
+ html += '</div>'
# The main page display all the feeds.
bgstack15