Author: dklco
Date: Wed May 1 18:02:38 2013
New Revision: 1478127
URL: http://svn.apache.org/r1478127
Log:
Adding The basis for a skin for bundle sites
Added:
sling/whiteboard/dklco/bundle-skin/ (with props)
sling/whiteboard/dklco/bundle-skin/pom.xml
sling/whiteboard/dklco/bundle-skin/src/
sling/whiteboard/dklco/bundle-skin/src/main/
sling/whiteboard/dklco/bundle-skin/src/main/resources/
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/LICENSE.txt
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/NOTICE.txt
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/maven/
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/maven/site.vm
sling/whiteboard/dklco/bundle-skin/src/main/resources/css/
sling/whiteboard/dklco/bundle-skin/src/main/resources/css/maven-theme.css
sling/whiteboard/dklco/bundle-skin/src/main/resources/css/site.css
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/external.png
(with props)
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_error_sml.gif
(with props)
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_info_sml.gif
(with props)
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_success_sml.gif
(with props)
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_warning_sml.gif
(with props)
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/newwindow.png
(with props)
sling/whiteboard/dklco/bundle-skin/src/media/
sling/whiteboard/dklco/bundle-skin/src/media/commons-logo.xcf (with props)
Propchange: sling/whiteboard/dklco/bundle-skin/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed May 1 18:02:38 2013
@@ -0,0 +1 @@
+target
Added: sling/whiteboard/dklco/bundle-skin/pom.xml
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/pom.xml?rev=1478127&view=auto
==============================================================================
--- sling/whiteboard/dklco/bundle-skin/pom.xml (added)
+++ sling/whiteboard/dklco/bundle-skin/pom.xml Wed May 1 18:02:38 2013
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>sling</artifactId>
+ <version>13</version>
+ </parent>
+ <artifactId>org.apache.sling.site.bundle-skin</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>Sling Site Skin</name>
+ <description>Sling Site Skin</description>
+ <inceptionYear>2013</inceptionYear>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+ <build>
+ <resources>
+ <resource>
+ <directory>${basedir}/src/main/resources</directory>
+ </resource>
+ </resources>
+ </build>
+</project>
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/LICENSE.txt
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/LICENSE.txt?rev=1478127&view=auto
==============================================================================
--- sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/LICENSE.txt
(added)
+++ sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/LICENSE.txt
Wed May 1 18:02:38 2013
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
Added: sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/NOTICE.txt
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/NOTICE.txt?rev=1478127&view=auto
==============================================================================
--- sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/NOTICE.txt
(added)
+++ sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/NOTICE.txt
Wed May 1 18:02:38 2013
@@ -0,0 +1,6 @@
+Apache Slig Bundle Skin
+Copyright 2006-2011 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/maven/site.vm
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/maven/site.vm?rev=1478127&view=auto
==============================================================================
---
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/maven/site.vm
(added)
+++
sling/whiteboard/dklco/bundle-skin/src/main/resources/META-INF/maven/site.vm
Wed May 1 18:02:38 2013
@@ -0,0 +1,311 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at $dateFormat.format( $currentDate ) (
$Revision: 1080083 $ ) -->
+<!-- $HeadURL:
http://svn.apache.org/repos/asf/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm
$ -->
+##
+##
+## Special processing:
+## - allows relative URLs to be processed by the template by removing
http://dummy.invalid/ from the start of any URL
+## - resolves $relativePath in banner and head elements
+## - allows absolute URLs in banner elements by removing '.remove.invalid'
from hrefs
+## - adds <custom><footer> content after Copyright, replacing @project.name@
with current ${project.name}
+## i.e. delays resolution of the Maven variable so it is processed in the
current site context, not wherever
+## site.xml is located.
+## - add trademark overlay if the POM property banner[Left|Right]TradePos is
defined - should be a style value.
+##Following is currently disabled:
+## - add trademark overlay if <custom><bannerLeft|Right><tradePos> is defined,
using the value as the style
+##
+## Resolve relativePath in context of current project
+#set ( $dummy = 'http://dummy.invalid/' )
+#set ( $dummylen = $dummy.length() )
+#macro ( relreplace $text )
+## Workround to allow site.xml to use $relativePath in URLs
+#if ( $text.startsWith($dummy) )#set ( $text = $text.substring($dummylen) )#end
+$StringUtils.replace( $text, '$relativePath', $relativePath )##
+#end
+##
+## Remove extraneous header from custom entries
+## See DOXIA-150
+#set ( $documentHeader = '<?xml version="1.0" encoding="UTF-8"?>' )
+#macro ( removeheader $text )
+#set ( $text = $StringUtils.replace( $text, $documentHeader, '' ) )
+#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" )
+ <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:/") ||
+ $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
+ <img class="imageLink"$imgSrc$imgAlt$imgBorder$imgWidth$imgHeight/>
+ #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 )
+ #foreach( $item in $breadcrumbs )
+ #set ( $currentItemHref = $PathTool.calculateLink( $item.href,
$relativePath ) )
+ #set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+ #if ( ( $currentItemHref == '' ) )
+ #set ( $currentItemHref = './' )
+ #end
+##
+ #link( $currentItemHref $item.name $item.target $item.img $item.position
$item.alt $item.border $item.width $item.height )
+ >
+ #end
+ $title
+#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.items && $menu.items.size() > 0 )
+ <ul>
+ <li><strong>$menu.name</strong></li>
+ #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
+##
+<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=UTF-8" />
+ <title>Apache Sling - $title</title>
+ <link type="text/css" rel="stylesheet" media="all"
href="$relativePath/css/site.css" />
+#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
+ </head>
+ <body class="composite">
+ <div class="title">
+ <div class="logo">
+ <a href="http://sling.apache.org/">
+ <img border="0" alt="Apache Sling"
src="http://sling.apache.org/res/logo.png">
+ </a>
+ </div>
+ <div class="header">
+ <a href="http://www.apache.org/">
+ <img border="0" alt="Apache"
src="http://sling.apache.org/res/apache.png">
+ </a>
+ </div>
+ </div>
+ <div class="menu">
+ #mainMenu( $decoration.body.menus )
+ <p><strong><a href="/documentation.html">Sling
Documentation</a></strong> <br />
+ <a href="/documentation/getting-started.html">Getting Started</a> <br
/>
+ <a href="/documentation/the-sling-engine.html">The Sling Engine</a>
<br />
+ <a href="/documentation/development.html">Development</a> <br />
+ <a href="/documentation/bundles.html">Bundles</a> <br />
+ <a href="/documentation/tutorials-how-tos.html">Tutorials &
How-Tos</a> <br />
+ <a href="/documentation/configuration.html">Configuration</a> <br />
+ <a href="http://s.apache.org/sling.wiki">Wiki</a> <br />
+ <a href="http://s.apache.org/sling.faq">FAQ</a> <br />
+ <a href="/sitemap.html">Site Map</a></p>
+ <p><strong>API Docs</strong> <br />
+ <a href="/apidocs/sling6/index.html">Sling 6</a> <br />
+ <a href="/apidocs/sling5/index.html">Sling 5</a> <br />
+ </p>
+ <p><strong>Project info</strong> <br />
+ <a href="/downloads.cgi">Downloads</a> <br />
+ <a href="http://www.apache.org/licenses/">License</a> <br />
+ <a href="/contributing.html">Contributing</a> <br />
+ <a href="/news.html">News</a> <br />
+ <a href="/links.html">Links</a> <br />
+ <a href="/project-information.html">Project Information</a> <br />
+ <a href="https://issues.apache.org/jira/browse/SLING">Issue
Tracker</a> <br />
+ <a href="http://svn.apache.org/viewvc/sling/trunk">Browse Source
Repository</a> <br />
+ <a href="/project-information/security.html">Security</a> <br />
+ </p>
+ <p><strong>Sponsorship</strong> <br />
+ <a href="http://www.apache.org/foundation/thanks.html">Thanks</a> <br
/>
+ <a href="http://www.apache.org/foundation/sponsorship.html">Become a
Sponsor</a> <br />
+ <a href="http://www.apache.org/foundation/buy_stuff.html">Buy
Stuff</a> <br />
+ </p>
+ <iframe
+ src="http://www.apache.org/ads/button.html"
+ style="border-width:0; float: left" frameborder="0"
+ scrolling="no"
+ width="135"
+ height="135">
+ </iframe>
+ </div>
+ <div class="main">
+ <div class="breadcrump" style="font-size: 80%;">
+ <a href="/">Apache Sling</a> / <a
href="$relativePath">${project.name}</a> / #breadcrumbs( $breadcrumbs )
+ </div>
+ $bodyContent
+ <div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
+ Version ${project.version} last updated on $dateFormat.format(
$currentDate )
+ </div>
+ <div class="trademarkFooter">
+ Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project
+ logo are trademarks of The Apache Software Foundation. All other marks
mentioned
+ may be trademarks or registered trademarks of their respective owners.
+ </div>
+ </div>
+ </body>
+</html>
Added: sling/whiteboard/dklco/bundle-skin/src/main/resources/css/maven-theme.css
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/css/maven-theme.css?rev=1478127&view=auto
==============================================================================
--- sling/whiteboard/dklco/bundle-skin/src/main/resources/css/maven-theme.css
(added)
+++ sling/whiteboard/dklco/bundle-skin/src/main/resources/css/maven-theme.css
Wed May 1 18:02:38 2013
@@ -0,0 +1,66 @@
+/*
+ * 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.
+ */
+
+code{
+ font-family: Courier, monospace;
+ font-size: 13px;
+}
+#legend li.externalLink {
+ background: url(../images/external.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.externalLink, a.externalLink:link, a.externalLink:visited,
a.externalLink:active, a.externalLink:hover {
+ background: url(../images/external.png) right center no-repeat;
+ padding-right: 18px;
+}
+#legend li.newWindow {
+ background: url(../images/newwindow.png) left top no-repeat;
+ padding-left: 18px;
+}
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active,
a.newWindow:hover {
+ background: url(../images/newwindow.png) right center no-repeat;
+ padding-right: 18px;
+}
+.source {
+ border: 1px solid #999;
+}
+dl {
+ padding: 4px 4px 4px 6px;
+ border: 1px solid #aaa;
+ background-color: #ffc;
+}
+dt {
+ color: #900;
+}
+.errormark, .warningmark, .donemark, .infomark {
+ background: url(../images/icon_error_sml.gif) no-repeat;
+}
+
+.warningmark {
+ background-image: url(../images/icon_warning_sml.gif);
+}
+
+.donemark {
+ background-image: url(../images/icon_success_sml.gif);
+}
+
+.infomark {
+ background-image: url(../images/icon_info_sml.gif);
+}
+
Added: sling/whiteboard/dklco/bundle-skin/src/main/resources/css/site.css
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/css/site.css?rev=1478127&view=auto
==============================================================================
--- sling/whiteboard/dklco/bundle-skin/src/main/resources/css/site.css (added)
+++ sling/whiteboard/dklco/bundle-skin/src/main/resources/css/site.css Wed May
1 18:02:38 2013
@@ -0,0 +1,256 @@
+
+body {
+ background-color: #ffffff;
+ color: #3b3b3b;
+ font-family: Tahoma, Arial, sans-serif;
+ font-size: 10pt;
+ line-height: 140%
+}
+
+h1,h2,h3,h4,h5,h6 {
+ font-weight: normal;
+ color: #000000;
+ line-height: 100%;
+}
+
+h1 {
+ font-size: 200%;
+ font-weight: bold;
+ border-bottom: solid #EEE 1px;
+ border-top: solid #EEE 1px;
+ padding-top:.2em;
+ padding-bottom:.2em;
+}
+
+h2 {
+ font-size: 200%;
+ margin-top: 1em;
+ font-weight: normal;
+ border-top: solid rgb(155, 155, 155) 2px;
+ padding-top: 0.45em;
+}
+
+h3 {
+ font-size: 150%
+}
+
+h4 {
+ font-size: 140%
+}
+
+h5 {
+ font-size: 130%
+}
+
+h6 {
+ font-size: 120%
+}
+
+a {
+ color: #1980af
+}
+
+a:visited {
+ color: #1980af
+}
+
+a:hover {
+ color: #1faae9
+}
+
+.title {
+ position: absolute;
+ left: 1px;
+ right: 1px;
+ top: 25px;
+ height: 81px;
+ background:
+ url(http://incubator.apache.org/sling/site/media.data/gradient.png)
+ repeat-x;
+ background-position: bottom;
+}
+
+.title img {
+ width: auto;
+ border: none;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0px;
+}
+
+.logo {
+ position: absolute;
+ width: 15em;
+ height: 81px;
+ text-align: center;
+}
+
+.header {
+ text-align: right;
+ margin-right: 20pt;
+}
+
+.menu {
+ border-top: 10px solid #f9bb00;
+ position: absolute;
+ top: 107px;
+ left: 1px;
+ width: 15em;
+ bottom: 0px;
+ padding: 0px;
+ background-color: #fcfcfc
+}
+
+.menu ul,.menu p {
+ background-color: #fdf5d9;
+ list-style: none;
+ color: #4a4a43
+}
+
+.menu ul {
+ padding: 5px;
+}
+
+.menu ul ul {
+ margin: 0;
+ padding: 0 5px;
+}
+
+.menu p {
+ font-size: 90%;
+ margin: 0px;
+ padding: 1px;
+ padding-left: 1em;
+ padding-bottom: 1em;
+}
+
+.menu a {
+ text-decoration: none;
+ color: #4a4a43
+}
+
+.main {
+ position: absolute;
+ border-top: 10px solid #cde0ea;
+ top: 107px;
+ left: 15em;
+ right: 1px;
+ margin-left: 2px;
+ padding-right: 4em;
+ padding-left: 1em;
+ padding-top: 1em;
+}
+
+.preformatted {
+ color: black;
+ background-color: #eeeeee;
+ border: solid 1px black;
+ padding: 0.5em
+}
+
+.preformattedContent pre {
+ margin: 0em
+}
+
+table {
+ border-collapse: collapse;
+ margin: 5px;
+}
+
+th {
+ background-color: #FDF5D9;
+ border: 1px solid #DDD;
+ padding: 3px 4px;
+ text-align: left;
+ font-weight:bold;
+ font-size:90%;
+ padding: 3px 4px;
+}
+
+td {
+ border: 1px solid #DDD;
+ padding: 3px 4px;
+}
+
+.note
+{
+/*
+ background-color: #FFFFCE;
+ border: 1px solid #F0C000;
+*/
+ border: 1px solid #f0c000;
+ background: #ffffce url('icons/warning.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
+}
+
+.warning
+{
+/*
+ background-color: #FFCCCC;
+ border: 1px solid #CC0000;
+*/
+ border: 1px solid #f0c000;
+ background: #ffffce url('icons/forbidden.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
+}
+
+.info
+{
+/*
+ background-color: #D8E4F1;
+ border: 1px solid #3C78B5;
+*/
+ border: 1px solid #3c78b5;
+ background: #D8E4F1 url('icons/information.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
+}
+
+.tip
+{
+/*
+ background-color: #DDFFDD;
+ border: 1px solid #009900;
+*/
+ border: 1px solid #090;
+ background: #dfd url('/icons/check.gif') no-repeat 5px 5px;
+ text-align: left;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ padding: 5px 5px 5px 28px;
+}
+
+/** Breadcrump at the top of each page */
+.breadcrump {
+ font-size: 80%;
+}
+
+/** Last modification information at the botton of each page */
+.timestamp {
+ margin-top: 30px;
+ font-size: 80%;
+ text-align: right;
+}
+
+/** Trademark text at the bottom of each page */
+.trademarkFooter {
+ font-size: 80%;
+ font-style: italic;
+ margin-top: 10px;
+ text-align: left;
+}
+
+blockquote {
+ font-style: italic;
+ margin: 0;
+ padding-left: 1em;
+ border-left: 1px solid black;
+}
\ No newline at end of file
Added: sling/whiteboard/dklco/bundle-skin/src/main/resources/images/external.png
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/images/external.png?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/external.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_error_sml.gif
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_error_sml.gif?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_error_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_info_sml.gif
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_info_sml.gif?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_info_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_success_sml.gif
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_success_sml.gif?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_success_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_warning_sml.gif
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_warning_sml.gif?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/icon_warning_sml.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/newwindow.png
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/main/resources/images/newwindow.png?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange:
sling/whiteboard/dklco/bundle-skin/src/main/resources/images/newwindow.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: sling/whiteboard/dklco/bundle-skin/src/media/commons-logo.xcf
URL:
http://svn.apache.org/viewvc/sling/whiteboard/dklco/bundle-skin/src/media/commons-logo.xcf?rev=1478127&view=auto
==============================================================================
Binary file - no diff available.
Propchange: sling/whiteboard/dklco/bundle-skin/src/media/commons-logo.xcf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream