ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/site/src/images nw_min.gif strich.gif sw_min.gif
Date Thu, 06 Jun 2002 12:48:02 GMT
adammurdoch    2002/06/06 05:48:02

  Modified:    site/src/xdocs/stylesheets docs.vsl project.xml templates.vm
  Added:       site/src/css ns4_only.css print.css site.css tigris.css
               site/src/images nw_min.gif strich.gif sw_min.gif
  Log:
  Change the site docs to use the stylesheets from style.tigris.org.
  
  Revision  Changes    Path
  1.1                  jakarta-ant-myrmidon/site/src/css/ns4_only.css
  
  Index: ns4_only.css
  ===================================================================
  /* simple rules suitable for Netscape 4.x only; richer rules are in tigris.css. see <http://style.tigris.org/>
*/
  
  /* colors, backgrounds, borders, link indication */ 
  
  body {
   background: #fff;
   color: #000;
   }
  #leftcol a:link, #leftcol a:visited {
   color: blue;
   }
  a:active, a:hover, #leftcol a:active, #leftcol a:hover {
   color: #f30;
   }
  #login a:link, #login a:visited {
   color: white; 
   text-decoration: underline;
   }
  #banner a:active, #banner a:hover {
   color: #f90;
   }
  #leftcol a, #breadcrumbs a  {
   text-decoration: none;
   }
  h2 .lastchild {
   color: #777
   } 
  .a td { 
   background: #ddd;
   }
  .b td { 
   background: #efefef;
   }
  .tabs td, .tabs th {
   background-color: #ddd;
   }
  body .app th {
   background-color: #bbb;
   }
  body .tabs th {
   background-color: #888;
   color: #fff;
   }
  body .app .axial th {
   background-color: #ddd;
   color: black
   }
  .tabs td {
   background-color: #ddd;
   }
  .alert { 
   color: #c00;
   }
  .confirm {
   color: green;
   }
  .info {
   color: blue;
   }
  .selection {
   background: #ffc;
   }
  #login {
   color: #fff;
   }
  #helptext th {
   background: #cc9;
   }
  #helptext td {
   background: #ffc;
   }
  .tabs a  {
   text-decoration: none;
   }
  #navcolumn div strong {
   color: #555;
   }
  #banner, #banner td { 
   background: #036;
   color: #fff;
   }
  body #banner #login a { 
   color: white;
   }
  
  
  /* font and text properties, exclusive of link indication, alignment, text-indent */
  
  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;
   }
  .selection {
   font-weight: bold
   }
  #login .username {
   font-weight: bold;
   }
  
  
  /* box properties (exclusive of borders), positioning, alignments, list types, text-indent
*/
  
  th, td {
   text-align: left;
   vertical-align: top 
   }
  .right {
   text-align: right;
   }
  .center {
   text-align: center;
   }
  body .app .axial th {
   text-align: right;
   }
  .app .axial td th {
   text-align: left;
   }
  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
   }
  #helptext {
   margin-top: 1em
   }
  #helptext td div {
   margin: .5em
   }
  .courtesylinks {
   margin-top: 1em;
   padding-top: 1em
   }
  #navcolumn div {
   margin-bottom: .5em;
   }
  #navcolumn div div {
   margin-top: .3em
   }
  #navcolumn div div {
   padding-left: 1em;
   }
  #banner, #banner td { 
   vertical-align: middle;
   }
  body.docs, body.nonav {
   margin: 1em
   }
  
  
  
  1.1                  jakarta-ant-myrmidon/site/src/css/print.css
  
  Index: print.css
  ===================================================================
  #banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks	{
  	display: none;
  	}
  body.docs div.docs	{
  	margin: 0 !important;
  	border: none !important
  	}
  
  
  
  1.1                  jakarta-ant-myrmidon/site/src/css/site.css
  
  Index: site.css
  ===================================================================
  
  div#banner {
   border-top: 1px solid #fff;
   border-bottom: 1px solid #aaa;
  }
  
  #banner, #banner td {
   background: #fff;
   color: #036;
  }
  
  #source {
   background-color: #fff;
   color: #000;
   border-right: 1px solid #888;
   border-left: 1px solid #888;
   border-top: 1px solid #888;
   border-bottom: 1px solid #888;
   margin-right: 7px;
   margin-left: 7px;
   margin-top: 1em;
  }
  
  #source pre {
   margin-right: 7px;
   margin-left: 7px;
  }
  
  
  
  1.1                  jakarta-ant-myrmidon/site/src/css/tigris.css
  
  Index: tigris.css
  ===================================================================
  /* contains rules unsuitable for Netscape 4.x; simpler rules are in ns4_only.css. see <http://style.tigris.org/>
*/
  
  /* colors, backgrounds, borders, link indication */ 
  
  body {
   background: #fff;
   color: #000;
   }
  .app h3, .app h4, .tabs td, .tabs th, .functnbar {
   background-image: url(../images/nw_min.gif);
   background-repeat: no-repeat;
   }
  #navcolumn div div, body.docs #toc li li  {
   background-image: url(../images/strich.gif);
   background-repeat: no-repeat;
   background-position: .5em .5em;
   }
  #navcolumn div div.heading  {
   background-image: none;
   }
  .app h3, .app h4 {
   color: #fff;
   }
  .app h3 {
   background-color: #036;
   }
  .app h4 { 
   background-color: #888;
   }
  .a td { 
   background: #ddd;
   }
  .b td { 
   background: #efefef;
   }
  table, th, td {
   border: none
   } 
  .mtb {
   border-top: solid 1px #ddd;
   }
  div.colbar {
   background: #bbb;
   }
  #banner {
   border-top: 1px solid #369;
   border-bottom: 1px solid #003;
   }
  div#helptext th {
   border-bottom: 1px solid #996;
   border-right: 1px solid #996;
   }
  div#helptext td {
   border-bottom: 1px solid #cc9;
   border-right: 1px solid #cc9;
   }
  .tabs th {
   border-right: 1px solid #333;
   background-color: #ddd;
   color: #fff;
   }
  .tabs td {
   background-color: #999;
   border-bottom: 1px solid #fff;
   border-right: 1px solid #fff;
   }
  .tabs { 
   border-bottom: 6px #ddd solid;
   }
  .tabs th, .tabs th a:link, .tabs th a:visited {
   color: #555;
   }
  .tabs td, .tabs td a:link, .tabs td a:visited  { 
   color: #fff;
   }
  .tabs a  {
   text-decoration: none;
   }
  #navcolumn {
   background: #eee;
   border-right: 1px solid #aaa;
   border-bottom: 1px solid #aaa;
   }
  #breadcrumbs {
   border-bottom: 1px solid #aaa;
   background-color: #ddd
   }
  #navcolumn, #breadcrumbs {
   border-top: 1px solid #fff;
   }
  #rightcol div.www, #rightcol div.help {
   border: 1px solid #ddd;
   }
  div#navcolumn div.focus { 
   border-top: 1px solid #aaa;
   border-left: 1px solid #aaa;
   background-color: #fff;
   } 
  body.docs div.docs { 
   background: #fff;
   border-left: 1px solid #ddd;
   border-top: 1px solid #ddd;
   }
  body.docs { 
   background: #eee url(../images/help_logo.gif) top right no-repeat !important;
   }
  .docs h3, .docs h4 {
   border-top: solid 1px #000;
   }
  #alerterrormessage { 
   background: url(../images/icon_alert.gif) top left no-repeat !important;
   }
  .functnbar {
   background-color: #aaa;
   }
  .functnbar2, .functnbar3  {
   background: #aaa url(../images/sw_min.gif) no-repeat bottom left;
   }
  .functnbar3 {
   background-color: #ddd;
   }
  .functnbar, .functnbar2, .functnbar3 {
   color: #000;
   }
  .functnbar a, .functnbar2 a, .functnbar3 a {
   color: #000;
   text-decoration: underline;
   }
  #topmodule {
   background: #ddd;
   border-top: 1px solid #fff;
   border-bottom: 1px solid #aaa; 
   border-right: 1px solid #aaa; 
   }
  #topmodule #issueid {
   border-right: 1px solid #aaa;
   }
  a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
   color: blue;
   }
  a:link.selfref, a:visited.selfref {
   color: #555 !important;
   text-decoration: none;
   }
  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;
   }
  #apphead h2 em {
   color: #777;
   }
  a:link.selfref, a:visited.selfref {
   color: #555 !important;
   text-decoration: none;
   }
  .app th {
   background-color: #bbb;
   }
  .axial th {
   background-color: #ddd;
   color: black
   }
  .alert { 
   color: #c00;
   }
  .confirm {
   color: green;
   }
  .info {
   color: blue;
   }
  .selection {
   background: #ffc;
   }
  #login {
   color: #fff;
   }
  #helptext th {
   background: #cc9;
   }
  #helptext td {
   background: #ffc;
   }
  #navcolumn div strong {
   color: #000;
   }
  #banner, #banner td { 
   background: #036;
   color: #fff;
   }
  body #banner #login a { 
   color: #fff;
   }
  h4 a:link, h4 a:visited  {
   text-decoration: underline;
   color: #fff;
   }
  
  /* font and text properties, exclusive of link indication, alignment, text-indent */
  
  body, th, td, input, select, textarea, h2 small {
   font-family: Verdana, Helvetica, Arial, sans-serif;
   }
  code, pre {
   font-family: 'Andale Mono', Courier, monospace;
   }
  html body, body th, body td, textarea, h2 small, .app h3, .app h4, #rightcol h3, #bodycol
