kaz 02/03/25 08:49:21
Modified: src/dvsl/xdocs site.dvsl
src/templates/build build-docs.xml
xdocs project.xml
Added: src/dvsl/xdocs main.css ns4_toxins.css print.css
src/images help_logo.gif icon_alert.gif jakarta-reverse.gif
maven.jpg nw_min.gif strich.gif sw_min.gif
Log:
These changes update the look and feel of the Maven generated sites.
The stylesheets were ripped from Scarab (I'm not sure what comments look
like in CSS, but we should give proper attribution). I also created a
new DVSL stylesheet that can transform an xdoc to this new look and
feel. Its only a start, we can make enhancements as time goes on.
Revision Changes Path
1.6 +167 -242 jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl
Index: site.dvsl
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- site.dvsl 18 Mar 2002 04:34:42 -0000 1.5
+++ site.dvsl 25 Mar 2002 16:49:21 -0000 1.6
@@ -1,19 +1,9 @@
-#set( $relative-path = "." )
-
-#set( $body-bg = '#ffffff' )
-#set( $body-fg = '#000000' )
-#set( $body-link = '#525D76' )
-#set( $banner-bg = '#525D76')
-#set( $banner-fg = '#ffffff')
-#set( $sub-banner-bg = '#828DA6')
-#set( $sub-banner-fg = '#ffffff')
-#set( $table-th-bg = '#039acc')
-#set( $table-td-bg = '#a0ddf0')
-#set( $source-color = '#023264')
#set( $projectFilename = "xdocs/project.xml")
#set( $anakiaProjectFilename = "xdocs/stylesheets/project.xml")
#match( "document" )
+ <!DOCTYPE html PUBLIC "-//CollabNet//DTD XHTML 1.0 Transitional//EN"
+ "http://www.collabnet.com/dtds/collabnet_transitional_10.dtd">
## Setup the relativePath using the toolbox.
@@ -38,6 +28,11 @@
<html>
<head>
<title>$!project.title - $node.properties.title</title>
+ <style type="text/css">
+ @import url("$relativePath/style/ns4_toxins.css");
+ </style>
+ <link rel="stylesheet" type="text/css" href="$relativePath/style/main.css" />
+ <link rel="stylesheet" type="text/css" href="$relativePath/style/print.css"
media="print" />
#foreach( $n in $node.properties.selectNodes("author") )
<meta name="author" value="$n"/>
@@ -46,98 +41,98 @@
</head>
- <body
- bgcolor="$body-bg"
- text="$body-fg"
- link="$body-link"
- alink="$body-link"
- vlink="$body-link">
-
- <table border="0" width="100%" cellspacing="4">
-
- ## PAGE HEADER
- <tr><td colspan="2">
-
- ## JAKARTA LOGO
- <a href="http://jakarta.apache.org/">
- <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
- align="left" alt="The Jakarta Project" border="0"/>
- </a>
-
- #if( $project.logo )
-
- #set( $alt = $project.logo )
- #set( $home = $project.attribute("href") )
- #set( $src = $project.logo.attribute( "href" ) )
-
- ## PROJECT LOGO
- <a href="$home">
- #if ( $src.startsWith("http") )
- <img src="$src" align="right" alt="$alt" border="0"/>
- #else
- <img src="$relativePath$src" align="right" alt="$alt" border="0"/>
- #end
- </a>
- #end
-
- </td></tr>
-
- ## HEADER SEPARATOR
- <tr>
- <td colspan="2">
- <hr noshade="" size="1"/>
- </td>
- </tr>
-
- <tr>
-
- ## LEFT SIDE NAVIGATION
- <td width="20%" valign="top" nowrap="true">
- #if ($project)
- $context.applyTemplates( $project, "body/menu" )
- #end
-
- ## Standard Maven Navigation
- <p><strong>Maven Generated Docs</strong></p>
- <ul>
- <li><a href="$relativePath/index.html">Front Page</a></li>
- <li><a href="$relativePath/mail-lists.html">Mailing Lists</a></li>
- <li><a href="$relativePath/developer-list.html">Developers</a></li>
- <li><a href="$relativePath/dependencies.html">Dependencies</a></li>
- <li><a href="$relativePath/changelog.html">Change Log</a></li>
- <li><a href="$relativePath/jdepend-report.html">Metric Results</a></li>
- <li><a href="$relativePath/junit-report.html">Unit Tests</a></li>
- <li><a href="$relativePath/apidocs">JavaDocs</a></li>
- <li><a href="$relativePath/xref">Source XReference</a></li>
- </ul>
- </td>
-
- <!-- RIGHT SIDE MAIN BODY -->
- <td width="80%" valign="top" align="left">
- $context.applyTemplates("body/section")
- $context.applyTemplates("body/glossary")
- $context.applyTemplates("body/changelog")
- </td>
-
- </tr>
+ <body marginwidth="0" marginheight="0">
+ <div id="banner">
+ <table border="0" cellspacing="0" cellpadding="8" width="100%">
+ <tr>
+ <td>
+ <a href="http://jakarta.apache.org/">
+ <img src="$relativePath/images/jakarta-reverse.gif" align="left"
alt="The Jakarta Project" border="0"/>
+ </a>
+ </td>
+ <td>
+ <div align="right" id="login">
+ #if( $project.logo )
+
+ #set( $alt = $project.logo )
+ #set( $home = $project.attribute("href") )
+ #set( $src = $project.logo.attribute( "href" ) )
+
+ <a href="$home">
+ #if ( $src.startsWith("http") )
+ <img src="$src" align="right" alt="$alt" border="0"/>
+ #else
+ <img src="$relativePath$src" align="right" alt="$alt"
border="0"/>
+ #end
+ </a>
+ #end
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div id="breadcrumbs">
+ <table border="0" cellspacing="0" cellpadding="4" width="100%">
+ <tr>
+ <td>
+ ## May want to put something here at some point
+
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <table border="0" cellspacing="0" cellpadding="8" width="100%" id="main">
+ <tr valign="top">
+ <td id="leftcol" width="20%">
+ <div id="navcolumn">
+
+ #if ($project)
+ $context.applyTemplates( $project, "body/menu" )
+ #end
+
+ ## Standard Maven Navigation
+ <div><strong>Maven Generated Docs</strong>
+ <div><small><strong><a href="$relativePath/index.html">Front
Page</a></strong></small></div>
+ <div><small><strong><a href="$relativePath/mail-lists.html">Mailing
Lists</a></strong></small></div>
+ <div><small><strong><a
href="$relativePath/developer-list.html">Developers</a></strong></small></div>
+ <div><small><strong><a
href="$relativePath/dependencies.html">Dependencies</a></strong></small></div>
+ <div><small><strong><a href="$relativePath/changelog.html">Change
Log</a></strong></small></div>
+ <div><small><strong><a
href="$relativePath/jdepend-report.html">Metric Results</a></strong></small></div>
+ <div><small><strong><a href="$relativePath/junit-report.html">Unit
Tests</a></strong></small></div>
+ <div><small><strong><a
href="$relativePath/apidocs">JavaDocs</a></strong></small></div>
+ <div><small><strong><a href="$relativePath/xref">Source
XReference</a></strong></small></div>
+ </div>
+ </div>
+ </td>
+ <td>
+ <div id="bodycol">
+ ## Insert MAIN body here
+ <div id="selectmodule" class="app">
+ <p/>
+ $context.applyTemplates("body/section")
+ $context.applyTemplates("body/glossary")
+ $context.applyTemplates("body/changelog")
- <!-- FOOTER SEPARATOR -->
- <tr>
- <td colspan="2">
- <hr noshade="" size="1"/>
- </td>
- </tr>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </table>
- <!-- PAGE FOOTER -->
- <tr><td colspan="2">
- <div align="center"><font color="$body-link" size="-1"><em>
- Copyright © 1999-2001, Apache Software Foundation
- </em></font></div>
- </td></tr>
+ <div id="footer">
+ <table border="0" cellspacing="0" cellpadding="4">
+ <tr>
+ <td>
+ © 1999-2002, Apache Software Foundation
+ </td>
+ </tr>
+ </table>
+ </div>
- </table>
</body>
- </html>
+ </html>
#end
@@ -145,154 +140,95 @@
* Process a menu for the navigation bar
*#
#match( "menu" )
- <p>
- <strong>$attrib.name</strong>
- </p>
- <ul>
- $context.applyTemplates("item")
- </ul>
+ <div>
+ <strong>$attrib.name</strong>
+ $context.applyTemplates("item")
+ </div>
#end
#*
* Process a menu item for the navigation bar
*#
#match( "item" )
-
- #if( $attrib.href.startsWith("http") )
- <li><a href="$attrib.href">$attrib.name</a></li>
- #else
- <li><a href="$relativePath$attrib.href">$attrib.name</a></li>
- #end
+ <div><small><strong>
+ #if( $attrib.href.startsWith("http") )
+ <a href="$attrib.href">$attrib.name</a>
+ #else
+ <a href="$relativePath$attrib.href">$attrib.name</a>
+ #end
+ </strong></small></div>
#end
-
#*
* process a documentation section
*#
#match( "section" )
-
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
-
- <tr><td bgcolor="$banner-bg">
- <font color="$banner-fg" face="arial,helvetica.sanserif">
- <a name="$attrib.name">
- <strong>$attrib.name</strong></a></font>
- </td></tr>
-
- <tr><td><blockquote>
- $context.applyTemplates("*")
- </blockquote></td></tr>
- <tr><td> </td></tr>
- </table>
+ <h3>$attrib.name</h3>
+ $context.applyTemplates("*")
#end
#match( "subsection" )
-
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <!-- Subsection heading -->
- <tr><td bgcolor="$sub-banner-bg">
- <font color="$sub-banner-fg" face="arial,helvetica.sanserif">
- <a name="$attrib.name">
- <strong>$attrib.name</strong></a></font>
- </td></tr>
- <!-- Subsection body -->
- <tr><td><blockquote>
- $context.applyTemplates("*")
- </blockquote></td></tr>
- <tr><td> </td></tr>
- </table>
-
+ <h4>$attrib.name</h4>
+ $context.applyTemplates("*")
#end
#match( "source" )
-
- <div align="left">
- <table cellspacing="4" cellpadding="0" border="0">
- <tr>
- <td bgcolor="$source-color" width="1" height="1"><img
src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="$source-color" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="$source-color" width="1" height="1"><img
src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td bgcolor="$source-color" width="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="#ffffff" height="1">
+ <div id="helptext">
+ <table border="0" cellspacing="0" cellpadding="3" width="100%">
+ <tr>
+ <td>
+ <p/>
<pre>$toolbox.htmlescape.getText( $node.value() )</pre>
- </td>
- <td bgcolor="$source-color" width="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td bgcolor="$source-color" width="1" height="1"><img
src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="$source-color" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- <td bgcolor="$source-color" width="1" height="1"><img
src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- </table>
- </div>
+ </td>
+ </tr>
+ </table>
+ </div>
#end
-
-
#match("table")
-<table>
-$context.applyTemplates("*")
-</table>
+ #set ($rowcount = 0)
+ <table cellpadding="3" cellspacing="2" border="1" width="100%">
+ $context.applyTemplates("*")
+ </table>
#end
#match("tr")
-<tr>
-$context.applyTemplates("*")
-</tr>
+ #if ($rowcount % 2 > 0)
+ <tr class="a">
+ #else
+ <tr class="b">
+ #end
+ #set ($rowcount = $rowcount + 1)
+ $context.applyTemplates("*")
+ </tr>
#end
#match( "td" )
-
-#if ($attrib.colspan)
- #set ($colspan = $attrib.colspan)
-#end
-#if ($attrib.rowspan)
- #set ($rowspan = $attrib.rowspan)
-#end
-
-<td
- bgcolor="$table-td-bg"
- colspan="$!colspan"
- rowspan="$!rowspan"
- valign="top"
- align="left">
-
- <font
- color="#000000"
- size="-1"
- face="arial,helvetica,sanserif">
-
+ #if ($attrib.colspan)
+ #set ($colspan = $attrib.colspan)
+ #end
+ #if ($attrib.rowspan)
+ #set ($rowspan = $attrib.rowspan)
+ #end
+ <td
+ colspan="$!colspan"
+ rowspan="$!rowspan">
$node.copy( $node.children() )
- </font>
-</td>
+ </td>
#end
#match( "th" )
-
-#if ($attrib.colspan)
- #set ($colspan = $attrib.colspan )
-#end
-#if ($attrib.rowspan)
- #set ($rowspan = $attrib.rowspan )
-#end
-
-<td
- bgcolor="$table-th-bg"
- colspan="$!colspan"
- rowspan="$!rowspan"
- valign="top"
- align="left">
-
- <font
- color="#000000"
- size="-1"
- face="arial,helvetica,sanserif">
-
+ #if ($attrib.colspan)
+ #set ($colspan = $attrib.colspan )
+ #end
+ #if ($attrib.rowspan)
+ #set ($rowspan = $attrib.rowspan )
+ #end
+ <th
+ colspan="$!colspan"
+ rowspan="$!rowspan">
$node.copy( $node.children())
- </font>
-</td>
+ </th>
#end
## -----------------------------------------------------
@@ -305,7 +241,7 @@
#*
#match ("glossary-entry")
- <b>$context.node.name</b>
+ <strong>$context.node.name</strong>
<br/>
$context.node.definition
<p/>
@@ -317,39 +253,28 @@
## -----------------------------------------------------
#match("changelog")
-
-<table>
-<tr>
- <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top"
align="left">
- Date</th>
- <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top"
align="left">
- Author</th>
- <th bgcolor="$table-th-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top"
align="left">
- Files / Message</th>
-</tr>
-$context.applyTemplates("changelog-entry")
-</table>
-
+ <table>
+ <tr>
+ <th>Date</th><th>Author</th><th>Files / Message</th>
+ </tr>
+ $context.applyTemplates("changelog-entry")
+ </table>
#end
#match( "changelog-entry" )
-<tr>
- <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top"
align="left">
- $node.date.value()</td>
- <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top"
align="left">
- $node.author.value()</td>
- <td bgcolor="$table-td-bg" colspan="$!colspan" rowspan="$!rowspan" valign="top"
align="left">
- $context.applyTemplates("file")
- <br/>
- $node.msg.value()</td>
-</tr>
+ <tr>
+ <td>$node.date.value()</td>
+ <td>$node.author.value()</td>
+ <td>
+ $context.applyTemplates("file")
+ <br/>$node.msg.value()
+ </td>
+ </tr>
#end
#match("file")
-$node.name.value()
-<br/>
+ $node.name.value() <br/>
#end
-
## -----------------------------------------------------
## D E F A U L T C O P Y
1.1 jakarta-turbine-maven/src/dvsl/xdocs/main.css
Index: main.css
===================================================================
body {
background: white;
color: black;
margin: 0;
padding: 0;
}
body, div, p, th, td, li, dl, dd {
font-family: Lucida, Arial, Helvetica, sans-serif;
}
code, pre {
font-family: 'Andale Mono', Courier, monospace;
}
h2, h3, h4 {
font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
}
h2 {
font-size: 1.67em
}
th, td {
text-align: left;
vertical-align: top
}
.right {
text-align: right !important;
}
.center {
text-align: center !important;
}
.left {
text-align: center !important;
}
#leftcol a:link, #leftcol a:visited {
color: blue;
}
a:active, a:hover, #leftcol a:active, #leftcol a:hover {
color: #f30 !important;
}
#login a:link, #login a:visited {
color: white;
text-decoration: underline;
}
#banner a:active, #banner a:hover {
color: #f90 !important;
}
#leftcol a, #breadcrumbs a {
text-decoration: none;
}
.app th {
background-color: #ccc;
}
.a td {
background: #efefef;
}
.b td {
background: #fff;
}
.datatablechild th {
background: #efefef;
color: #000;
}
.datatablechild tr.a td {
background: #cf9;
}
body .axial th {
background-color: #efefef;
text-align: right;
color: black
}
.app .axial td th {
text-align: left;
}
.alert {
color: red;
}
.confirm {
color: green;
}
.info {
color: blue;
}
.selection {
background: #ffc;
font-weight: bold
}
body td .stb {
margin-top: 1em;
text-indent: 0;
}
body td .mtb {
margin-top: 2em;
text-indent: 0;
}
dd {
margin-bottom: .67em;
}
#footer {
margin: 4px
}
.username {
white-space: nowrap;
}
#login {
color: white;
}
#login .username {
font-weight: bold;
}
#helptext {
margin-top: 1em
}
#helptext td div {
margin: .5em
}
#helptext th {
background: #cc9;
}
#helptext td {
background: #ffc;
}
.tabs a {
text-decoration: none;
}
.courtesylinks {
margin-top: 1em;
padding-top: 1em
}
#navcolumn div {
margin-bottom: .5em;
}
#navcolumn div div {
margin-top: .5em
}
#navcolumn div div {
padding-left: 1em;
}
#banner, #banner td {
background: #036;
color: white;
vertical-align: middle;
}
body #banner #login a {
color: white;
}
.tabs td, .tabs th {
background-color: #ccc;
padding-left: 7px;
padding-right: 7px;
}
body .tabs th {
background-color: #999;
color: #fff;
}
.tabs td {
background-color: #ccc;
}
body.docs, body.nonav {
margin: 1em
}
1.1 jakarta-turbine-maven/src/dvsl/xdocs/ns4_toxins.css
Index: ns4_toxins.css
===================================================================
html body, body div, body p, body th, body td, body li, body dl, body dd, input,
select, textarea, .app h3, .app h4 {
font-family: Verdana, Helvetica, Arial, sans-serif;
}
html body, body th, body td, textarea, .app h3, .app h4, #rightcol h3, .app pre,
.app code {
font-size: x-small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: small
}
html>body, html>body th, html>body td, html>body input, html>body select, html>body
textarea, html>body .app h3, html>body .app h4, html>body #rightcol h3, html>body .app
pre, html>body .app code {
font-size: small
}
small, div#footer td, div#login, div#helptext th, div#helptext td, div.tabs th,
div.tabs td, input, select, .paginate, .functnbar, .functnbar2, .functnbar3,
#breadcrumbs td, .courtesylinks, #rightcol div.help {
font-size: xx-small !important;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small !important
}
html>body small, html>body div#footer td, html>body div#login, html>body
div#helptext td, html>body div#helptext th, html>body div.tabs th, html>body div.tabs
td, html>body input, html>body select, html>body .paginate, html>body .functnbar,
html>body .functnbar2, html>body .functnbar3, html>body #breadcrumbs td, html>body
.courtesylinks, html>body #rightcol div.help {
font-size: x-small !important
}
p, ul, ol, dl {
margin-top: .67em;
margin-bottom: .67em;
}
#bodycol {
line-height: 1.3;
padding-left: 12px;
padding-right: 12px;
width: 100%;
voice-family: "\"}\"";
voice-family: inherit;
width: auto;
}
html>body #bodycol {
width: auto;
}
.docs {
line-height: 1.4;
}
table, th, td {
border: none
}
.app h3, .app h4, .tabs th, .tabs td, .functnbar {
background-image: url(@PROJECT_BASE_URL@images/nw_min.gif);
background-repeat: no-repeat;
}
.app h3, .app h4 {
padding: 5px;
margin-right: 2px;
margin-left: 2px;
color: #fff;
}
.app h3 {
background-color: #036;
}
.app h4 {
background-color: #ccc;
color: #000;
}
.app h3 a {
color: white;
}
h2 {
margin-top: .3em;
margin-bottom: .2em
}
h3, h4 {
margin-bottom: 0;
}
h4 {
font-size: 1em;
}
form {
margin-top: 0;
margin-bottom: 0;
}
dt {
font-weight: bold
}
.mtb {
border-top: solid 1px #ccc;
}
.colbar {
background: #ccc;
padding: 5px;
margin-top: 2px;
margin-right: 2px;
margin-left: 2px;
}
#banner {
border-top: 1px solid #369;
border-bottom: 1px solid #003;
}
#helptext th {
border-bottom: 1px solid #996;
border-right: 1px solid #996;
}
#helptext td {
border-bottom: 1px solid #cc9;
border-right: 1px solid #cc9;
}
ul.tasks {
padding-left: 0;
margin-left: 2px;
}
ul.tasks li {
display: inline;
margin-right: 1.5em;
}
.tabs {
border-bottom: 1em #999 solid;
margin-top: .67em;
margin-right: 2px;
margin-left: 2px;
}
.tabs th, .tabs td {
border-right: 1px solid #666;
}
.tabs td {
border-bottom: 1px solid #ccc;
}
#leftcol {
background: #efefef;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
padding-bottom: .5em;
}
#navcolumn div div, body.docs #toc li li {
background-image: url(@PROJECT_BASE_URL@images/strich.gif);
background-repeat: no-repeat;
background-position: .5em .5em;
}
#navcolumn div div.heading {
background-image: none;
}
#breadcrumbs {
border-bottom: 1px solid #999;
background-color: #ccc
}
#breadcrumbs td {
vertical-align: middle;
padding: 2px 8px;
font-weight: bold;
}
#leftcol, #breadcrumbs {
border-top: 1px solid #fff;
}
#rightcol div.www, #rightcol div.help {
border: 1px solid #ccc;
padding: 0 .5em
}
#navcolumn div {
padding-left: 5px
}
div#navcolumn div div {
margin-top: .3em;
margin-bottom: .3em;
}
div#navcolumn div.focus {
margin-top: -.1em;
padding: .2em 4px;
border-top: 1px solid #999;
border-left: 1px solid #999;
background-color: #fff;
}
body.docs #toc {
position: absolute;
top: 15px;
left: 0px;
width: 120px;
padding: 0 20px 0 0
}
body.docs #toc ul, #toc ol {
margin-left: 0;
padding-left: 0;
}
body.docs #toc li {
margin-top: 7px;
padding-left: 10px;
list-style-type: none;
}
body.docs div#toc {
font-size: xx-small !important;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small !important
}
html>body.docs #toc {
font-size: x-small !important
}
body.docs div.docs {
margin: 61px 0 0 150px;
padding: 1em 2em 1em 1em !important;
background: #fff;
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
}
body.docs {
background: #efefef url(@PROJECT_BASE_URL@images/help_logo.gif) top right no-repeat
!important;
margin: 0 !important;
}
#toc h3 {
border-top: none;
}
.courtesylinks {
margin: 1em 0
}
.docs p+p {
text-indent: 5%;
margin-top: -.67em
}
.docs .courtesylinks p {
text-indent: 0
}
.docs h3, .docs h4 {
border-top: solid 1px #000;
margin-bottom: .1em;
padding-top: .3em
}
#alerterrormessage {
background: url(@PROJECT_BASE_URL@images/icon_alert.gif) top left no-repeat
!important;
padding-left: 85px;
}
/* Scarab/App - styles start here */
.functnbar {
background-color: #999;
}
.functnbar2, .functnbar3 {
background: #999 url(@PROJECT_BASE_URL@images/sw_min.gif) no-repeat bottom left;
}
.functnbar3 {
background-color: #ccc;
}
.functnbar, .functnbar2, .functnbar3 {
padding: 5px;
margin: .67em 2px;
color: #000;
}
.functnbar a, .functnbar2 a, .functnbar3 a {
color: #000;
text-decoration: underline;
}
#topmodule {
background: #efefef;
border-top: 1px solid white;
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
#topmodule td {
vertical-align: middle;
padding: 2px 8px
}
#topmodule #issueid {
border-right: 1px solid #999;
}
#bodycol {
margin-top: -8px;
}
/* Scarab/App - styles end here */
1.1 jakarta-turbine-maven/src/dvsl/xdocs/print.css
Index: print.css
===================================================================
#banner, #crumbbar, #leftcol, #footer {
display: none;
}
1.1 jakarta-turbine-maven/src/images/help_logo.gif
<<Binary file>>
1.1 jakarta-turbine-maven/src/images/icon_alert.gif
<<Binary file>>
1.1 jakarta-turbine-maven/src/images/jakarta-reverse.gif
<<Binary file>>
1.1 jakarta-turbine-maven/src/images/maven.jpg
<<Binary file>>
1.1 jakarta-turbine-maven/src/images/nw_min.gif
<<Binary file>>
1.1 jakarta-turbine-maven/src/images/strich.gif
<<Binary file>>
1.1 jakarta-turbine-maven/src/images/sw_min.gif
<<Binary file>>
1.35 +32 -0 jakarta-turbine-maven/src/templates/build/build-docs.xml
Index: build-docs.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-docs.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- build-docs.xml 17 Mar 2002 18:22:13 -0000 1.34
+++ build-docs.xml 25 Mar 2002 16:49:21 -0000 1.35
@@ -176,6 +176,7 @@
<!-- Make sure the source doc directories exist -->
<mkdir dir="${docs.src}"/>
<mkdir dir="${docs.src}/images"/>
+ <mkdir dir="${docs.src}/stylesheets"/>
<!-- Make sure the target directory -->
<mkdir dir="${docs.dest}"/>
@@ -212,11 +213,42 @@
</classpath>
</dvsl>
+ <!-- Copy site images -->
+ <copy todir="${docs.dest}/images" filtering="no">
+ <fileset dir="${maven.home}/images">
+ <include name="**/*.gif"/>
+ <include name="**/*.jpeg"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+
+ <!-- Copy user supplied images -->
<copy todir="${docs.dest}/images" filtering="no">
<fileset dir="${docs.src}/images">
<include name="**/*.gif"/>
<include name="**/*.jpeg"/>
<include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+
+ <!-- Copy maven supplied stylesheets. We need to filter here
+ because the stylesheets need to reference files in the images
+ directory. Since this file is referenced from each page on the
+ site, relative URLs will not work. Thus, the base URL must be
+ passed into the sheet here. We should also make a note that
+ the Url in the project descriptor should be the base URL of a
+ site and that it should end with a trailing slash. -->
+ <filter token="PROJECT_BASE_URL" value="${url}"/>
+ <copy todir="${docs.dest}/style" filtering="yes">
+ <fileset dir="${maven.home}/stylesheets">
+ <include name="**/*.css"/>
+ </fileset>
+ </copy>
+
+ <!-- Copy user supplied stylesheets, can override maven -->
+ <copy todir="${docs.dest}/style" filtering="no">
+ <fileset dir="${docs.src}/stylesheets">
+ <include name="**/*.css"/>
</fileset>
</copy>
</target>
1.19 +1 -1 jakarta-turbine-maven/xdocs/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/project.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- project.xml 18 Mar 2002 16:17:34 -0000 1.18
+++ project.xml 25 Mar 2002 16:49:21 -0000 1.19
@@ -2,7 +2,7 @@
<project name="Maven" href="http://jakarta.apache.org/turbine/maven/">
<title>Maven</title>
- <logo href="/images/logo.gif">Maven</logo>
+ <logo href="/images/maven.jpg">Maven</logo>
<body>
<menu name="Overview">
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>