You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2018/02/06 03:17:55 UTC

[sling-whiteboard] branch master updated: Updating to publish a sample page and adding a docker image

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e8ff34  Updating to publish a sample page and adding a docker image
8e8ff34 is described below

commit 8e8ff34d1815873af3de796f948cc2fdab7ff3af
Author: Dan Klco <da...@gmail.com>
AuthorDate: Mon Feb 5 22:15:38 2018 -0500

    Updating to publish a sample page and adding a docker image
---
 cms/{readme.md => README.md}                       |   4 +-
 cms/docker/Dockerfile                              |  45 +++
 cms/docker/README.md                               |  18 ++
 cms/docker/cms.conf                                |  22 ++
 cms/docker/site.conf                               |  26 ++
 .../breadcrumb/breadcrumb.jsp}                     |  14 +-
 .../{pages/base/body.jsp => general/tags/tags.jsp} |  20 +-
 .../apps/reference/components/pages/base/body.jsp  |  43 ++-
 .../apps/reference/components/pages/base/head.jsp  |  20 +-
 .../etc/clientlibs/reference/img/apache.png        | Bin 0 -> 12022 bytes
 .../etc/clientlibs/reference/img/sling.svg         |  19 ++
 .../jcr_root/etc/clientlibs/reference/site.css     | 339 +++++++++++++++++++++
 12 files changed, 540 insertions(+), 30 deletions(-)

diff --git a/cms/readme.md b/cms/README.md
similarity index 74%
rename from cms/readme.md
rename to cms/README.md
index 3bec3eb..835b701 100644
--- a/cms/readme.md
+++ b/cms/README.md
@@ -6,7 +6,7 @@ A reference implementation of a simple Content Management System built in Apache
 
 Build an instance with of the Sling CMS
 
-    mvn clean install -Drat.skip=true
+    mvn clean install
     
 The JAR will be located under: `builder/target/org.apache.sling.cms-{VERSION].jar`
 
@@ -16,4 +16,4 @@ To run the Sling CMS, build the code and copy the files `builder/src/main/script
 
 ## Login
 
-Navigate to [http://localhost:8080/admin/login.html](http://localhost:8080/admin/login.html). The default credentials are *admin*/*admin*.
+Navigate to [http://localhost:8080/](http://localhost:8080/). The default credentials are *admin*/*admin*.
diff --git a/cms/docker/Dockerfile b/cms/docker/Dockerfile
new file mode 100644
index 0000000..2f1068c
--- /dev/null
+++ b/cms/docker/Dockerfile
@@ -0,0 +1,45 @@
+#
+#		 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.
+#
+# Apache Sling CMS Dockerfile
+#
+# https://github.com/whiteboard/cms/docker
+#
+
+# Pull base image.
+FROM openjdk:8-jre
+MAINTAINER dev@sling.apache.org
+
+# Configure directories
+WORKDIR /opt/sling
+VOLUME /opt/sling/sling
+
+# Setup Sling CMS
+RUN mkdir -p /opt/sling
+RUN wget https://repository.apache.org/content/repositories/snapshots/org/apache/sling/org.apache.sling.cms.builder/1.0.0-SNAPSHOT/org.apache.sling.cms.builder-1.0.0-20180205.233031-3.jar -O /opt/sling/org.apache.sling.cms.jar
+ENV JAVA_OPTS -Xmx512m
+ENV SLING_OPTS ''
+
+# Configure Apache
+RUN apt-get update 
+RUN apt-get install apache2 -y
+RUN mkdir -p /var/www/vhosts/sling-cms
+RUN mkdir -p /var/www/vhosts/sling
+RUN a2enmod proxy
+RUN a2enmod proxy_http
+COPY cms.conf /etc/apache2/sites-enabled
+COPY site.conf /etc/apache2/sites-enabled
+
+# Expose endpoints
+EXPOSE 80 443
+
+# Background Apache httpd and start Sling CMS
+CMD exec service apache2 start & java $JAVA_OPTS -jar org.apache.sling.cms.jar $SLING_OPTS
diff --git a/cms/docker/README.md b/cms/docker/README.md
new file mode 100644
index 0000000..471f2c5
--- /dev/null
+++ b/cms/docker/README.md
@@ -0,0 +1,18 @@
+# Apache Sling CMS Docker image
+
+The Apache Sling CMS Docker integration project is a helper aimed to make it simple to deploy an instance of Apache Sling CMS.
+
+## Building a Docker image
+
+$ docker build -t org.apache.sling.cms .
+
+## Running a standalone Sling instance
+
+To launch a docker instance named 'sling-cms' bound to 
+port 80 on the local machine, and with the /opt/sling/sling volume
+mounted at /srv/docker/sling in the local machine, execute:
+
+```
+$ docker run -ti -p 80:80 -v /srv/docker/sling:/opt/sling/sling \
+    --name sling-cms org.apache.sling.cms
+```
diff --git a/cms/docker/cms.conf b/cms/docker/cms.conf
new file mode 100644
index 0000000..24d3be6
--- /dev/null
+++ b/cms/docker/cms.conf
@@ -0,0 +1,22 @@
+#
+#		 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.
+#
+
+<VirtualHost *:80>
+   ServerName cms.sling.apache.org
+   DocumentRoot /var/www/vhosts/sling-cms
+   ErrorLog /var/log/apache2/sling-cms-err.log
+   TransferLog /var/log/apache2/sling-cms-access.log
+   
+   ProxyPass /.well-known !
+   ProxyPass / http://localhost:8080/
+   ProxyPassReverse / http://localhost:8080/
+</VirtualHost>
diff --git a/cms/docker/site.conf b/cms/docker/site.conf
new file mode 100644
index 0000000..7b8d458
--- /dev/null
+++ b/cms/docker/site.conf
@@ -0,0 +1,26 @@
+#
+#		 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.
+#
+
+<VirtualHost *:80>
+   ServerName sling2.apache.org
+   DocumentRoot /var/www/vhosts/sling
+   ErrorLog /var/log/apache2/sling-err.log
+   TransferLog /var/log/apache2/sling-access.log
+   
+   ProxyPass /.well-known !
+   
+   ProxyPass /etc/clientlibs/reference/ http://localhost:8080/etc/clientlibs/reference/
+   ProxyPassReverse /etc/clientlibs/reference/ http://localhost:8080/etc/clientlibs/reference/
+   
+   ProxyPass / http://localhost:8080/content/sling-apache-org/
+   ProxyPassReverse / http://localhost:8080/content/sling-apache-org/
+</VirtualHost>
diff --git a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/scripts.jsp b/cms/ui/src/main/resources/jcr_root/apps/reference/components/general/breadcrumb/breadcrumb.jsp
similarity index 59%
rename from cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/scripts.jsp
rename to cms/ui/src/main/resources/jcr_root/apps/reference/components/general/breadcrumb/breadcrumb.jsp
index fed0013..2267fe4 100644
--- a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/scripts.jsp
+++ b/cms/ui/src/main/resources/jcr_root/apps/reference/components/general/breadcrumb/breadcrumb.jsp
@@ -17,6 +17,14 @@
  * under the License.
  */ --%>
  <%@include file="/libs/sling-cms/global.jsp"%>
-<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
-<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
\ No newline at end of file
+ <sling:adaptTo adaptable="${resource}" adaptTo="org.apache.sling.cms.core.models.PageManager" var="pageMgr" />
+<a href="/">
+	Home
+</a>&nbsp;�&nbsp;
+<c:forEach var="parent" items="${sling:getParents(pageMgr.page.resource,3)}">
+	<c:if test="${parent.path != page.resource.path}">
+		<a href="${parent.path}.html">
+			<sling:encode value="${parent.valueMap['jcr:content/jcr:title']}" default="${parent.name}" mode="HTML" />
+		</a>&nbsp;�&nbsp;
+	</c:if>
+</c:forEach>
diff --git a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp b/cms/ui/src/main/resources/jcr_root/apps/reference/components/general/tags/tags.jsp
similarity index 62%
copy from cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp
copy to cms/ui/src/main/resources/jcr_root/apps/reference/components/general/tags/tags.jsp
index 06b5898..51dcd52 100644
--- a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp
+++ b/cms/ui/src/main/resources/jcr_root/apps/reference/components/general/tags/tags.jsp
@@ -17,15 +17,11 @@
  * under the License.
  */ --%>
  <%@include file="/libs/sling-cms/global.jsp"%>
-<body>
-	<sling:call script="/libs/sling-cms/components/editor/scripts/init.jsp" />
-	<div class="container">
-		<div class="row">
-			<div class="col-12">
-				<sling:call script="content.jsp" />
-			</div>
-		</div>
-	</div>
-	<sling:call script="scripts.jsp" />
-	<sling:call script="/libs/sling-cms/components/editor/scripts/finalize.jsp" />
-</body>
\ No newline at end of file
+ <sling:adaptTo adaptable="${resource}" adaptTo="org.apache.sling.cms.core.models.PageManager" var="pageMgr" />
+<c:set var="contentResource" value="${sling:getRelativeResource(page.resource,'jcr:content')}" />
+<c:forEach var="tagPath" items="${contentResource.valueMap['keywords']}">
+	<c:set var="tag" value="${sling:getResource(resourceResolver,tagPath)}" />
+	<a href="/tags.html${tag.path}.html" class="label">
+		<sling:encode value="${tag.valueMap['jcr:title']}" default="${tag.name}" mode="HTML" />
+	</a>
+</c:forEach>
diff --git a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp b/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp
index 06b5898..50653de 100644
--- a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp
+++ b/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/body.jsp
@@ -19,13 +19,48 @@
  <%@include file="/libs/sling-cms/global.jsp"%>
 <body>
 	<sling:call script="/libs/sling-cms/components/editor/scripts/init.jsp" />
-	<div class="container">
+	<div class="title">
+		<div class="logo">
+			<a href="/">
+				<img border="0" alt="Apache Sling" src="/etc/clientlibs/reference/img/sling.svg"/>
+			</a>
+		</div>
+		<div class="header">
+			<a href="http://www.apache.org">
+				<img border="0" alt="Apache" src="/etc/clientlibs/reference/img/apache.png"/>
+			</a>
+		</div>
+	</div>
+	<div class="menu">
+		<sling:include path="/content/sling-apache-org/index/jcr:content/menu" resourceType="sling-cms/components/general/richtext" />
+	</div>
+	<div class="main">
+		<div class="pagenav">
+			<sling:include path="breadcrumb" resourceType="reference/components/general/breadcrumb" />               
+			<div class="tags">
+				<sling:include path="tags" resourceType="reference/components/general/tags" />
+			</div>                
+		</div>
+		<h1 class="pagetitle">
+			${sling:encode(resource.valueMap['jcr:title'],'HTML')}
+		</h1>
 		<div class="row">
-			<div class="col-12">
-				<sling:call script="content.jsp" />
+			<sling:call script="content.jsp" />
+		</div>
+		<div class="footer">
+			<div class="revisionInfo">
+				Last modified by <span class="author">${sling:encode(resource.valueMap['jcr:lastModifiedBy'],'HTML')}</span>
+				on <span class="comment"><fmt:formatDate type="both" dateStyle="long" timeStyle="long" value = "${resource.valueMap['jcr:lastModified'].time}" /></span>
 			</div>
+			<p>
+				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.
+			</p>
+			<p>
+				<jsp:useBean id="date" class="java.util.Date" />
+				Copyright � 2011-<fmt:formatDate value="${date}" pattern="yyyy" /> The Apache Software Foundation.
+			</p>
 		</div>
 	</div>
-	<sling:call script="scripts.jsp" />
+	<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
 	<sling:call script="/libs/sling-cms/components/editor/scripts/finalize.jsp" />
 </body>
\ No newline at end of file
diff --git a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/head.jsp b/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/head.jsp
index d0f02e4..d5bda7b 100644
--- a/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/head.jsp
+++ b/cms/ui/src/main/resources/jcr_root/apps/reference/components/pages/base/head.jsp
@@ -18,13 +18,15 @@
  */ --%>
  <%@include file="/libs/sling-cms/global.jsp"%>
 <head>
-	<meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <title>${properties['jcr:title']}</title>
-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
-    <!--[if lt IE 9]>
-      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
-      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-    <![endif]-->
+	<meta charset="utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <title>Apache Sling :: ${resource.valueMap['jcr:title']}</title>
+    <link rel="icon" href="/etc/clientlibs/reference/favicon.ico"/>
+    <link rel="stylesheet" href="/etc/clientlibs/reference/site.css"/>
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+    <script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js'></script>
+    <script>
+    		hljs.initHighlightingOnLoad();
+    </script>
 </head>
\ No newline at end of file
diff --git a/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/img/apache.png b/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/img/apache.png
new file mode 100644
index 0000000..fc3f667
Binary files /dev/null and b/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/img/apache.png differ
diff --git a/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/img/sling.svg b/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/img/sling.svg
new file mode 100644
index 0000000..ac3c0e7
--- /dev/null
+++ b/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/img/sling.svg
@@ -0,0 +1,19 @@
+<!--
+  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.
+-->
+<svg id="Sling_Logo" data-name="Sling Logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 768 392"><defs><linearGradient id="linear-gradient" x1="-8576.57" y1="2068.26" x2="-8523.42" y2="2006.11" gradientTransform="matrix(-1, -0.01, -0.01, 1, -8384.13, -1821.1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f69923"/><stop offset="0.31" stop-color="#f79a23"/><stop offset="0.84" stop-color="#e97826"/></linearGradient><linearGradie [...]
\ No newline at end of file
diff --git a/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/site.css b/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/site.css
new file mode 100644
index 0000000..5f6e7b2
--- /dev/null
+++ b/cms/ui/src/main/resources/jcr_root/etc/clientlibs/reference/site.css
@@ -0,0 +1,339 @@
+/*
+ * 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.
+ */
+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%;
+}
+
+.tocHeading {
+	font-size:120%;
+	font-weight:bold;
+}
+
+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 #e0e0e0 1px;
+    padding-top: 0.45em;
+}
+
+h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited {
+	color:black;
+	text-decoration:none;
+}
+
+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
+}
+
+img {
+    max-width: 100%;
+    border: solid 1px #EEE;
+    margin-top: 0.5em;
+    margin-bottom: 0.5em;
+    padding: 0.5em
+}
+
+.title {
+    position: absolute;
+    left: 1px;
+    right: 1px;
+    top: 25px;
+    height: 81px;
+    background:
+        url(https://sling.apache.org/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;
+}
+
+.logo img {
+    height: 63px;
+}
+
+.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;
+    padding-left: 4em;
+    margin-top: 0px;
+    padding-top: 2em;
+    padding-bottom: 2em;
+    margin-left: 0px;
+    color: #4a4a43
+}
+
+.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('/res/icons/check.gif') no-repeat 5px 5px;
+	text-align: left;
+	margin-top: 5px;
+	margin-bottom: 5px;
+	padding: 5px 5px 5px 28px;
+}
+
+/** Last modification information at the botton of each page */
+.timestamp {
+    margin-top: 30px;
+    font-size: 80%;
+    text-align: right;
+}
+
+.footer {
+    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;
+}
+
+pre {
+    color: black;
+    background-color: #f0f0f0;
+    border: solid 1px #f5f5f5;
+    margin-top: 0.5em;
+    margin-bottom: 0.5em;
+    padding: 0.5em;
+    width: 100%;
+}
+
+.draft {
+	font-size:150%;
+	font-weight:bold;
+    color:blue;
+    text-align:center;
+}
+
+.footer {
+    padding-top: 1em; 
+}
+
+.badge {
+    border-radius: 2px;
+    background-color: #EEE;
+    text-align: center;
+    padding-left: 3px;
+    padding-right: 3px;
+	margin-left: 3px;
+}
+
+.pagenav {
+    overflow:hidden
+    font-size: 70%;
+    clear:both;
+    padding-bottom:1em;
+}
+
+.breadcrumbs {
+    float:left;
+}
+
+.tags {
+    float:right;
+}
+
+.tags a {
+    background-color: #EEE;
+	padding: 0.2em;
+    margin-left: 0.2em;
+	text-decoration: none;
+}
+
+.allTagsLink {
+    padding-right:0.5em;
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
dklco@apache.org.