From c994965375c3c63c7d6c0d3b642846f3b4cf9ddf Mon Sep 17 00:00:00 2001 From: Christoph Wilhelms Date: Thu, 2 Jan 2003 19:40:43 +0000 Subject: [PATCH] Migrated the table and source-section look from Forrest. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273739 13f79535-47bb-0310-9956-ffa450edef68 --- .../anakia/xdocs/stylesheets/site.vsl | 2 -- .../anakia/xdocs/stylesheets/templates.vm | 32 +++---------------- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/proposal/ant-site/anakia/xdocs/stylesheets/site.vsl b/proposal/ant-site/anakia/xdocs/stylesheets/site.vsl index ba3a520ba..7253c58ac 100644 --- a/proposal/ant-site/anakia/xdocs/stylesheets/site.vsl +++ b/proposal/ant-site/anakia/xdocs/stylesheets/site.vsl @@ -58,8 +58,6 @@ #set ($blue3 = "#294563") #set ($blue2 = "#4C6C8F") #set ($blue1 = "#CFDCED") - #set ($tablethbg = "#039acc") - #set ($tabletdbg = "#a0ddf0") #set ($sourceborder = "#023264") #set ($pound = "#" ) ## start the processing diff --git a/proposal/ant-site/anakia/xdocs/stylesheets/templates.vm b/proposal/ant-site/anakia/xdocs/stylesheets/templates.vm index 65935a7be..a3ad99ff9 100644 --- a/proposal/ant-site/anakia/xdocs/stylesheets/templates.vm +++ b/proposal/ant-site/anakia/xdocs/stylesheets/templates.vm @@ -51,7 +51,7 @@ ## This is where the common macro's live #macro ( table $table) - +
#foreach ( $items in $table.getChildren() ) #if ($items.getName().equals("tr")) #tr ($items) @@ -79,15 +79,13 @@ #if ($value.getAttributeValue("rowspan")) #set ($rowspan = $value.getAttributeValue("rowspan")) #end - #end @@ -98,16 +96,14 @@ #if ($value.getAttributeValue("rowspan")) #set ($rowspan = $value.getAttributeValue("rowspan")) #end - + #end #macro ( projectanchor $name $value ) @@ -140,25 +136,7 @@ #end #macro ( source $value) -
-
- #if ($value.getText().length() != 0 || $value.hasChildren()) $xmlout.outputString($value, true) #else   #end - - #if ($value.getText().length() != 0 || $value.hasChildren()) $xmlout.outputString($value, true) #else   #end - -
- - - - - - - - - - - - - - - -
$escape.getText($value.getText())
- +
$escape.getText($value.getText())
#end #macro ( makeProject )