Author: rgoers
Date: Sun Jul 22 04:54:46 2012
New Revision: 1364214
URL: http://svn.apache.org/viewvc?rev=1364214&view=rev
Log:
Fix footer and sidebar formatting
Added:
logging/log4j/log4j2/trunk/src/site/resources/css/site.css
logging/log4j/log4j2/trunk/src/site/site.vm
Modified:
logging/log4j/log4j2/trunk/pom.xml
logging/log4j/log4j2/trunk/src/site/site.xml
Modified: logging/log4j/log4j2/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/pom.xml?rev=1364214&r1=1364213&r2=1364214&view=diff
==
--- logging/log4j/log4j2/trunk/pom.xml (original)
+++ logging/log4j/log4j2/trunk/pom.xml Sun Jul 22 04:54:46 2012
@@ -257,6 +257,8 @@
navigation.xml,changes.xml
+ ${log4j.parent.dir}/src/site
+ site.vm
+#macro ( topMenu $menus )
+#foreach( $menu in $menus )
+#if ( $menu.name )
+
+$menu.name
+
+#foreach( $item in $menu.items )
+#set ( $currentItemHref = $PathTool.calculateLink(
$item.href, $relativePath ) )
+#set ( $currentItemHref = $currentItemHref.replaceAll(
'\\', '/' ) )
+#topLink( $currentItemHref $item.name $item.target
)
+#end
+
+
+#end
+#end
+#end
+##
+#macro ( topLink $href $name $target )
+#set ( $linkTitle = ' title="' + $name + '"' )
+#if( $target )
+#set ( $linkTarget = ' target="' + $target + '"' )
+#else
+#set ( $linkTarget = "" )
+#end
+$name
+#end
+##
+#macro ( topLinks $links )
+#set ( $counter = 0 )
+#foreach( $item in $links )
+#set ( $counter = $counter + 1 )
+#set ( $currentItemHref = $PathTool.calculateLink( $item.href,
$relativePath ) )
+#set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+#topLink( $currentItemHref $item.name $item.target )
+#end
+#end
+##
+#macro ( link $href $name $target $img $position $alt $border $width $height )
+#set ( $linkTitle = ' title="' + $name + '"' )
+#if( $target )
+#set ( $linkTarget = ' target="' + $target + '"' )
+#else
+#set ( $linkTarget = "" )
+#end
+#if ( $href.toLowerCase().startsWith("http:/") ||
$href.toLowerCase().startsWith("https:/") ||
+$href.toLowerCase().startsWith("ftp:/") ||
$href.toLowerCase().startsWith("mailto:";) ||
+$href.toLowerCase().startsWith("file:/") ||
($href.toLowerCase().indexOf("://") != -1) )
+#set ( $linkClass = ' class="externalLink"' )
+#else
+#set ( $linkClass = "" )
+#end
+#if ( $img )
+#if ( $position == "left" )
+#image($img $alt
$border $width $height)$name
+#else
+$name #image($img $alt
$border $width $height)
+#end
+#else
+$name
+#end
+#end
+##
+#macro ( image $img $alt $border $width $height )
+#if( $img )
+#if ( ! ( $img.toLowerCase().startsWith("http:/") ||
$img.toLowerCase().startsWith("https:/") ||
+$img.toLowerCase().startsWith("ftp:/") ||
$img.toLowerCase().startsWith("mailto:";) ||
+$img.toLowerCase().startsWith("file:/") ||
($img.toLowerCase().indexOf("://") != -1) ) )
+#set ( $imgSrc = $PathTool.calculateLink( $img, $relativePath ) )
+#set ( $imgSrc = $imgSrc.replaceAll( '\\', '/' ) )
+#set ( $imgSrc = ' src="' + $imgSrc + '"' )
+#else
+#set ( $imgSrc = ' src="' + $img + '"' )
+#end
+#if( $alt )
+#set ( $imgAlt = ' alt="' + $alt + '"' )
+#else
+#set ( $imgAlt = ' alt=""' )
+#end
+#if( $border )
+#set ( $imgBorder = ' border="' + $border + '"' )
+#else
+#set ( $imgBorder = "" )
+#end
+#if( $width )
+#set ( $imgWidth = ' width="' + $width + '"' )
+#else
+#set ( $imgWidth = "" )
+#end
+#if( $height )
+#set ( $imgHeight = ' height="' + $height + '"' )
+#else
+#set ( $imgHeight = "" )
+#end
+
+#end
+#end
+#macro ( banner $banner $id )
+#if ( $banner )
+#if( $banner.href )
+#set ( $hrf = $banner.href )
+#if ( ! ( $hrf.toLowerCase().startsWith("http:/") ||
$hrf.toLowerCase().startsWith("https:/") ||
+$hrf.toLowerCase().startsWith("ftp:/") ||
$hrf.toLowerCase().startsWith("mailto:";) ||
+$hrf.toLowerCase().startsWith("file:/") ||
($hrf.toLowerCase().indexOf("://") != -1) ) )
+#set ( $hrf = $PathTool.calculateLink( $hrf, $relativePath ) )
+#set ( $hrf = $hrf.replaceAll( '\\', '/' ) )
+#if ( ( $hrf == '' ) )
+#set ( $hrf = './' )
+#end
+#end
+
+#else
+