pre, #bodycol 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 h2 small, html>body .app h3, html>body .app h4,
html>body #rightcol h3, html>body #bodycol pre, html>body #bodycol code {
   font-size: small
   }
  small, div#footer td, div#login, div.tabs th, div.tabs td, input, select, .paginate, .functnbar,
.functnbar2, .functnbar3, #breadcrumbs td, .courtesylinks, #rightcol div.help, .colbar, .tasknav,
body.docs div#toc, #leftcol {
   font-size: xx-small;
   voice-family: "\"}\"";
   voice-family: inherit;
   font-size: x-small
   }
  html>body small, html>body div#footer td, html>body div#login, 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, html>body
.colbar, html>body .tasknav, html>body.docs #toc, html>body #leftcol {
   font-size: x-small
   }
  #bodycol h2 {
   font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
   font-size: 1.5em;
   font-weight: normal;
   }
  .tabs td, .tabs th, dt, .tasknav .selfref, #login .username, .selection {
   font-weight: bold
   }
  h4 {
   font-size: 1em;
   }
  #apphead h2 em {
  	font-style: normal;
   } 
  
  /* box properties (exclusive of borders), positioning, alignments, list types, text-indent
*/
  
  #bodycol h2 {
   margin-top: .3em;
   margin-bottom: .5em;
   }
  p, ul, ol, dl {
   margin-top: .67em;
   margin-bottom: .67em;
   }
  h3, h4 {
   margin-bottom: 0;
   }
  form {
   margin-top: 0;
   margin-bottom: 0;
   }
  #bodycol {
   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;
   }
  .app h3, .app h4 {
   padding: 5px;
   margin-right: 2px;
   margin-left: 2px;
   }
  .h3 p, .h4 p, .h3 dt, .h4 dt {
   margin-right: 7px;
   margin-left: 7px;
   }
  .tasknav {
   margin-bottom: 1.33em
   }
  div.colbar {
   padding: 3px;
   margin: 2px 2px 0;
   }
  .tabs { 
   margin-top: .67em;
   margin-right: 2px;
   margin-left: 2px;
   }
  #leftcol {
   padding-bottom: .5em;
   }
  #breadcrumbs td {
   vertical-align: middle;
   padding: 2px 8px;
   } 
  .tabs td, .tabs th {
   padding: 3px 9px;
   }
  #rightcol div.www, #rightcol div.help {
   padding: 0 .5em
   }
  #navcolumn {
   margin: -8px -8px 0 -8px;
   padding: 4px;
   }
  #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; 
   } 
  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.docs { 
   margin: 61px 0 0 150px;
   padding: 1em 2em 1em 1em !important;
   }
  .docs p+p {
   text-indent: 5%;
   margin-top: -.67em
   }
  .docs h3, .docs h4 {
   margin-bottom: .1em;
   padding-top: .3em;
   }
  #alerterrormessage { 
   padding-left: 100px;
   }
  .functnbar, .functnbar2, .functnbar3 {
   padding: 5px;
   margin: .67em 2px;
   }
  #topmodule td {
   vertical-align: middle;
   padding: 2px 8px
   } 
  body {
   padding: 1em;
   }
  body.composite, body.docs {
   margin: 0;
   padding: 0;
   }
  th, td {
   text-align: left;
   vertical-align: top 
   }
  .right {
   text-align: right !important;
   }
  .center {
   text-align: center !important;
   }
  .axial th {
   text-align: right;
   }
  .app .axial td th {
   text-align: left;
   }
  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
   }
  #helptext {
   margin-top: 1em
   }
  #helptext td div {
   margin: .5em
   }
  .courtesylinks {
   margin-top: 1em;
   padding-top: 1em
   }
  #navcolumn div {
   margin-bottom: .5em;
   }
  #navcolumn div div {
   margin-top: .3em
   }
  #navcolumn div div {
   padding-left: 1em;
   }
  #banner, #banner td { 
   vertical-align: middle;
   }
  
  
  
  1.2       +37 -53    jakarta-ant-myrmidon/site/src/xdocs/stylesheets/docs.vsl
  
  Index: docs.vsl
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/site/src/xdocs/stylesheets/docs.vsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- docs.vsl	10 Apr 2002 23:43:47 -0000	1.1
  +++ docs.vsl	6 Jun 2002 12:48:02 -0000	1.2
  @@ -20,65 +20,49 @@
   ## This is where the common page macro's live
   
   #macro ( subsection $subsection)
  -  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  -    <tr><td bgcolor="$subbannerbg">
  -      <font color="$subbannerfg" face="arial,helvetica,sanserif">
  -        #if ( $subsection.getAttributeValue("anchor") )
  -          #set ($anchor = $subsection.getAttributeValue("anchor"))
  -        #else
  -          #set ($anchor = $subsection.getAttributeValue("name"))
  -        #end
  -        <a name="$anchor"><strong>$subsection.getAttributeValue("name")</strong></a>
  -      </font>
  -    </td></tr>
  -    <tr><td>
  -      <blockquote>
  -      #foreach ( $items in $subsection.getChildren() )
  -        #if ($items.getName().equals("img"))
  -          #image ($items)
  -        #elseif ($items.getName().equals("source"))
  -          #source ($items)
  -        #elseif ($items.getName().equals("table"))
  -          #table ($items)
  -        #else
  -          $xmlout.outputString($items)
  -        #end
  +  <div class="h4">
  +    #if ( $subsection.getAttributeValue("anchor") )
  +      #set ($anchor = $subsection.getAttributeValue("anchor"))
  +    #else
  +      #set ($anchor = $subsection.getAttributeValue("name"))
  +    #end
  +    <h4><a name="$anchor">$subsection.getAttributeValue("name")</a></h4>
  +    #foreach ( $items in $subsection.getChildren() )
  +      #if ($items.getName().equals("img"))
  +        #image ($items)
  +      #elseif ($items.getName().equals("source"))
  +        #source ($items)
  +      #elseif ($items.getName().equals("table"))
  +        #table ($items)
  +      #else
  +        $xmlout.outputString($items)
         #end
  -      </blockquote>
  -    </td></tr>
  -  </table>
  +    #end
  +  </div>
   #end
   
   #macro ( section $section)
  -  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  -    <tr><td bgcolor="$bannerbg">
  -      <font color="$bannerfg" face="arial,helvetica,sanserif">
  -      #if ( $section.getAttributeValue("anchor") )
  -        #set ($anchor = $section.getAttributeValue("anchor"))
  +  <div class="h3">
  +    #if ( $section.getAttributeValue("anchor") )
  +      #set ($anchor = $section.getAttributeValue("anchor"))
  +    #else
  +      #set ($anchor = $section.getAttributeValue("name"))
  +    #end
  +    <h3><a name="$anchor">$section.getAttributeValue("name")</a></h3>
  +    #foreach ( $items in $section.getChildren() )
  +      #if ($items.getName().equals("img"))
  +        #image ($items)
  +      #elseif ($items.getName().equals("source"))
  +        #source ($items)
  +      #elseif ($items.getName().equals("table"))
  +        #table ($items)
  +      #elseif ($items.getName().equals("subsection"))
  +        #subsection ($items)
         #else
  -        #set ($anchor = $section.getAttributeValue("name"))
  -      #end
  -        <a name="$anchor"><strong>$section.getAttributeValue("name")</strong></a>
  -      </font>
  -    </td></tr>
  -    <tr><td>
  -      <blockquote>
  -      #foreach ( $items in $section.getChildren() )
  -        #if ($items.getName().equals("img"))
  -          #image ($items)
  -        #elseif ($items.getName().equals("source"))
  -          #source ($items)
  -        #elseif ($items.getName().equals("table"))
  -          #table ($items)
  -        #elseif ($items.getName().equals("subsection"))
  -          #subsection ($items)
  -        #else
  -          $xmlout.outputString($items)
  -        #end
  +        $xmlout.outputString($items)
         #end
  -      </blockquote>
  -    </td></tr>
  -  </table>
  +    #end
  +  </div>
   #end
   
   #macro (document)
  
  
  
  1.7       +2 -1      jakarta-ant-myrmidon/site/src/xdocs/stylesheets/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/site/src/xdocs/stylesheets/project.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- project.xml	2 Jun 2002 14:05:55 -0000	1.6
  +++ project.xml	6 Jun 2002 12:48:02 -0000	1.7
  @@ -12,7 +12,8 @@
   
           <menu name="User Guide">
               <item name="Installing and Running" href="/running.html"/>
  -            <item name="Using Myrmidon" href="/buildfile.html"/>
  +            <item name="Project File" href="/buildfile.html"/>
  +            <item name="Properties" href="/properties.html"/>
               <item name="Virtual File System" href="/vfs.html"/>
               <item name="Ant 1 Compatibility Layer" href="/ant1compat.html"/>
               <item name="Differences to Ant 1" href="/differences.html"/>
  
  
  
  1.2       +81 -81    jakarta-ant-myrmidon/site/src/xdocs/stylesheets/templates.vm
  
  Index: templates.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/site/src/xdocs/stylesheets/templates.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- templates.vm	10 Apr 2002 23:43:47 -0000	1.1
  +++ templates.vm	6 Jun 2002 12:48:02 -0000	1.2
  @@ -1,7 +1,8 @@
   ## This is where the common macro's live
   
   #macro ( table $table)
  -  <table>
  +  #set ($rowcount = 1)
  +  <table cellpadding="3" cellspacing="2" border="1" width="100%">
     #foreach ( $items in $table.getChildren() )
       #if ($items.getName().equals("tr"))
         #tr ($items)
  @@ -11,7 +12,8 @@
   #end
   
   #macro ( tr $tr)
  -  <tr>
  +  #printRow ($rowcount)
  +  #set ($rowcount = $rowcount + 1)
     #foreach ( $items in $tr.getChildren() )
       #if ($items.getName().equals("td"))
         #td ($items)
  @@ -19,45 +21,53 @@
         #th ($items)
       #end
     #end
  -</tr>
  +  </tr>
   #end
   
  -#macro ( td $value)
  -  #if ($value.getAttributeValue("colspan"))
  -    #set ($colspan = $value.getAttributeValue("colspan"))
  -  #end
  -  #if ($value.getAttributeValue("rowspan"))
  -    #set ($rowspan = $value.getAttributeValue("rowspan"))
  +#macro (printRow $count)
  +  #if ($count % 2 > 0)
  +    <tr class="a">
  +  #else
  +    <tr class="b">
     #end
  -  <td bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan" 
  -      valign="top" align="left">
  -    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +#end
  +
  +#macro ( td $value)
  +  <td
  +    #if ($value.getAttributeValue("colspan"))
  +      #set ($colspan = $value.getAttributeValue("colspan"))
  +      colspan="$!colspan"
  +    #end
  +    #if ($value.getAttributeValue("rowspan"))
  +      #set ($rowspan = $value.getAttributeValue("rowspan"))
  +      rowspan="$!rowspan"
  +    #end
  +  >
       #if ($value.getText().length() != 0 || $value.hasChildren())
         $xmlout.outputString($value, true)
       #else
         &nbsp;
       #end
  -    </font>
     </td>
   #end
   
   #macro ( th $value)
  -  #if ($value.getAttributeValue("colspan"))
  -    #set ($colspan = $value.getAttributeValue("colspan"))
  -  #end
  -  #if ($value.getAttributeValue("rowspan"))
  -    #set ($rowspan = $value.getAttributeValue("rowspan"))
  -  #end
  -  <td bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan" 
  -      valign="top" align="left">
  -    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
  +  <th
  +    #if ($value.getAttributeValue("colspan"))
  +       #set ($colspan = $value.getAttributeValue("colspan"))
  +       colspan="$!colspan"
  +    #end
  +    #if ($value.getAttributeValue("rowspan"))
  +      #set ($rowspan = $value.getAttributeValue("rowspan"))
  +      rowspan="$!rowspan"
  +    #end
  +  >
       #if ($value.getText().length() != 0 || $value.hasChildren())
         $xmlout.outputString($value, true)
       #else
         &nbsp;
       #end
  -    </font>
  -  </td>
  +  </th>
   #end
   
   #macro ( projectanchor $name $value )
  @@ -85,42 +95,26 @@
     #if ($value.getAttributeValue("align"))
       #set ($align=$value.getAttributeValue("align"))
     #end
  -  <img src="$relativePath$value.getAttributeValue("src")" 
  +  <img src="$relativePath$value.getAttributeValue("src")"
          width="$!width" height="$!height" align="$!align">
   #end
   
   #macro ( source $value)
  -  <div align="left">
  -    <table cellspacing="4" cellpadding="0" border="0">
  -      <tr>
  -        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
  -        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      </tr>
  -      <tr>
  -        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
  -        <td bgcolor="#ffffff"><pre>$escape.getText($value.getText())</pre></td>
  -        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
  -      </tr>
  -      <tr>
  -        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1"
