ceki 2004/08/13 11:19:45
Modified: docs/css site.css
src/xdocs/stylesheets site.vsl
Log:
Small improvements to the FAQ building capability.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision Changes Path
1.8 +12 -1 logging-site/docs/css/site.css
Index: site.css
===================================================================
RCS file: /home/cvs/logging-site/docs/css/site.css,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- site.css 13 Aug 2004 09:32:24 -0000 1.7
+++ site.css 13 Aug 2004 18:19:44 -0000 1.8
@@ -79,7 +79,9 @@
}
.index-faqSection {
+ font-size: larger;
padding-left: 0em;
+ font-weight: bolder;
}
.index-question {
padding-left: 1em;
@@ -88,9 +90,18 @@
.faqSection {
font-size: larger;
font-weight: bolder;
-
}
.question {
font-weight: bolder;
}
+
+/* this class is used for screen output placed in <pre></pre> tags
+.screen_output {
+ padding-left: 1em;
+ padding-right: 1em;
+ border-top: 1px solid #AAAAAA;
+ border-right: 1px solid #AAAAAA;
+ border-bottom:1px solid #AAAAAA;
+ border-left: 1px solid #AAAAAA;
+}
\ No newline at end of file
1.11 +9 -7 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.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- site.vsl 13 Aug 2004 09:31:09 -0000 1.10
+++ site.vsl 13 Aug 2004 18:19:44 -0000 1.11
@@ -152,15 +152,17 @@
#foreach ( $s in $root.getChild("body").getChildren() )
#if ($s.getName().equals("faqSection"))
#set( $counter = 1 )
- <span class="index-faqSection">
- <a href="#$section">$section. $s.getChild("title").getContent()</a>
- </span><br/>
+ <br/>
+ <div class="index-faqSection">
+ Section $section. <a href="#$section"> $s.getChild("title").getContent()</a>
+ </div>
#foreach ( $q in $s.getChildren() )
#if ($q.getName().equals("question"))
- <span class="index-question">
- <a href="#$section.$counter">Question $section.$counter
$q.getChild("title").getContent()</a>
- </span></br>
+ <table class="index-question">
+ <td nowrap="true" valign="top">Question $section.$counter</td>
+ <td><a
href="#$section.$counter">$q.getChild("title").getContent()</a></td>
+ </table>
#set( $counter = $counter + 1 )
#end
#end
@@ -178,7 +180,7 @@
#if ($s.getName().equals("faqSection"))
#set( $counter = 1 )
<div class="faqSection">
- <a name="$section">$section. $s.getChild("title").getContent()</a>
+ <a name="$section">Section $section.</a> $s.getChild("title").getContent()
</div>
#foreach ( $i in $s.getChildren() )
#if ($i.getName().equals("question"))