summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Hopkins <marduk@gentoo.org>2005-10-10 02:29:49 +0000
committerAlbert Hopkins <marduk@gentoo.org>2005-10-10 02:29:49 +0000
commitcdf79cfdd5c9e509725271850d7a95549836098a (patch)
tree8214b8fa5af24a671a801ab3acad11957a45b3e6
parentCaching of Ebuild objects. When creating a __new__ Ebuild, if one already (diff)
downloadgentoo-cdf79cfdd5c9e509725271850d7a95549836098a.tar.gz
gentoo-cdf79cfdd5c9e509725271850d7a95549836098a.tar.bz2
gentoo-cdf79cfdd5c9e509725271850d7a95549836098a.zip
Message Of The Day is now HTMLtext and has it's own html id.
-rw-r--r--src/packages/__init__.py2
-rw-r--r--src/packages/style.css5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/packages/__init__.py b/src/packages/__init__.py
index 097836c626..3294607bf2 100644
--- a/src/packages/__init__.py
+++ b/src/packages/__init__.py
@@ -49,7 +49,7 @@ def _q_index(dummy):
# We basically return a flat file for the main content
body = open('%s/index.html' % curdir).read()
- sb1 = sidebox('motd', open('%s/motd' % curdir).read())
+ sb1 = sidebox('motd', htmltext('<span id="motd">%s</span>' % open('%s/motd' % curdir).read()))
## sb2 = sidebox('search', htmltext('<input type="text" name="search">'))
return page("Welcome to packages.gentoo.org", [htmltext(body), sb1],
noparent = True)
diff --git a/src/packages/style.css b/src/packages/style.css
index ca73f25ee7..f029ad6c91 100644
--- a/src/packages/style.css
+++ b/src/packages/style.css
@@ -587,3 +587,8 @@ div.changelog span.change {
border: solid 2px #D9D9D9;
background-color: white;
}
+
+span#motd:first-letter {
+ float-left;
+ font-size: 110%;
+}