logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-site/src/xdocs/stylesheets site.vsl
Date Mon, 22 Dec 2003 15:08:40 GMT
ceki        2003/12/22 07:08:40

  Modified:    docs     index.html
               docs/site news.html
               src/xdocs index.xml
               src/xdocs/site bylaws.xml
               src/xdocs/stylesheets site.vsl
  Log:
  added nice custom layout
  
  Revision  Changes    Path
  1.7       +90 -66    logging-site/docs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/logging-site/docs/index.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- index.html	22 Dec 2003 13:28:35 -0000	1.6
  +++ index.html	22 Dec 2003 15:08:40 -0000	1.7
  @@ -2,6 +2,9 @@
   
   <!-- Content Stylesheet for Site -->
   
  +    
  +    
  +
           
   <!-- start the processing -->
       <!-- ====================================================================== -->
  @@ -18,7 +21,9 @@
              
                                        <meta  name="keywords"  content="java, logging,
tracing, component, framework, API, log4j"  />
    
  -                        
  +                         
  +            <link href="./css/site.css" rel="stylesheet" type="text/css"/>
  +
               <title>Logging Services - Welcome</title>
           </head>
   
  @@ -26,12 +31,15 @@
               <table border="0" width="100%" cellspacing="0">
                   <!-- TOP IMAGE -->
                   <tr>
  -                    <td colspan="2">
  -<a href="http://jakarta.apache.org"><img src="http://logging.apache.org/images/ls-logo.jpg"
align="left" border="0"/></a>
  -</td>
  +                          <td colspan="2">
  +      <a href="http://logging.apache.org">
  +        <img src="http://logging.apache.org/images/ls-logo.jpg" align="left" border="0"/>
  +      </a>
  +    </td>
  +  
                   </tr>
               </table>
  -            <table border="0" width="100%" cellspacing="4">
  +            <table border="0" width="100%" cellspacing="4" cellpadding="0">
                   <tr><td colspan="2">
                       <hr noshade="" size="1"/>
                   </td></tr>
  @@ -39,68 +47,83 @@
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
                       <td width="20%" valign="top" nowrap="true">
  -                    
  -    <!-- ============================================================ -->
  -
  -                <p><strong>About Logging Services</strong></p>
  -        <ul>
  -                    <li>    <a href="./index.html">Welcome</a>
  -</li>
  -                    <li>    <a href="./site/news.html">News</a>
  -</li>
  -                </ul>
  -            <p><strong>Projects</strong></p>
  -        <ul>
  -                    <li>    <a href=".">log4cxx  (in incubation)</a>
  -</li>
  -                    <li>    <a href=".">log4cplus  (in incubation)</a>
  -</li>
  -                    <li>    <a href="./log4j/docs">log4j</a>
  -</li>
  -                    <li>    <a href=".">log4net (in incubation)</a>
  -</li>
  -                    <li>    <a href=".">log4php (in incubation)</a>
  -</li>
  -                </ul>
  -            <p><strong>Information</strong></p>
  -        <ul>
  -                    <li>    <a href="./site/mission.html">Mission statement</a>
  -</li>
  -                    <li>    <a href="./site/bylaws.html">Bylaws</a>
  -</li>
  -                    <li>    <a href=".">License</a>
  -</li>
  -                    <li>    <a href="./site/who-we-are.html">Who we are</a>
  -</li>
  -                </ul>
  -            <p><strong>Support</strong></p>
  -        <ul>
  -                    <li>    <a href="./site/cvs-repositories.html">CVS repositories</a>
  -</li>
  -                    <li>    <a href="./site/mailing-lists.html">Mailing lists</a>
  -</li>
  -                    <li>    <a href="./site/bug-databse.html">Bug database</a>
  -</li>
  -                </ul>
  -                        </td>
  +                      <!-- ============================================================
-->
  +  <table cellpadding="1" cellspacing="0" bgcolor="#999999">
  +  <tr><td>
  +      <table border="0" cellspacing="2" cellpadding="2" bgcolor="#EEEEEE">
  +      	      	      	  <tr >
  +      	    <td><strong>About Logging Services</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="./index.html">Welcome</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="./site/news.html">News</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      	  <tr >
  +      	    <td><strong>Projects</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href=".">log4cxx
 (in incubation)</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href=".">log4cplus
 (in incubation)</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="./log4j/docs">log4j</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href=".">log4net
(in incubation)</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href=".">log4php
(in incubation)</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      	  <tr >
  +      	    <td><strong>Information</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="./site/mission.html">Mission
statement</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="./site/bylaws.html">Bylaws</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href=".">License</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="./site/who-we-are.html">Who
we are</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      	  <tr >
  +      	    <td><strong>Support</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="./site/cvs-repositories.html">CVS
repositories</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="./site/mailing-lists.html">Mailing
lists</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="./site/bug-databse.html">Bug
database</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      </table>
  +   </td></tr>
  +   </table>
  +   
  +                    </td>
                       <td width="80%" align="left" valign="top">
  -                    
  -                                                                    <table border="0"
cellspacing="0" cellpadding="2" width="100%">
  -      <tr><td bgcolor="#FFFFFF">
  -        <font color="#2222AA" face="arial,helvetica,sanserif" size="+1">
  -          <a name="Welcome to Logging Services Project @ Apache">&nbsp;<strong>Welcome
to Logging Services Project @ Apache</strong></a>
  -        </font>
  -      </td></tr>
  -      <tr><td>&nbsp;</td></r> 
  -      <tr><td>
  -        <blockquote>
  -                                    <p>Work in progress</p>
  -                            </blockquote>
  -        </p>
  -      </td></tr>
  -      <tr><td><br/></td></tr>
  -    </table>
  -                                        </td>
  +                       <div style="position: relative; left: 8px;">
  +	                                                                  <h1>Welcome to
Logging Services Project @ Apache</h1>
  +                                                                                      
            <p>Work in progress. Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.Work in progress.Work
  +      in progress.Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.</p>
  +                                                                                      
            <h2>some subsection</h2>
  +                                                                                      
            <p>Work in progress. Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.Work in progress.Work
  +      in progress.Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.
  +      </p>
  +                                                                       </div>
  +
  +                    </td>
                   </tr>
   
                   <!-- FOOTER -->
  @@ -116,6 +139,7 @@
           </body>
       </html>
   <!-- end the processing -->
  +
   
   
   
  
  
  
  1.5       +80 -52    logging-site/docs/site/news.html
  
  Index: news.html
  ===================================================================
  RCS file: /home/cvs/logging-site/docs/site/news.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- news.html	22 Dec 2003 13:27:18 -0000	1.4
  +++ news.html	22 Dec 2003 15:08:40 -0000	1.5
  @@ -2,6 +2,9 @@
   
   <!-- Content Stylesheet for Site -->
   
  +    
  +    
  +
           
   <!-- start the processing -->
       <!-- ====================================================================== -->
  @@ -17,7 +20,9 @@
               
              
                                       
  -                        
  +                         
  +            <link href="../css/site.css" rel="stylesheet" type="text/css"/>
  +
               <title>Logging Services - News and Status</title>
           </head>
   
  @@ -25,12 +30,15 @@
               <table border="0" width="100%" cellspacing="0">
                   <!-- TOP IMAGE -->
                   <tr>
  -                    <td colspan="2">
  -<a href="http://jakarta.apache.org"><img src="http://logging.apache.org/images/ls-logo.jpg"
align="left" border="0"/></a>
  -</td>
  +                          <td colspan="2">
  +      <a href="http://logging.apache.org">
  +        <img src="http://logging.apache.org/images/ls-logo.jpg" align="left" border="0"/>
  +      </a>
  +    </td>
  +  
                   </tr>
               </table>
  -            <table border="0" width="100%" cellspacing="4">
  +            <table border="0" width="100%" cellspacing="4" cellpadding="0">
                   <tr><td colspan="2">
                       <hr noshade="" size="1"/>
                   </td></tr>
  @@ -38,53 +46,70 @@
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
                       <td width="20%" valign="top" nowrap="true">
  -                    
  -    <!-- ============================================================ -->
  -
  -                <p><strong>About Logging Services</strong></p>
  -        <ul>
  -                    <li>    <a href="../index.html">Welcome</a>
  -</li>
  -                    <li>    <a href="../site/news.html">News</a>
  -</li>
  -                </ul>
  -            <p><strong>Projects</strong></p>
  -        <ul>
  -                    <li>    <a href="..">log4cxx  (in incubation)</a>
  -</li>
  -                    <li>    <a href="..">log4cplus  (in incubation)</a>
  -</li>
  -                    <li>    <a href="../log4j/docs">log4j</a>
  -</li>
  -                    <li>    <a href="..">log4net (in incubation)</a>
  -</li>
  -                    <li>    <a href="..">log4php (in incubation)</a>
  -</li>
  -                </ul>
  -            <p><strong>Information</strong></p>
  -        <ul>
  -                    <li>    <a href="../site/mission.html">Mission statement</a>
  -</li>
  -                    <li>    <a href="../site/bylaws.html">Bylaws</a>
  -</li>
  -                    <li>    <a href="..">License</a>
  -</li>
  -                    <li>    <a href="../site/who-we-are.html">Who we are</a>
  -</li>
  -                </ul>
  -            <p><strong>Support</strong></p>
  -        <ul>
  -                    <li>    <a href="../site/cvs-repositories.html">CVS repositories</a>
  -</li>
  -                    <li>    <a href="../site/mailing-lists.html">Mailing lists</a>
  -</li>
  -                    <li>    <a href="../site/bug-databse.html">Bug database</a>
  -</li>
  -                </ul>
  -                        </td>
  +                      <!-- ============================================================
