forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kpiroum...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/bert/xslt/html document2html.xsl
Date Mon, 29 Jul 2002 11:59:06 GMT
kpiroumian    2002/07/29 04:59:06

  Modified:    src/resources/skins/bert/css page.css
               src/documentation/content/xdocs book.xml
               src/resources/skins/bert/xslt/html document2html.xsl
  Log:
  Added 'printable' link to document title
  
  Revision  Changes    Path
  1.8       +7 -4      xml-forrest/src/resources/skins/bert/css/page.css
  
  Index: page.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/css/page.css,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- page.css	18 Jul 2002 20:28:51 -0000	1.7
  +++ page.css	29 Jul 2002 11:59:05 -0000	1.8
  @@ -15,11 +15,14 @@
   .menu ul ul li .sel { list-style-image: url('images/current.gif'); }
   .menu ul ul li  { list-style-image: url('images/page.gif'); }
   
  +table .title { background-color: #FFFFFF; width:100%; border: 0px; }
  +.dida { font-size: 9px; }
  +
   .content { padding: 5px 5px 5px 10px;  font : small;  font-size : 12px;   }
  -.content table { width: 100%; background-color: #7099C5; color: #ffffff;  font-size : 12px;}
  -.content table .caption { text-align: left; color: black; font-size : 12px; }
  -.content table .th { text-align: center;  font-size : 12px;}
  -.content td { background-color: #f0f0ff; color: black;  font-size : 12px;}
  +.content .table { width: 100%; background-color: #7099C5; color: #ffffff;  font-size :
12px;}
  +.content .table .caption { text-align: left; color: black; font-size : 12px; }
  +.content .table .th { text-align: center;  font-size : 12px;}
  +.content .table td { background-color: #f0f0ff; color: black;  font-size : 12px;}
   
   .frame { margin: 5px 20px 5px 20px; font-size: 12px; }
   .frame .content { margin: 0px; }
  
  
  
  1.17      +2 -4      xml-forrest/src/documentation/content/xdocs/book.xml
  
  Index: book.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/content/xdocs/book.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- book.xml	22 Jul 2002 17:08:45 -0000	1.16
  +++ book.xml	29 Jul 2002 11:59:05 -0000	1.17
  @@ -24,8 +24,7 @@
     </menu>
   
     <menu label="Get Involved">
  -    <menu-item label="Forrest Primer (HTML)" href="primer.html"/>
  -    <menu-item label="Forrest Primer (PDF)" href="primer.pdf"/>
  +    <menu-item label="Forrest Primer" href="primer.html"/>
       <menu-item label="Libre" href="libre-intro.html"/>
       <menu-item label="Contributing" href="contrib.html"/>
       <menu-item label="CVS" href="http://cvs.apache.org/viewcvs/xml-forrest/"/>
  @@ -35,8 +34,7 @@
   
     <menu label="Document Samples">
       <menu-item label="DTD documentation" href="dtd-docs.html"/>
  -    <menu-item label="document-v11 (HTML)" href="document-v11.html"/>
  -    <menu-item label="document-v11 (PDF)" href="document-v11.pdf"/>
  +    <menu-item label="document-v11" href="document-v11.html"/>
       <menu-item label="How-Tos" href="community/howto/index.html"/>
       <menu-item label="xml.apache.org" href="xml-site/index.html"/>
     </menu>
  
  
  
  1.8       +16 -3     xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- document2html.xsl	18 Jul 2002 20:28:51 -0000	1.7
  +++ document2html.xsl	29 Jul 2002 11:59:06 -0000	1.8
  @@ -1,12 +1,25 @@
   <?xml version="1.0"?>
   <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:param name="isfaq"/>
  +  <xsl:param name="resource"/>
     <xsl:template match="document">
       <div class="content">
         <xsl:if test="normalize-space(header/title)!=''">
  -        <h1>
  -          <xsl:value-of select="header/title"/>
  -        </h1>
  +        <table class="title">
  +          <tr> 
  +            <td valign="middle"> 
  +              <h1>
  +                <xsl:value-of select="header/title"/>
  +              </h1>
  +            </td>
  +            <!--td align="center" width="80" nowrap><a href="" class="dida"><img
src="images/singlepage.gif"><br>
  +              single page<br>
  +              version</a></td-->
  +            <td align="center" width="80" nowrap="nowrap"><a href="{$resource}.pdf"
class="dida"><img border="0" src="skin/images/printer.gif"/><br/>
  +              print-friendly<br/>
  +              version</a></td>
  +          </tr>
  +        </table>
         </xsl:if>
         <xsl:if test="normalize-space(header/subtitle)!=''">
           <h3>
  
  
  

Mime
View raw message