height="1" vspace="0" hspace="0" border="0"/></td>
  -        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      </tr>
  -    </table>
  +  <div id="source">
  +    <pre>$escape.getText($value.getText())</pre>
     </div>
   #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>
  +    <div>
  +      <strong>$menu.getAttributeValue("name")</strong>
  +      #foreach ( $item in $menu.getChildren() )
  +        #set ($name = $item.getAttributeValue("name"))
  +        <div><small>#projectanchor($name $item.getAttributeValue("href"))</small></div>
  +      #end
  +    </div>
     #end
   #end
   
  @@ -147,51 +141,57 @@
   #macro (header)
     <html>
       <head>
  +      <style type="text/css">
  +        @import url("$relativePath/css/tigris.css");
  +        @import url("$relativePath/css/site.css");
  +      </style>
         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  -  
  +
         #set ($authors = $root.getChild("properties").getChildren("author"))
         #foreach ( $au in $authors )
           #metaauthor ( $au.getText() $au.getAttributeValue("email") )
         #end
  -  
  +
         <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
       </head>
  -  
  -    <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">    
  -      <table border="0" width="100%" cellspacing="0">
  -        <!-- TOP IMAGE -->
  -        <tr>
  -          <td>#getProjectImage()</td>
  -          <td valign="bottom"><div align="right"><b><font size="+3"
