You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nuvem-commits@incubator.apache.org by lr...@apache.org on 2010/07/12 04:03:07 UTC

svn commit: r963181 - in /incubator/nuvem/site: ./ trunk/ trunk/bin/ trunk/site-publish/ trunk/site-publish/images/ trunk/templates/

Author: lresende
Date: Mon Jul 12 04:03:06 2010
New Revision: 963181

URL: http://svn.apache.org/viewvc?rev=963181&view=rev
Log:
Adding website static files, sync script and confluence auto-export template

Added:
    incubator/nuvem/site/
    incubator/nuvem/site/trunk/
    incubator/nuvem/site/trunk/bin/
    incubator/nuvem/site/trunk/bin/sync
    incubator/nuvem/site/trunk/site-publish/
    incubator/nuvem/site/trunk/site-publish/images/
    incubator/nuvem/site/trunk/site-publish/images/apache-incubator-logo.png   (with props)
    incubator/nuvem/site/trunk/site-publish/images/header_background.png   (with props)
    incubator/nuvem/site/trunk/site-publish/images/notep_16.gif   (with props)
    incubator/nuvem/site/trunk/site-publish/nuvem.css   (with props)
    incubator/nuvem/site/trunk/templates/
    incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml   (with props)

Added: incubator/nuvem/site/trunk/bin/sync
URL: http://svn.apache.org/viewvc/incubator/nuvem/site/trunk/bin/sync?rev=963181&view=auto
==============================================================================
--- incubator/nuvem/site/trunk/bin/sync (added)
+++ incubator/nuvem/site/trunk/bin/sync Mon Jul 12 04:03:06 2010
@@ -0,0 +1,19 @@
+PATH="$PATH:/usr/local/bin"
+export PATH
+
+##
+## Sync Nuvem web site
+##
+
+# Cleanup in case something went wrong from last time
+# This was happening frequently with all svn changes
+(cd "/www/incubator.apache.org/nuvem/"; svn cleanup)
+
+# Make sure we have the latest content
+(cd "/www/incubator.apache.org/nuvem/"; svn up --quiet)
+
+# Install the cwiki exported content
+rsync -p -r "/www/confluence-exports/NUVEM/" "/www/incubator.apache.org/nuvem/"
+
+# Make sure everything is group writable
+chmod -Rf g+w "/www/incubator.apache.org/nuvem/" > /dev/null