-->
  +  <table cellpadding="1" cellspacing="0" bgcolor="#999999">
  +  <tr><td>
  +      <table border="0" cellspacing="2" cellpadding="2" bgcolor="#EEEEEE">
  +      	      	      	  <tr >
  +      	    <td><strong>About Logging Services</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="../index.html">Welcome</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="../site/news.html">News</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      	  <tr >
  +      	    <td><strong>Projects</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="..">log4cxx
 (in incubation)</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="..">log4cplus
 (in incubation)</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="../log4j/docs">log4j</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="..">log4net
(in incubation)</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="..">log4php
(in incubation)</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      	  <tr >
  +      	    <td><strong>Information</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="../site/mission.html">Mission
statement</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="../site/bylaws.html">Bylaws</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="..">License</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="../site/who-we-are.html">Who
we are</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      	  <tr >
  +      	    <td><strong>Support</strong></td>
  +      	  </tr>
  +      	        	      <tr><td>&nbsp;&nbsp;    <a href="../site/cvs-repositories.html">CVS
repositories</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="../site/mailing-lists.html">Mailing
lists</a>
  +</td></tr>
  +      	          	      <tr><td>&nbsp;&nbsp;    <a href="../site/bug-databse.html">Bug
database</a>
  +</td></tr>
  +      	          	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	      </table>
  +   </td></tr>
  +   </table>
  +   
  +                    </td>
                       <td width="80%" align="left" valign="top">
  -                    
  -                                                                    <table border="0"
cellspacing="0" cellpadding="2" width="100%">
  +                       <div style="position: relative; left: 8px;">
  +	                                                                       <table border="0"
cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="#FFFFFF">
           <font color="#2222AA" face="arial,helvetica,sanserif" size="+1">
             <a name="News & Status">&nbsp;<strong>News & Status</strong></a>
  @@ -114,7 +139,9 @@
         </td></tr>
         <tr><td><br/></td></tr>
       </table>
  -                                        </td>
  +                                                                       </div>
  +
  +                    </td>
                   </tr>
   
                   <!-- FOOTER -->
  @@ -130,6 +157,7 @@
           </body>
       </html>
   <!-- end the processing -->
  +
   
   
   
  
  
  
  1.4       +11 -3     logging-site/src/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/logging-site/src/xdocs/index.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- index.xml	22 Dec 2003 13:28:35 -0000	1.3
  +++ index.xml	22 Dec 2003 15:08:40 -0000	1.4
  @@ -10,12 +10,20 @@
   
   
   <body>
  -    <section name="Welcome to Logging Services Project @ Apache">
  +     <h1>Welcome to Logging Services Project @ Apache</h1>
   
  +      <p>Work in progress. Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.Work in progress.Work
  +      in progress.Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.</p>
   
  -      <p>Work in progress</p>
  +      <h2>some subsection</h2>
   
  -    </section>
  +      <p>Work in progress. Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.Work in progress.Work
  +      in progress.Work in progress.Work in progress.Work in
  +      progress.Work in progress.Work in progress.
  +      </p>
     </body>
   </document>
   
  
  
  
  1.3       +7 -17     logging-site/src/xdocs/site/bylaws.xml
  
  Index: bylaws.xml
  ===================================================================
  RCS file: /home/cvs/logging-site/src/xdocs/site/bylaws.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- bylaws.xml	22 Dec 2003 13:07:28 -0000	1.2
  +++ bylaws.xml	22 Dec 2003 15:08:40 -0000	1.3
  @@ -10,14 +10,10 @@
   
   
   <body>
  -    <titleSection name="Logging Services project bylaws"/>
  -
  -    <section name="Logging Services project bylaws">
  +    <h1>Bylaws</h1>
       
  -    <h1>bla bla</h1>
  -   
       <p>This document defines the guidelines for the <a
  -    href="index.html">Apache Logging Services Project</a>. It includes
  +    href="../index.html">Apache Logging Services Project</a>. It includes
       definitions of how conflict is resolved by voting, who is able to
       vote, and the procedures to follow for proposing and making
       changes to the Apache products.</p>
  @@ -27,21 +23,15 @@
       manner. Not all conflict can be avoided, but at least we can agree
       on the procedures for conflict to be resolved.
       </p>
  -    </section>
  -
  -    <section name="Logging Services project bylaws">
  -    </section>
  -
  -    <section name="">
  -  <p>This document defines the guidelines for the <a
  +  
  +    <h2>some subsection</h2>
  +  
  +    <p>This document defines the guidelines for the <a
       href="index.html">Apache Logging Services Project</a>. It includes
       definitions of how conflict is resolved by voting, who is able to
       vote, and the procedures to follow for proposing and making
       changes to the Apache products.</p>
  -    </section>
  -
  -    <section name="">
  -    </section>
  +   
   
     </body>
   </document>
  
  
  
  1.4       +97 -46    logging-site/src/xdocs/stylesheets/site.vsl
  
  Index: site.vsl
  ===================================================================
  RCS file: /home/cvs/logging-site/src/xdocs/stylesheets/site.vsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- site.vsl	22 Dec 2003 13:27:05 -0000	1.3
  +++ site.vsl	22 Dec 2003 15:08:40 -0000	1.4
  @@ -6,9 +6,14 @@
       #set ($bodybg = "#ffffff")
       #set ($bodyfg = "#000000")
       #set ($bodylink = "#525D76")
  +
  +    #set ($titlebg = "#FFFFFF")
  +    #set ($titlefg = "#2222AA")
  +
   ##    #set ($bannerbg = "#525D76")
       #set ($bannerbg = "#FFFFFF")
       #set ($bannerfg = "#2222AA")
  +
       #set ($subbannerbg = "#828DA6")
       #set ($subbannerfg = "#ffffff")
       #set ($tablethbg = "#039acc")
  @@ -128,6 +133,9 @@
       </div>
   #end
   
  +## ============================================
  +##  subsection macro
  +## ============================================
   #macro ( subsection $subsection)
       <table border="0" cellspacing="0" cellpadding="2" width="100%">
         <tr><td bgcolor="$subbannerbg">
  @@ -136,7 +144,6 @@
           </font>
         </td></tr>
         <tr><td>
  -        <blockquote>
           #foreach ( $items in $subsection.getChildren() )
               #if ($items.getName().equals("img"))
                   #image ($items)
  @@ -148,7 +155,6 @@
                   $items
               #end
           #end
  -        </blockquote>
         </td></tr>
         <tr><td><br/></td></tr>
       </table>
  @@ -158,7 +164,7 @@
   ##          titleSection macro
   ## ===================================
   #macro ( titleSection $titleSection)
  -  <center><h1>$titleSection.getAttributeValue("name")</h1></center>
  +  <font size="+2" color="$titlefg"><b>$titleSection.getAttributeValue("name")</b></font>
   #end
   
   ## ================================
  @@ -194,40 +200,65 @@
       </table>
   #end
   
  -#macro ( makeProject )
  -
  -    <!-- ============================================================ -->
  -
  -    #set ($menus = $project.getChild("body").getChildren("menu"))
  -    #foreach ( $menu in $menus )
  -        <p><strong>$menu.getAttributeValue("name")</strong></p>
  -        <ul>
  -        #foreach ( $item in $menu.getChildren() )
  -            #set ($name = $item.getAttributeValue("name"))
  -            <li>#projectanchor($name $item.getAttributeValue("href"))</li>
  -        #end
  -        </ul>
  -    #end
  -#end
  +## ===================================
  +##  make navigation bar
  +## ===================================
   
  +#macro ( makeNavigationBar )
  +  <!-- ============================================================ -->
  +  <table cellpadding="1" cellspacing="0" bgcolor="#999999">
  +  <tr><td>
  +      <table border="0" cellspacing="2" cellpadding="2" bgcolor="#EEEEEE">
  +      	#set ($menus = $project.getChild("body").getChildren("menu"))
  +      	#foreach ( $menu in $menus )
  +      	  <tr >
  +      	    <td><strong>$menu.getAttributeValue("name")</strong></td>
  +      	  </tr>
  +      	  #foreach ( $item in $menu.getChildren() )
  +      	    #set ($name = $item.getAttributeValue("name"))
  +      	      <tr><td>&nbsp;&nbsp;#projectanchor($name $item.getAttributeValue("href"))</td></tr>
  +      	    #end
  +      	<tr bgcolor="#dddddd">
  +      	  <td><html:img page="/images/space2.gif" height="1"></html:img></td>
  +      	</tr>
  +      	#end
  +      </table>
  +   </td></tr>
  +   </table>
  +   
  +#end
  +
  +## ====================================
  +##      getProjectImage
  +## ====================================
   #macro (getProjectImage)
  -#if ($project.getChild("logo"))
  -<td align="left">
  -<a href="http://jakarta.apache.org"><img src="http://logging.apache.org/images/ls-logo.jpg"
border="0"/></a>
  -</td>
  -<td align="right">
  -#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
  -#if ( $logoString.startsWith("/") )
  -<a href="$project.getAttributeValue("href")"><img src="$relativePath$logoString"
alt="$project.getChild("logo").getText()" border="0"/></a>
  -#else
  -<a href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString"
alt="$project.getChild("logo").getText()" border="0"/></a>
  -#end
  -</td>
  -#else
  -<td colspan="2">
  -<a href="http://jakarta.apache.org"><img src="http://logging.apache.org/images/ls-logo.jpg"
align="left" border="0"/></a>
  -</td>
  -#end
  +  #if ($project.getChild("logo"))
  +    <td align="left">
  +       <a href="http://logging.apache.org">
  +           <img src="http://logging.apache.org/images/ls-logo.jpg" border="0"/></a>
  +    </td>
  +    <td align="right">
  +      #set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
  +      #if ( $logoString.startsWith("/") )
  +      	<a href="$project.getAttributeValue("href")">
  +      	  <img src="$relativePath$logoString" 
  +      	       alt="$project.getChild("logo").getText()" border="0"/>
  +      	</a>
  +      #else
  +      	<a href="$project.getAttributeValue("href")">
  +      	  <img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()"
border="0"/>
  +      	</a>
  +      #end
  +    </td>
  +
  +  #else
  +    <td colspan="2">
  +      <a href="http://logging.apache.org">
  +        <img src="http://logging.apache.org/images/ls-logo.jpg" align="left" border="0"/>
  +      </a>
  +    </td>
  +  #end
  +
   #end
   
   #macro (printMeta $metaElement)
  @@ -260,6 +291,8 @@
                 #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
                 <base href="$url"/>
               #end
  + 
  +            <link href="$relativePath/css/site.css" rel="stylesheet" type="text/css"/>
   
               <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
           </head>
  @@ -271,7 +304,7 @@
                       #getProjectImage()
                   </tr>
               </table>
  -            <table border="0" width="100%" cellspacing="4">
  +            <table border="0" width="100%" cellspacing="4" cellpadding="0">
                   <tr><td colspan="2">
                       <hr noshade="" size="1"/>
                   </td></tr>
  @@ -279,18 +312,36 @@
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
                       <td width="20%" valign="top" nowrap="true">
  -                    #makeProject()
  +                    #makeNavigationBar()
                       </td>
                       <td width="80%" align="left" valign="top">
  -                    #if ($root.getChild("body").getChild("titleSection"))
  -                      #set ($titleSection = $root.getChild("body").getChild("titleSection"))
  -                      #titleSection($titleSection)
  -                    #end
  -
  -                    #set ($allSections = $root.getChild("body").getChildren("section"))
  -                    #foreach ( $section in $allSections )
  -                        #section ($section)
  -                    #end
  +                       <div style="position: relative; left: 8px;">
  +	               #foreach ( $item in $root.getChild("body").getChildren() )
  +                         #if ($item.getName().equals("img"))
  +                           #image ($item)
  +                         #elseif ($item.getName().equals("section"))
  +                           #section ($item)
  +                         #elseif ($item.getName().equals("source"))
  +                           #source ($item)
  +                         #elseif ($item.getName().equals("table"))
  +                           #table ($item)
  +                         #elseif ($item.getName().equals("subsection"))
  +                           #subsection ($item)
  +                         #else
  +                          $item
  +                         #end 
  +                       #end
  +                       </div>
  +
  +##                    #if ($root.getChild("body").getChild("titleSection"))
  +##                      #set ($titleSection = $root.getChild("body").getChild("titleSection"))
  +##                      #titleSection($titleSection)
  +##                    #end
  +##
  +##                    #set ($allSections = $root.getChild("body").getChildren("section"))
  +##                    #foreach ( $section in $allSections )
  +##                       #section ($section)
  +##                    #end
                       </td>
                   </tr>
   
  
  
  

Mime
View raw message