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 Thu, 18 Nov 2004 21:50:16 GMT
ceki        2004/11/18 13:50:16

  Modified:    docs/css site.css
               src/xdocs/stylesheets site.vsl
  Log:
  
  Added support for "Message" files.
  
  See http://logging.apache.org/log4j/docs/codes.html for sample output.
  
  PR:
  Obtained from:
  Submitted by:	
  Reviewed by:	
  
  
  
  Revision  Changes    Path
  1.10      +34 -2     logging-site/docs/css/site.css
  
  Index: site.css
  ===================================================================
  RCS file: /home/cvs/logging-site/docs/css/site.css,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- site.css	17 Aug 2004 10:19:53 -0000	1.9
  +++ site.css	18 Nov 2004 21:50:16 -0000	1.10
  @@ -65,6 +65,10 @@
     border-top: 1px solid #DDDDDD;
     border-bottom: 1px solid #DDDDDD;
     background:#eee;
  +  font-family: Courier, "MS Courier New", Prestige, Everson Monocourrier, monospace;
  +  padding-bottom: 0.5ex;
  +  padding-top: 0.5ex;
  +  padding-left: 2ex;
   }
   
   table.ls {
  @@ -98,7 +102,7 @@
     font-weight: bolder;
   }
   
  -/* this class is used for screen output placed in <pre></pre> tags
  +/* this class is used for screen output placed in <pre></pre> tags */
   .screen_output {
     padding-left:  1em;
     padding-right: 1em;
  @@ -106,4 +110,32 @@
     border-right: 1px solid #AAAAAA;
     border-bottom:1px solid #AAAAAA;
     border-left:  1px solid #AAAAAA;
  -}
  \ No newline at end of file
  +}
  +
  +
  +.big {
  +  font-size: larger;
  +  font-weight: bold;
  +}
  +
  +.small {
  +  font-size: smaller;
  +}
  +
  +.red {
  +  color: #AA0000;
  +}
  +
  +.msg_title {
  +  padding-left:  1em;
  +  padding-right: 1em;
  +  font-family: Courier, "MS Courier New", Prestige, Everson Monocourrier, monospace;
  +  border:   1px solid #AAAAAA;
  +  background: #DDDDFF;
  +
  +}
  +
  +.msg_meaning {
  +  padding-left:  2em;
  +  padding-right: 1em;
  +}
  
  
  
  1.13      +20 -1     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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- site.vsl	17 Aug 2004 10:19:53 -0000	1.12
  +++ site.vsl	18 Nov 2004 21:50:16 -0000	1.13
  @@ -203,6 +203,22 @@
     #end
   #end
   
  +
  +#macro (messages $root)
  +  #foreach ( $m in $root.getChild("body").getChildren() )
  +    #if ($m.getName().equals("message"))
  +      <div class="big">
  +        <a name="$m.getAttributeValue('ref')">
  +         <b>Message:</b> <span class="msg_title">$m.getChild("title").getContent()</span>
  +        </a>
  +      </div>
  +      <div class="msg_meaning">
  +        $m.getChild("explanation").getContent()
  +      </div>
  +    #end
  +  #end
  +#end
  +
   #macro (document)
       #set ($properties =  $root.getChild("properties") )
       <!-- ====================================================================== -->
  @@ -255,13 +271,16 @@
                  #section ($item)
                #elseif ($item.getName().equals("faqSection"))
                  ## do nothing, we'll handle the faq later
  +             #elseif ($item.getName().equals("message"))
  +               ## do nothing, we'll handle the faq later
                #else
                  $item
                 #end 
               #end
   
               #faqIndex ($root)	
  -            #faqContents ($root)	
  +            #faqContents ($root)
  +            #messages ($root)	
   
   ##                    #if ($root.getChild("body").getChild("titleSection"))
   ##                      #set ($titleSection = $root.getChild("body").getChild("titleSection"))
  
  
  

Mime
View raw message