color="$bannerbg">$project.getChild("title").getText()</font></b></div></td>
  -        </tr>
  -      </table>
  -      <table border="0" width="100%" cellspacing="4">
  -        <tr><td colspan="2">
  -          <hr noshade="" size="1"/>
  -        </td></tr>
  -        
  -        <tr>
  +
  +    <body marginwidth="0" marginheight="0" class="composite">
  +
  +      <div id="banner">
  +        <table border="0" cellspacing="0" cellpadding="8" width="100%">
  +          <!-- TOP IMAGE -->
  +          <tr>
  +            <td>#getProjectImage()</td>
  +            <td><div align="right" valign="bottom"><b><font size="+3">$project.getChild("title").getText()</font></b></div></td>
  +          </tr>
  +        </table>
  +      </div>
  +
  +      <table border="0" cellspacing="0" cellpadding="8" width="100%" id="main">
  +        <tr valign="top">
             <!-- LEFT SIDE NAVIGATION -->
  -          <td valign="top" nowrap="true">
  -          #makeProject()
  +          <td id="leftcol" width="20%">
  +            <div id="navcolumn">
  +            #makeProject()
  +            </div>
             </td>
  -          <td align="left" valign="top">
  +          <td><div id="bodycol"><div class="app">
   #end
   
   #macro (footer)
  -          </td>
  +          </div></div></td>
           </tr>
  -
  -        <!-- FOOTER -->
  -        <tr><td colspan="2">
  -          <hr noshade="" size="1"/>
  -        </td></tr>
  -        <tr><td colspan="2">
  -          <div align="center"><font color="$bodylink" size="-1"><em>
  -          Copyright &#169; 2000-2002, Apache Software Foundation
  -          </em></font></div>
  -        </td></tr>
         </table>
  +
  +      <!-- FOOTER -->
  +      <div id="footer">
  +        <table border="0" cellspacing="0" cellpadding="4">
  +          <tr>
  +            <td>Copyright &#169; 2000-2002, Apache Software Foundation</td>
  +          </tr>
  +        </table>
  +      </div>
  +
       </body>
     </html>
   #end
  
  
  
  1.1                  jakarta-ant-myrmidon/site/src/images/nw_min.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-ant-myrmidon/site/src/images/strich.gif
  
  	<<Binary file>>
  
  
  1.1                  jakarta-ant-myrmidon/site/src/images/sw_min.gif
  
  	<<Binary file>>
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message