HBASE-12926 Backport HBASE-12688 (Update site with a bootstrap-based UI) for 
HBASE-12918 (Andrew Purtell)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/34e538c7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/34e538c7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/34e538c7

Branch: refs/heads/branch-1.0
Commit: 34e538c711c58b2f5393701ac9dc165305ad2646
Parents: cb77a92
Author: Enis Soztutar <e...@apache.org>
Authored: Tue Jan 27 19:13:06 2015 -0800
Committer: Enis Soztutar <e...@apache.org>
Committed: Tue Jan 27 19:13:06 2015 -0800

----------------------------------------------------------------------
 pom.xml                                         |  13 +-
 src/main/site/resources/images/bc_basic.png     | Bin 0 -> 239294 bytes
 src/main/site/resources/images/bc_config.png    | Bin 0 -> 124066 bytes
 src/main/site/resources/images/bc_l1.png        | Bin 0 -> 91603 bytes
 .../site/resources/images/bc_l2_buckets.png     | Bin 0 -> 143801 bytes
 src/main/site/resources/images/bc_stats.png     | Bin 0 -> 111566 bytes
 .../site/resources/images/coprocessor_stats.png | Bin 0 -> 297809 bytes
 .../images/data_block_diff_encoding.png         | Bin 0 -> 54479 bytes
 .../resources/images/data_block_no_encoding.png | Bin 0 -> 46836 bytes
 .../images/data_block_prefix_encoding.png       | Bin 0 -> 35271 bytes
 .../images/hbase_replication_diagram.jpg        | Bin 0 -> 52298 bytes
 .../resources/images/hbasecon2015.30percent.png | Bin 0 -> 8684 bytes
 .../resources/images/jumping-orca_rotated.png   | Bin 0 -> 52812 bytes
 .../resources/images/jumping-orca_rotated.xcf   | Bin 0 -> 77560 bytes
 .../images/jumping-orca_rotated_12percent.png   | Bin 0 -> 2401 bytes
 .../images/jumping-orca_rotated_25percent.png   | Bin 0 -> 4780 bytes
 .../site/resources/images/region_states.png     | Bin 0 -> 99146 bytes
 src/main/site/site.vm                           | 547 -------------------
 18 files changed, 12 insertions(+), 548 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 330150d..842ca91 100644
--- a/pom.xml
+++ b/pom.xml
@@ -916,12 +916,23 @@
             <artifactId>wagon-ssh</artifactId>
             <version>2.2</version>
           </dependency>
