Jerome Leclanche : patches: Add the common WineHQ header.

Alexandre Julliard julliard at winehq.org
Tue Apr 26 04:49:01 CDT 2011


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

Author: Jerome Leclanche <adys.wh at gmail.com>
Date:   Mon Apr 25 22:25:19 2011 +0100

patches: Add the common WineHQ header.

---

 patches/patches.css |  101 ++++++++++++++++++++++++++++++++++++++++++++++++---
 patches/update      |   10 +++++-
 2 files changed, 105 insertions(+), 6 deletions(-)

diff --git a/patches/patches.css b/patches/patches.css
index 6e0e206..ee1f8d9 100644
--- a/patches/patches.css
+++ b/patches/patches.css
@@ -1,18 +1,109 @@
 /* WineHQ-ish look */
+
 body {
-    background-color: #E2E2E2;
-    color: black;
+    background-color: #000000;
+    color: #000000;
+    background-image: url("http://winehq.org/images/bg.jpg");
+    background-repeat: no-repeat;
     font-family: "bitstream vera sans", "verdana", "arial", "helvetica", sans-serif;
-    margin: 10px;
-    font-size: small;
+    margin: 0;
+    font-size: 10pt;
 }
 
 a:link    { text-decoration: none; }
 a:visited { text-decoration: none; }
 a:hover   { text-decoration: underline; }
 
+/* wine logo image */
+#logo_glass {
+    height: 157px;
+    left: 50px;
+    position: absolute;
+    top: 20px;
+    width: 100px;
+    z-index: 2;
+    border: none;
+}
+
+#logo_text {
+    height: 58px;
+    left: 110px;
+    position: absolute;
+    top: 40px;
+    width: 186px;
+    z-index: 3;
+}
+
+#logo_blurb {
+    color: #999;
+    font-size: 12px;
+    left: 130px;
+    position: absolute;
+    top: 92px;
+    z-index: 4;
+}
+
+#tabs {
+    margin: 0px;
+    padding: 0px;
+    position: absolute;
+    right: 10px;
+    top: 0px;
+    z-index: 6;
+}
+
+#tabs ul {
+    list-style: none;
+    margin: 0;
+    padding: 0;
+}
+
+#tabs li {
+    background-image: url("http://winehq.org/images/tab_u.png");
+    background-repeat: no-repeat;
+    float: left;
+    height: 28px;
+    margin: 0px 2px 0px 2px;
+    padding: 0;
+    text-align: center;
+    width: 112px;
+}
+
+#tabs li.s {
+    background-image: url("http://winehq.org/images/tab_s.png");
+}
+
+#tabs li.s a {
+    font-weight: bold;
+}
+
+#tabs li:hover {
+    background-image: url("http://winehq.org/images/tab_h.png");
+}
+
+#tabs a {
+    color: white;
+    display: block;
+    font-size: 16px;
+    height: 23px;
+    padding-top: 3px;
+    text-decoration: none;
+    width: 108px;
+}
+
+#main_content {
+    padding: 85px 10px 10px 100px;
+}
+#content {
+    background-color: white;
+    border-radius: 7px;
+    padding: 20px 20px 10px 80px;
+}
+
+img { border: 0; }
+
 div.main, div.legend {
-    margin: 10px 0 0 0;
+    margin: 25px 0 0;
     background-color: white;
     width: 100%;
     border: 1px solid #601919;
diff --git a/patches/update b/patches/update
index 66b7963..f92a64c 100755
--- a/patches/update
+++ b/patches/update
@@ -100,6 +100,15 @@ print INDEX start_html(-title=>"Patches list",
                        -encoding=>"utf-8",
                        -style=>{src=>"patches.css"});
 
+print INDEX "<div id=\"logo_glass\"><a href=\"/patches/\"><img src=\"http://winehq.org/images/winehq_logo_glass_sm.png\"></a></div>\n";
+print INDEX "<div id=\"logo_text\"><a href=\"/patches/\"><img src=\"http://winehq.org/images/winehq_logo_text.png\" alt=\"WineHQ\" title=\"WineHQ\"></a></div>\n";
+print INDEX "<div id=\"tabs\"><ul>",
+    "<li><a href=\"http://www.winehq.org/\">WineHQ</a></li>",
+    "<li><a href=\"http://wiki.winehq.org/\">Wiki</a></li>",
+    "<li><a href=\"http://appdb.winehq.org/\">AppDB</a></li>",
+    "<li><a href=\"http://bugs.winehq.org/\">Bugzilla</a></li>",
+    "<li><a href=\"http://forums.winehq.org/\">Forums</a></li></ul></div>\n";
+print INDEX "<div id=\"logo_blurb\">Wine source repository &ndash; Patch status</div>\n";
 print INDEX "<div id=\"main_content\"><div id=\"content\"><div class=\"main\">\n";
 print INDEX "<table class=\"main\"><tr><th class=\"id\">ID</th>",
     "<th class=\"status\">Status</th>",
@@ -178,7 +187,6 @@ foreach my $status (@legend)
     printf INDEX "<tr class=\"%s\"><td class=\"status %s\">%s</td><td class=\"causes\">%s</td></tr>\n",
            $row & 1 ? "odd" : "even", $status->[0], $status_descr{$status->[0]}, $status->[1];
     $row++;
-    
 }
 print INDEX "</table></div></div></div>\n";
 print INDEX end_html;




More information about the wine-cvs mailing list