Jeremy Newman : adding RSS news link

Jeremy Newman jnewman at winehq.org
Mon Dec 10 15:04:38 CST 2007


Module: website
Branch: master
Commit: f58cce7836b2f8666b4bf26ebc9674e1ee630a0b
URL:    http://source.winehq.org/git/website.git/?a=commit;h=f58cce7836b2f8666b4bf26ebc9674e1ee630a0b

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Mon Dec 10 15:04:35 2007 -0600

adding RSS news link

---

 images/feed.gif                          |  Bin 0 -> 652 bytes
 include/themes/winehq/home_page.template |    5 ++++-
 winehq_styles.css                        |   16 ++++++++++++++++
 3 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/images/feed.gif b/images/feed.gif
new file mode 100644
index 0000000..b0e4adf
Binary files /dev/null and b/images/feed.gif differ
diff --git a/include/themes/winehq/home_page.template b/include/themes/winehq/home_page.template
index f38562f..58bb25e 100644
--- a/include/themes/winehq/home_page.template
+++ b/include/themes/winehq/home_page.template
@@ -1,8 +1,11 @@
 <table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr valign=top align=left>
+<tr valign="top" align="left">
 <td width="70%">
     {$about_box}
     {$news_box}
+    <ul class="rss">
+        <li><a href="{$root}/?rss=1">WineHQ News RSS Feed</a></li>
+    </ul>
 </td>
 <td width="30%">
     {$latest_box}
diff --git a/winehq_styles.css b/winehq_styles.css
index f9e024f..5cf3bcc 100644
--- a/winehq_styles.css
+++ b/winehq_styles.css
@@ -90,6 +90,22 @@ p.indent            { padding-left: 1em; padding-right: 1em;}
 .rowtitle           { background-color: black; color: white; font-weight: bold; }
 .commandWidth       { width: 500px; padding: 5px; }
 
+/* RSS Feed Links */
+ul.rss {
+  list-style: none;
+  padding: 0 0 0 2px;
+  margin: 0;
+}
+ul.rss li {
+  background: url("./images/feed.gif") no-repeat 0 1px;
+  padding: 0px 0 0px 0px;
+  height: 18px;
+}
+ul.rss li a {
+  font-size: 10px;
+  padding: 0 0 0 18px;
+}
+
 /* Generic Buttons */
 .button             { background-color: #A50D0D; color: #ffffff; font-family: Sans-Serif; font-size: 12px; padding: 0; }
 .searchInput        { background-color: #FFFFFF; color: #000000; font-family: Sans-Serif; font-size: 12px; padding: 0; }




More information about the wine-cvs mailing list