+          <dependency>
+            <!-- required for reflow skin 
(http://andriusvelykis.github.io/reflow-maven-skin/) -->
+            <groupId>lt.velykis.maven.skins</groupId>
+            <artifactId>reflow-velocity-tools</artifactId>
+            <version>1.1.1</version>
+          </dependency>
+          <dependency>
+            <!-- velocity explicitly required by reflow-maven-skin -->
+            <groupId>org.apache.velocity</groupId>
+            <artifactId>velocity</artifactId>
+            <version>1.7</version>
+          </dependency>
         </dependencies>
         <configuration>
           <siteDirectory>${basedir}/src/main/site</siteDirectory>
           <inputEncoding>UTF-8</inputEncoding>
           <outputEncoding>UTF-8</outputEncoding>
-          <templateFile>${basedir}/src/main/site/site.vm</templateFile>
         </configuration>
       </plugin>
       <!-- For AsciiDoc docs building -->

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/bc_basic.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/bc_basic.png 
b/src/main/site/resources/images/bc_basic.png
new file mode 100644
index 0000000..231de93
Binary files /dev/null and b/src/main/site/resources/images/bc_basic.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/bc_config.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/bc_config.png 
b/src/main/site/resources/images/bc_config.png
new file mode 100644
index 0000000..53250cf
Binary files /dev/null and b/src/main/site/resources/images/bc_config.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/bc_l1.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/bc_l1.png 
b/src/main/site/resources/images/bc_l1.png
new file mode 100644
index 0000000..36d7e55
Binary files /dev/null and b/src/main/site/resources/images/bc_l1.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/bc_l2_buckets.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/bc_l2_buckets.png 
b/src/main/site/resources/images/bc_l2_buckets.png
new file mode 100644
index 0000000..5163928
Binary files /dev/null and b/src/main/site/resources/images/bc_l2_buckets.png 
differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/bc_stats.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/bc_stats.png 
b/src/main/site/resources/images/bc_stats.png
new file mode 100644
index 0000000..d8c6384
Binary files /dev/null and b/src/main/site/resources/images/bc_stats.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/coprocessor_stats.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/coprocessor_stats.png 
b/src/main/site/resources/images/coprocessor_stats.png
new file mode 100644
index 0000000..2fc8703
Binary files /dev/null and 
b/src/main/site/resources/images/coprocessor_stats.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/data_block_diff_encoding.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/data_block_diff_encoding.png 
b/src/main/site/resources/images/data_block_diff_encoding.png
new file mode 100644
index 0000000..0bd03a4
Binary files /dev/null and 
b/src/main/site/resources/images/data_block_diff_encoding.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/data_block_no_encoding.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/data_block_no_encoding.png 
b/src/main/site/resources/images/data_block_no_encoding.png
new file mode 100644
index 0000000..56498b4
Binary files /dev/null and 
b/src/main/site/resources/images/data_block_no_encoding.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/data_block_prefix_encoding.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/data_block_prefix_encoding.png 
b/src/main/site/resources/images/data_block_prefix_encoding.png
new file mode 100644
index 0000000..4271847
Binary files /dev/null and 
b/src/main/site/resources/images/data_block_prefix_encoding.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/hbase_replication_diagram.jpg
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/hbase_replication_diagram.jpg 
b/src/main/site/resources/images/hbase_replication_diagram.jpg
new file mode 100644
index 0000000..c110309
Binary files /dev/null and 
b/src/main/site/resources/images/hbase_replication_diagram.jpg differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/hbasecon2015.30percent.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/hbasecon2015.30percent.png 
b/src/main/site/resources/images/hbasecon2015.30percent.png
new file mode 100644
index 0000000..26896a4
Binary files /dev/null and 
b/src/main/site/resources/images/hbasecon2015.30percent.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/jumping-orca_rotated.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/jumping-orca_rotated.png 
b/src/main/site/resources/images/jumping-orca_rotated.png
new file mode 100644
index 0000000..4c2c72e
Binary files /dev/null and 
b/src/main/site/resources/images/jumping-orca_rotated.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/jumping-orca_rotated.xcf
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/jumping-orca_rotated.xcf 
b/src/main/site/resources/images/jumping-orca_rotated.xcf
new file mode 100644
index 0000000..01be6ff
Binary files /dev/null and 
b/src/main/site/resources/images/jumping-orca_rotated.xcf differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/jumping-orca_rotated_12percent.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/jumping-orca_rotated_12percent.png 
b/src/main/site/resources/images/jumping-orca_rotated_12percent.png
new file mode 100644
index 0000000..1942f9a
Binary files /dev/null and 
b/src/main/site/resources/images/jumping-orca_rotated_12percent.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/jumping-orca_rotated_25percent.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/jumping-orca_rotated_25percent.png 
b/src/main/site/resources/images/jumping-orca_rotated_25percent.png
new file mode 100644
index 0000000..219c657
Binary files /dev/null and 
b/src/main/site/resources/images/jumping-orca_rotated_25percent.png differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/resources/images/region_states.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/region_states.png 
b/src/main/site/resources/images/region_states.png
new file mode 100644
index 0000000..ba69e97
Binary files /dev/null and b/src/main/site/resources/images/region_states.png 
differ

http://git-wip-us.apache.org/repos/asf/hbase/blob/34e538c7/src/main/site/site.vm
----------------------------------------------------------------------
diff --git a/src/main/site/site.vm b/src/main/site/site.vm
deleted file mode 100644
index 0e25195..0000000
--- a/src/main/site/site.vm
+++ /dev/null
@@ -1,547 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-#*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*#
-<!-- Generated by Apache Maven Doxia at $dateFormat.format( $currentDate ) -->
-#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") ) )
-    #set ( $linkClass = ' class="externalLink"' )
-  #else
-    #set ( $linkClass = "" )
-  #end
-  #if ( $img )
-    #if ( $position == "left" )
-      <a href="$href"$linkClass$linkTarget$linkTitle>#image($img $alt $border 
$width $height)$name</a>
-    #else
-      <a href="$href"$linkClass$linkTarget$linkTitle>$name #image($img $alt 
$border $width $height)</a>
-    #end
-  #else
-    <a href="$href"$linkClass$linkTarget$linkTitle>$name</a>
-  #end
-#end
-##
-#macro ( image $img $alt $border $width $height )
-  #if( $img )
-    #if ( ! ( $img.toLowerCase().startsWith("http") || 
$img.toLowerCase().startsWith("https") ) )
-      #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
-    <img class="imageLink"$imgSrc$imgAlt$imgBorder$imgWidth$imgHeight/>
-  #end
-#end
-#macro ( banner $banner $id )
-  #if ( $banner )
-    #if( $banner.href )
-      <a href="$banner.href" id="$id"#if( $banner.alt ) 
title="$banner.alt"#end>
-    #else
-        <div id="$id">
-    #end
-##
-    #if( $banner.src )
-        #set ( $src = $banner.src )
-        #if ( ! ( $src.toLowerCase().startsWith("http") || 
$src.toLowerCase().startsWith("https") ) )
-            #set ( $src = $PathTool.calculateLink( $src, $relativePath ) )
-            #set ( $src = $src.replaceAll( "\\", "/" ) )
-        #end
-        #if ( $banner.alt )
-            #set ( $alt = $banner.alt )
-        #else
-            #set ( $alt = $banner.name )
-        #end
-        <img src="$src" alt="$alt" />
-    #else
-        $banner.name
-    #end
-##
-    #if( $banner.href )
-        </a>
-    #else
-        </div>
-    #end
-  #end
-#end
-##
-#macro ( links $links )
-  #set ( $counter = 0 )
-  #foreach( $item in $links )
-    #set ( $counter = $counter + 1 )
-    #set ( $currentItemHref = $PathTool.calculateLink( $item.href, 
$relativePath ) )
-    #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) )
-    #link( $currentItemHref $item.name $item.target $item.img $item.position 
$item.alt $item.border $item.width $item.height )
-    #if ( $links.size() > $counter )
-      |
-    #end
-  #end
-#end
-##
-#macro ( breadcrumbs $breadcrumbs )
-  #set ( $counter = 0 )
-  #foreach( $item in $breadcrumbs )
-    #set ( $counter = $counter + 1 )
-    #set ( $currentItemHref = $PathTool.calculateLink( $item.href, 
$relativePath ) )
-    #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) )
-##
-    #if ( $currentItemHref == $alignedFileName || $currentItemHref == "" )
-      $item.name
-    #else
-      #link( $currentItemHref $item.name $item.target $item.img $item.position 
$item.alt $item.border $item.width $item.height )
-    #end
-    #if ( $breadcrumbs.size() > $counter )
-      &gt;
-    #end
-  #end
-#end
-##
-#macro ( displayTree $display $item )
-  #if ( $item && $item.items && $item.items.size() > 0 )
-    #foreach( $subitem in $item.items )
-      #set ( $subitemHref = $PathTool.calculateLink( $subitem.href, 
$relativePath ) )
-      #set ( $subitemHref = $subitemHref.replaceAll( "\\", "/" ) )
-      #if ( $alignedFileName == $subitemHref )
-        #set ( $display = true )
-      #end
-##
-      #displayTree( $display $subitem )
-    #end
-  #end
-#end
-##
-#macro ( menuItem $item )
-  #set ( $collapse = "none" )
-  #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath 
) )
-  #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) )
-##
-  #if ( $item && $item.items && $item.items.size() > 0 )
-    #if ( $item.collapse == false )
-      #set ( $collapse = "expanded" )
-    #else
-      ## By default collapsed
-      #set ( $collapse = "collapsed" )
-    #end
-##
-    #set ( $display = false )
-    #displayTree( $display $item )
-##
-    #if ( $alignedFileName == $currentItemHref || $display )
-      #set ( $collapse = "expanded" )
-    #end
-  #end
-  <li class="$collapse">
-  #if ( $item.img )
-    #if ( $item.position == "left" )
-      #if ( $alignedFileName == $currentItemHref )
-        <strong>#image($item.img $item.alt $item.border $item.width 
$item.height) $item.name</strong>
-      #else
-        #link($currentItemHref $item.name $item.target $item.img 
$item.position $item.alt $item.border $item.width $item.height)
-      #end
-    #else
-      #if ( $alignedFileName == $currentItemHref )
-        <strong>$item.name #image($item.img $item.alt $item.border $item.width 
$item.height)</strong>
-      #else
-        #link($currentItemHref $item.name $item.target $item.img 
$item.position $item.alt $item.border $item.width $item.height)
-      #end
-    #end
-  #else
-    #if ( $alignedFileName == $currentItemHref )
-      <strong>$item.name</strong>
-    #else
-      #link( $currentItemHref $item.name $item.target $item.img $item.position 
$item.alt $item.border $item.width $item.height )
-    #end
-  #end
-  #if ( $item && $item.items && $item.items.size() > 0 )
-    #if ( $collapse == "expanded" )
-      <ul>
-        #foreach( $subitem in $item.items )
-          #menuItem( $subitem )
-        #end
-      </ul>
-    #end
-  #end
-  </li>
-#end
-##
-#macro ( mainMenu $menus )
-  #foreach( $menu in $menus )
-    #if ( $menu.name )
-      #if ( $menu.img )
-        #if( $menu.position )
-          #set ( $position = $menu.position )
-        #else
-          #set ( $position = "left" )
-        #end
-##
-        #if ( ! ( $menu.img.toLowerCase().startsWith("http") || 
$menu.img.toLowerCase().startsWith("https") ) )
-          #set ( $src = $PathTool.calculateLink( $menu.img, $relativePath ) )
-          #set ( $src = $src.replaceAll( "\\", "/" ) )
-          #set ( $src = ' src="' + $src + '"' )
-        #else
-          #set ( $src = ' src="' + $menu.img + '"' )
-        #end
-##
-        #if( $menu.alt )
-          #set ( $alt = ' alt="' + $menu.alt + '"' )
-        #else
-          #set ( $alt = ' alt="' + $menu.name + '"' )
-        #end
-##
-        #if( $menu.border )
-          #set ( $border = ' border="' + $menu.border + '"' )
-        #else
-          #set ( $border = ' border="0"' )
-        #end
-##
-        #if( $menu.width )
-          #set ( $width = ' width="' + $menu.width + '"' )
-        #else
-          #set ( $width = "" )
-        #end
-        #if( $menu.height )
-          #set ( $height = ' height="' + $menu.height + '"' )
-        #else
-          #set ( $height = "" )
-        #end
-##
-        #set ( $img = '<img class="imageLink"' + $src + $alt + $border + 
$width + $height + "/>" )
-##
-        #if ( $position == "left" )
-        <h5>$img $menu.name</h5>
-        #else
-        <h5>$menu.name $img</h5>
-        #end
-      #else
-       <h5>$menu.name</h5>
-      #end
-    #end
-    #if ( $menu.items && $menu.items.size() > 0 )
-    <ul>
-      #foreach( $item in $menu.items )
-        #menuItem( $item )
-      #end
-    </ul>
-    #end
-  #end
-#end
-##
-#macro ( copyright )
-  #if ( $project )
-    #if ( ${project.organization} && ${project.organization.name} )
-      #set ( $period = "" )
-    #else
-      #set ( $period = "." )
-   #end
-##
-   #set ( $currentYear = ${currentDate.year} + 1900 )
-##
-    #if ( ${project.inceptionYear} && ( ${project.inceptionYear} != 
${currentYear.toString()} ) )
-      ${project.inceptionYear}-${currentYear}${period}
-    #else
-      ${currentYear}${period}
-    #end
-##
-    #if ( ${project.organization} )
-      #if ( ${project.organization.name} && ${project.organization.url} )
-          <a href="$project.organization.url">${project.organization.name}</a>.
-      #elseif ( ${project.organization.name} )
-        ${project.organization.name}.
-      #end
-    #end
-  #end
-#end
-##
-#macro ( publishDate $position $publishDate $version )
-  #if ( $publishDate && $publishDate.format )
-    #set ( $format = $publishDate.format )
-  #else
-    #set ( $format = "yyyy-MM-dd" )
-  #end
-##
-  $dateFormat.applyPattern( $format )
-##
-  #set ( $dateToday = $dateFormat.format( $currentDate ) )
-##
-  #if ( $publishDate && $publishDate.position )
-    #set ( $datePosition = $publishDate.position )
-  #else
-    #set ( $datePosition = "left" )
-  #end
-##
-  #if ( $version )
-    #if ( $version.position )
-      #set ( $versionPosition = $version.position )
-    #else
-      #set ( $versionPosition = "left" )
-    #end
-  #else
-    #set ( $version = "" )
-    #set ( $versionPosition = "left" )
-  #end
-##
-  #set ( $breadcrumbs = $decoration.body.breadcrumbs )
-  #set ( $links = $decoration.body.links )
-
-  #if ( $datePosition.equalsIgnoreCase( "right" ) && $links && $links.size() > 
0 )
-    #set ( $prefix = "&nbsp;|" )
-  #else
-    #set ( $prefix = "" )
-  #end
-##
-  #if ( $datePosition.equalsIgnoreCase( $position ) )
-    #if ( ( $datePosition.equalsIgnoreCase( "right" ) ) || ( 
$datePosition.equalsIgnoreCase( "bottom" ) ) )
-      $prefix <span id="publishDate">$i18n.getString( "site-renderer", 
$locale, "template.lastpublished" ): $dateToday</span>
-      #if ( $versionPosition.equalsIgnoreCase( $position ) )
-        &nbsp;| <span id="projectVersion">$i18n.getString( "site-renderer", 
$locale, "template.version" ): ${project.version}</span>
-      #end
-    #elseif ( ( $datePosition.equalsIgnoreCase( "navigation-bottom" ) ) || ( 
$datePosition.equalsIgnoreCase( "navigation-top" ) ) )
-      <div id="lastPublished">
-        <span id="publishDate">$i18n.getString( "site-renderer", $locale, 
"template.lastpublished" ): $dateToday</span>
-        #if ( $versionPosition.equalsIgnoreCase( $position ) )
-          &nbsp;| <span id="projectVersion">$i18n.getString( "site-renderer", 
$locale, "template.version" ): ${project.version}</span>
-        #end
-      </div>
-    #elseif ( $datePosition.equalsIgnoreCase("left") )
-      <div class="xleft">
-        <span id="publishDate">$i18n.getString( "site-renderer", $locale, 
"template.lastpublished" ): $dateToday</span>
-        #if ( $versionPosition.equalsIgnoreCase( $position ) )
-          &nbsp;| <span id="projectVersion">$i18n.getString( "site-renderer", 
$locale, "template.version" ): ${project.version}</span>
-        #end
-        #if ( $breadcrumbs && $breadcrumbs.size() > 0 )
-          | #breadcrumbs( $breadcrumbs )
-        #end
-      </div>
-    #end
-  #elseif ( $versionPosition.equalsIgnoreCase( $position ) )
-    #if ( ( $versionPosition.equalsIgnoreCase( "right" ) ) || ( 
$versionPosition.equalsIgnoreCase( "bottom" ) ) )
-      $prefix <span id="projectVersion">$i18n.getString( "site-renderer", 
$locale, "template.version" ): ${project.version}</span>
-    #elseif ( ( $versionPosition.equalsIgnoreCase( "navigation-bottom" ) ) || 
( $versionPosition.equalsIgnoreCase( "navigation-top" ) ) )
-      <div id="lastPublished">
-        <span id="projectVersion">$i18n.getString( "site-renderer", $locale, 
"template.version" ): ${project.version}</span>
-      </div>
-    #elseif ( $versionPosition.equalsIgnoreCase("left") )
-      <div class="xleft">
-        <span id="projectVersion">$i18n.getString( "site-renderer", $locale, 
"template.version" ): ${project.version}</span>
-        #if ( $breadcrumbs && $breadcrumbs.size() > 0 )
-          | #breadcrumbs( $breadcrumbs )
-        #end
-      </div>
-    #end
-  #elseif ( $position.equalsIgnoreCase( "left" ) )
-    #if ( $breadcrumbs && $breadcrumbs.size() > 0 )
-      <div class="xleft">
-        #breadcrumbs( $breadcrumbs )
-      </div>
-    #end
-  #end
-#end
-##
-#macro ( poweredByLogo $poweredBy )
-  #if( $poweredBy )
-    #foreach ($item in $poweredBy)
-      #if( $item.href )
-        #set ( $href = $PathTool.calculateLink( $item.href, $relativePath ) )
-        #set ( $href = $href.replaceAll( "\\", "/" ) )
-      #else
-        #set ( $href="http://maven.apache.org/"; )
-      #end
-##
-      #if( $item.name )
-        #set ( $name = $item.name )
-      #else
-        #set ( $name = $i18n.getString( "site-renderer", $locale, 
"template.builtby" )  )
-        #set ( $name = "${name} Maven"  )
-      #end
-##
-      #if( $item.img )
-        #set ( $img = $item.img )
-      #else
-        #set ( $img = "images/logos/maven-feather.png" )
-      #end
-##
-      #if ( ! ( $img.toLowerCase().startsWith("http") || 
$img.toLowerCase().startsWith("https") ) )
-        #set ( $img = $PathTool.calculateLink( $img, $relativePath ) )
-        #set ( $img = $src.replaceAll( "\\", "/" ) )
-      #end
-##
-      #if( $item.alt )
-        #set ( $alt = ' alt="' + $item.alt + '"' )
-      #else
-        #set ( $alt = ' alt="' + $name + '"' )
-      #end
-##
-      #if( $item.border )
-        #set ( $border = ' border="' + $item.border + '"' )
-      #else
-        #set ( $border = "" )
-      #end
-##
-      #if( $item.width )
-        #set ( $width = ' width="' + $item.width + '"' )
-      #else
-        #set ( $width = "" )
-      #end
-      #if( $item.height )
-        #set ( $height = ' height="' + $item.height + '"' )
-      #else
-        #set ( $height = "" )
-      #end
-##
-      <a href="$href" title="$name" class="poweredBy">
-        <img class="poweredBy" $alt src="$img" $border $width $height />
-      </a>
-    #end
-    #if( $poweredBy.isEmpty() )
-      <a href="http://maven.apache.org/"; title="$i18n.getString( 
"site-renderer", $locale, "template.builtby" ) Maven" class="poweredBy">
-        <img class="poweredBy" alt="$i18n.getString( "site-renderer", $locale, 
"template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png" 
/>
-      </a>
-    #end
-  #else
-    <a href="http://maven.apache.org/"; title="$i18n.getString( 
"site-renderer", $locale, "template.builtby" ) Maven" class="poweredBy">
-      <img class="poweredBy" alt="$i18n.getString( "site-renderer", $locale, 
"template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png" 
/>
-    </a>
-  #end
-#end
-##
-<html xmlns="http://www.w3.org/1999/xhtml"#if ( $locale ) 
xml:lang="$locale.language" lang="$locale.language"#end>
-  <head>
-    <meta http-equiv="Content-Type" content="text/html; 
charset=${outputEncoding}" />
-    <title>$title</title>
-    <style type="text/css" media="all">
-      @import url("$relativePath/css/maven-base.css");
-      @import url("$relativePath/css/maven-theme.css");
-      @import url("$relativePath/css/site.css");
-    </style>
-    <link rel="stylesheet" href="$relativePath/css/print.css" type="text/css" 
media="print" />
-    <link rel="shortcut icon" href="/images/favicon.ico" />
-#foreach( $author in $authors )
-      <meta name="author" content="$author" />
-#end
-#if ( $dateCreation )
-    <meta name="Date-Creation-yyyymmdd" content="$dateCreation" />
-#end
-#if ( $dateRevision )
-    <meta name="Date-Revision-yyyymmdd" content="$dateRevision" />
-#end
-#if ( $locale )
-    <meta http-equiv="Content-Language" content="$locale.language" />
-#end
-    #if ( $decoration.body.head )
-      #foreach( $item in $decoration.body.head.getChildren() )
-        ## Workaround for DOXIA-150 due to a non-desired behaviour in p-u
-        ## @see org.codehaus.plexus.util.xml.Xpp3Dom#toString()
-        ## @see org.codehaus.plexus.util.xml.Xpp3Dom#toUnescapedString()
-        #set ( $documentHeader = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" )
-        #set ( $documentHeader = $documentHeader.replaceAll( "\\", "" ) )
-        #if ( $item.name == "script" )
-          $StringUtils.replace( $item.toUnescapedString(), $documentHeader, "" 
)
-        #else
-          $StringUtils.replace( $item.toString(), $documentHeader, "" )
-        #end
-      #end
-    #end
-    ## $headContent
-<!--Google Analytics-->
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-30210968-1']);
-  _gaq.push(['_trackPageview']);
-
-  (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; 
ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-  })();
-
-</script>
-  </head>
-  <body class="composite">
-    <div id="banner">
-      #banner( $decoration.bannerLeft "bannerLeft" )
-      <!-- Commented out since we do not use it.  St.Ack 20110906
-       -->
-      ##  #banner( $decoration.bannerRight "bannerRight" )
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="breadcrumbs">
-      <div class="xright" style="padding-left: 8px; margin-top: -4px;">
-        <form method="GET" action="http://search-hadoop.com/";>
-          <input type="text" style="width: 192px; height: 15px; font-size: 
inherit; border: 1px solid darkgray" name="q" value="Search wiki, mailing lists 
& more" onfocus="this.value=''"/>
-          <input type="hidden" name="fc_project" value="HBase"/>
-          <button style="height: 20px; width: 60px;">Search</button>
-        </form>
-      </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-    <div id="leftColumn">
-      <div id="navcolumn">
-       #publishDate( "navigation-top" $decoration.publishDate 
$decoration.version )
-       #mainMenu( $decoration.body.menus )
-       #poweredByLogo( $decoration.poweredBy )
-       #publishDate( "navigation-bottom" $decoration.publishDate 
$decoration.version )
-      </div>
-    </div>
-    <div id="bodyColumn">
-      <div id="contentBox">
-        $bodyContent
-      </div>
-    </div>
-    <div class="clear">
-      <hr/>
-    </div>
-    <div id="footer">
-       <div class="xright">#publishDate( "right" $decoration.publishDate 
$decoration.version )&nbsp;
-        </div>
-        <div class="xright">Copyright &#169;<a 
href="http://www.apache.org";>#copyright()</a>All Rights Reserved.  Apache 
Hadoop, Hadoop, HDFS, HBase and the HBase project logo are trademarks of the 
Apache Software Foundation.
-        </div>
-      <div class="clear">
-        <hr/>
-      </div>
-    </div>
-  </body>
-</html>

Reply via email to