Added: incubator/nuvem/site/trunk/site-publish/images/apache-incubator-logo.png
URL: http://svn.apache.org/viewvc/incubator/nuvem/site/trunk/site-publish/images/apache-incubator-logo.png?rev=963181&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/nuvem/site/trunk/site-publish/images/apache-incubator-logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/nuvem/site/trunk/site-publish/images/header_background.png
URL: http://svn.apache.org/viewvc/incubator/nuvem/site/trunk/site-publish/images/header_background.png?rev=963181&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/nuvem/site/trunk/site-publish/images/header_background.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/nuvem/site/trunk/site-publish/images/notep_16.gif
URL: http://svn.apache.org/viewvc/incubator/nuvem/site/trunk/site-publish/images/notep_16.gif?rev=963181&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/nuvem/site/trunk/site-publish/images/notep_16.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: incubator/nuvem/site/trunk/site-publish/nuvem.css
URL: http://svn.apache.org/viewvc/incubator/nuvem/site/trunk/site-publish/nuvem.css?rev=963181&view=auto
==============================================================================
--- incubator/nuvem/site/trunk/site-publish/nuvem.css (added)
+++ incubator/nuvem/site/trunk/site-publish/nuvem.css Mon Jul 12 04:03:06 2010
@@ -0,0 +1,83 @@
+/*
+ * 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.
+ */
+ @charset "UTF-8";
+ 
+ body {
+	font:13px/1.231 arial,helvetica,clean,sans-serif,verdana; 
+	*font-size:small; 
+	*font:x-small; 
+	margin-top: 0px;
+	/*margin and padding on body element
+      can introduce errors in determining
+      element position and are not recommended;
+      we turn them off as a foundation for YUI
+      CSS treatments. */
+	margin:0;
+	padding:0;
+ }
+ 
+ A:link, A:visited, A:active, A:hover {
+    color: #003366;
+}
+
+
+/* styles for links in the top bar */
+#topNavigator  { color: #000000; font-style: normal; }
+
+#topNavigator  a:link {color: #000000;}
+#topNavigator  a:visited {color: #000000;}
+#topNavigator  a:active {color: #000000;}
+#topNavigator  a:hover {color: #000000;}
+
+.topNavigator {
+    background-color: #d4dff5;
+}
+
+/*content*/
+.pagecontent
+{
+    padding: 10px;
+    text-align: left;
+}
+
+/* panels used for navigation */
+.panel {
+    border: 1px dashed #a6c7f2;
+    margin: 10px;
+    margin-top: 0px;
+    margin-bottom: 3px;
+}
+
+.panelHeader {
+    background-color: #f0f0f0;
+    border-bottom: 1px dashed #a6c7f2;
+    padding: 3px;
+    text-align: center;
+}
+
+.panelContent {
+    background-color: #f0f0f0;
+    padding: 5px;
+}
+
+
+/* warning panel */
+.warningPanel { background: #FFFFCE; border:#F0C000 1px solid; padding: 8px; margin: 10px; }
+/* alert panel */
+.alertPanel { background: #FFCCCC; border:#C00 1px solid; padding: 8px; margin: 10px; }

Propchange: incubator/nuvem/site/trunk/site-publish/nuvem.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml
URL: http://svn.apache.org/viewvc/incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml?rev=963181&view=auto
==============================================================================
--- incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml (added)
+++ incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml Mon Jul 12 04:03:06 2010
@@ -0,0 +1,114 @@
+##
+#set ($pageContentHeaderEnabled = false)
+##
+##
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.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.
+-->
+<html>
+    <head>
+        <!-- generateKeywords macro -->
+        <META name="description" content="Apache Nuvem"/>
+        <META name="keywords" content="apache, apache nuvem, nuvem, cloud, cloud api, open source cloud api, google app engine, microsoft azure, amazon ec2, open source, opensource"/>
+        <!-- generatekeywords macro end -->
+
+        <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/nuvem/nuvem.css">
+        <link rel="SHORTCUT ICON" href="$images/favicon.ico">   
+        <title>Apache Nuvem - $page.title</title>
+    </head>
+
+    <body onload="init()">
+    
+    <!-- topNav macro -->
+    <div id="header">
+     <table valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://incubator.apache.org/nuvem/images/header_background.png">
+      <tr>
+        <td width="244" height="88">
+          <img src="http://incubator.apache.org/nuvem/images/nuvem_logo_small_transparent.gif"  width="70%" height="70%" style="padding: 0 15px 15px 0;"/>
+        </td>
+        <td align="right"> 
+          <img src="http://incubator.apache.org/nuvem/images/apache-incubator-logo.png" style="padding: 5px;"> 
+        </td>
+        <!-- Adds the edit page link to the top banner-->
+        <td valign="bottom">
+           <!-- pageControls macro -->
+           <div align="right" style="padding: 2px 10px; margin: 0px;">
+             <a href="$confluenceUri/pages/editpage.action?pageId=$page.id">
+             <img src="http://incubator.apache.org/nuvem/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>    
+           </div>
+           <!-- pageControls macro end -->
+        </td>
+      </tr>
+     </table>
+    </div>
+    <!-- topNav macro end -->
+
+    <!-- breadCrumbs macro -->
+    <div id="topNavigator">
+        <table border="0" cellpadding="2" cellspacing="0" width="100%">
+          <tr class="topNavigator">
+            <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
+              &nbsp;$autoexport.breadcrumbs($page)
+            </td>
+            <td align="right" valign="middle" class="topNavigator" align="left" nowrap="true">
+              <a href="http://incubator.apache.org/nuvem/">Nuvem Home</a> | 
+              <a href="http://www.mail-archive.com/nuvem-user@incubator.apache.org/">User List</a> | 
+              <a href="http://www.mail-archive.com/nuvem-dev@incubator.apache.org/">Dev List</a> | 
+              <a href="http://issues.apache.org/jira/browse/NUVEM">Issue Tracker</a>&nbsp;&nbsp;
+            </td>
+          </tr>
+        </table>
+    </div>
+
+    <!-- breadCrumbs macro end -->
+    <table border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
+        <tr>
+           <td align="left" valign="top">
+                <!-- pageContent macro -->
+                <div id="PageContent">
+                    #if ($pageContentHeaderEnabled)
+                        <div class="pageheader" style="padding: 6px 0px 0px 0px;">
+                           <div style="margin: 0px 10px 0px 10px" class="smalltext">$page.space.name</div>
+                           <div style="margin: 0px 10px 8px 10px" class="pagetitle">$page.title</div>
+                        </div>
+                    #end
+                    <div class="pagecontent">
+                       <div class="wiki-content">
+                        $body
+                       </div>
+                    </div>
+                </div>
+               <!-- pageContent macro end -->
+           </td>
+        </tr>
+    </table>
+
+    <!-- footer macro -->
+    ## Google Analytics script
+    <script type="text/javascript">
+	    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+	</script>
+	<script type="text/javascript">
+	    var pageTracker = _gat._getTracker("UA-1174707-6");
+        pageTracker._trackPageview();
+    </script>
+    <!-- footer macro end -->
+
+    </body>
+</html>
\ No newline at end of file

Propchange: incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/nuvem/site/trunk/templates/nuvem_confluence_html_export.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml