harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadi...@apache.org
Subject svn commit: r539415 [5/5] - in /harmony/standard/site: ./ docs/ docs/documentation/ docs/subcomponents/buildtest/ docs/subcomponents/classlibrary/ docs/subcomponents/drlvm/ docs/subcomponents/jchevm/ docs/subcomponents/stresstest/ xdocs/ xdocs/styleshe...
Date Fri, 18 May 2007 12:18:20 GMT
Modified: harmony/standard/site/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/harmony/standard/site/xdocs/stylesheets/site.vsl?view=diff&rev=539415&r1=539414&r2=539415
==============================================================================
--- harmony/standard/site/xdocs/stylesheets/site.vsl (original)
+++ harmony/standard/site/xdocs/stylesheets/site.vsl Fri May 18 05:18:16 2007
@@ -2,11 +2,11 @@
 
 <!--
 Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
+contributor license agreements. See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
+the License. You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
@@ -186,16 +186,16 @@
 #end
 
 #macro (getProjectImage)
-#if ($project.getChild("logo"))
-#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
-<td>
-#if ( $logoString.startsWith("/") )
-<a href="$project.getAttributeValue("href")"><img  src="$relativePath$logoString"
alt="$project.getChild("logo").getText()" /></a>
-#else
-<a href="$project.getAttributeValue("href")"><img  src="$relativePath/$logoString"
alt="$project.getChild("logo").getText()" /></a>
-#end
-</td>
-#end
+  #if ($project.getChild("logo"))
+    #set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+    #if ( $logoString.startsWith("/") )
+      <a id="harmonyLogo" href="$project.getAttributeValue("href")"><img src="$relativePath$logoString"
alt="$project.getChild("logo").getText()"
+          width="415" height="50" /></a>
+    #else
+      <a id="harmonyLogo" href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString"
alt="$project.getChild("logo").getText()"
+          width="415" height="50" /></a>
+    #end
+  #end
 #end
 
 #macro (printMeta $metaElement)
@@ -241,70 +241,50 @@
             #set ($csspath = "${relativePath}/")
         #end
 
-        <link rel="stylesheet" type="text/css" href="${csspath}site.css"/>
+        <link rel="stylesheet" type="text/css" href="${csspath}site.css" media="all" />
+        <link rel="stylesheet" type="text/css" href="${csspath}screen.css" media="screen"
/>
+        <link rel="stylesheet" type="text/css" href="${csspath}print.css" media="print"
/>
         </head>
 
-        <body>        
-            <table  width="100%" cellspacing="0">
-                <!-- TOP IMAGE -->
-                <tr>
-                    <td align='LEFT'>
-                    <table><tr><td>
-                    #getProjectImage()</td>
-                    </td></tr></table>
-                    </td>
-                    <td align='RIGHT'>
-                    <a href="http://www.us.apachecon.com/">
-                    <img src="http://www.apache.org/ads/ApacheCon/2007-usa-234x60.png"
-                    	alt="ApacheCon US 2007" /></a>                    
-                    </td>
-                </tr>
-            </table>
-            <table width="100%" cellspacing="4">
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
+        <body>
+            <div id="pageHeader">
+            <!-- Logo -->
+            #getProjectImage()
+
+            <!-- Advertisement -->
+            <a href="http://www.apachecon.com/2007/EU/index.html">
+                <img id="advertisement"
+                     src="http://www.apache.org/ads/ApacheCon/2007-usa-234x60.png"
+                     width="234" height="60"
+                     alt="ApacheCon US 2007" /></a>
+            </div> <!-- pageHeader -->
 
-                <tr>
+            <div id="navigationmenu">
                     <!-- LEFT SIDE NAVIGATION -->
-                    <td class="menuItem" width="20%" nowrap="true">
+                #makeProject()
+            </div>
 
-                    <!-- special ACon Logo - leave here for next time
-                    <a href="http://www.us.apachecon.com/">
-                        <img src="http://www.apache.org/ads/ApacheCon/2007-europe-125x125.png"
-                             alt="ApacheCon Europe 2007" />
-                    </a> -->
-
-                   <!-- regular menu -->
-
-                    #makeProject()
-                    </td>
-                    <td width="80%" valign="top"><a name="top"></a>
-                    #set ($allSections = $root.getChild("body").getChildren("section"))
-                    #foreach ( $section in $allSections )
-                        #section ($section)
-                    #end
-
-                    #set ($allInclude = $root.getChild("body").getChildren("docinclude"))
-                    #foreach($inc in $allInclude)
-                        #docinclude($inc.getAttributeValue("name"))
-                    #end
-                    </td>
-                </tr>
-
-                <!-- FOOTER -->
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
-                <tr><td colspan="2">
-                    <div class="special"><em>
-                    Copyright &#169; 2003-2007, The Apache Software Foundation
-                    </em></div>
-                </td></tr>
-            </table>
+            <!-- MAIN CONTENT -->
+            <div id="top">
+                #set ($allSections = $root.getChild("body").getChildren("section"))
+                #foreach ( $section in $allSections )
+                    #section ($section)
+                #end
+
+                #set ($allInclude = $root.getChild("body").getChildren("docinclude"))
+                #foreach($inc in $allInclude)
+                    #docinclude($inc.getAttributeValue("name"))
+                #end
+            </div> <!-- top aka Main Content -->
+
+            <!-- FOOTER -->
+            <div id="pageFooter" class="special"><em>
+                Copyright &#169; 2003-2007, The Apache Software Foundation
+            </em></div>
         </body>
     </html>
 #end
+
 
 
 



Mime
View raw message