You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wink.apache.org by lr...@apache.org on 2012/05/15 07:11:14 UTC

svn commit: r1338536 [6/6] - in /incubator/wink/site/trunk/cms: ./ content/ content/assets/ content/assets/css/ content/assets/ico/ content/assets/images/ content/assets/js/ content/assets/js/google-code-prettify/ lib/ templates-bootstrap/ templates/

Propchange: incubator/wink/site/trunk/cms/content/assets/js/jquery.js
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/wink/site/trunk/cms/content/index.mdtext
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/content/index.mdtext?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/content/index.mdtext (added)
+++ incubator/wink/site/trunk/cms/content/index.mdtext Tue May 15 05:11:12 2012
@@ -0,0 +1,6 @@
+# Welcome
+
+Welcome to the Apache CMS.  Please see the following resources for further help:
+
+ - [http://www.apache.org/dev/cmsref.html](http://www.apache.org/dev/cmsref.html)
+ - [http://wiki.apache.org/general/ApacheCms2010](http://wiki.apache.org/general/ApacheCms2010)

Added: incubator/wink/site/trunk/cms/content/sitemap.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/content/sitemap.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/content/sitemap.html (added)
+++ incubator/wink/site/trunk/cms/content/sitemap.html Tue May 15 05:11:12 2012
@@ -0,0 +1,2 @@
+{% include "single_narrative.html" %}
+

Added: incubator/wink/site/trunk/cms/lib/path.pm
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/lib/path.pm?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/lib/path.pm (added)
+++ incubator/wink/site/trunk/cms/lib/path.pm Tue May 15 05:11:12 2012
@@ -0,0 +1,39 @@
+package path;
+
+# taken from django's url.py
+
+our @patterns = (
+	[qr!\.mdtext$!, single_narrative => { template => "index.html" }],
+
+	[qr!/sitemap\.html$!, sitemap => { headers => { title => "Sitemap" }} ],
+
+) ;
+
+# for specifying interdependencies between files
+
+our %dependencies = (
+    "/sitemap.html" => [ grep s!^content!!, glob "content/*.mdtext" ],
+);
+
+1;
+
+=head1 LICENSE
+
+           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.
+
+

Added: incubator/wink/site/trunk/cms/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/lib/view.pm?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/lib/view.pm (added)
+++ incubator/wink/site/trunk/cms/lib/view.pm Tue May 15 05:11:12 2012
@@ -0,0 +1,141 @@
+package view;
+
+#
+# BUILD CONSTRAINT:  all views must return $content, $extension.
+# additional return values (as seen below) are optional.  However,
+# careful use of symlinks and dependency management in path.pm can
+# resolve most issues with this constraint.
+#
+
+use strict;
+use warnings;
+use Dotiac::DTL qw/Template *TEMPLATE_DIRS/;
+use Dotiac::DTL::Addon::markup;
+use ASF::Util qw/read_text_file/;
+
+push @TEMPLATE_DIRS, "templates";
+
+# This is most widely used view.  It takes a
+# 'template' argument and a 'path' argument.
+# Assuming the path ends in foo.mdtext, any files
+# like foo.page/bar.mdtext will be parsed and
+# passed to the template in the "bar" (hash)
+# variable.
+
+sub single_narrative {
+    my %args = @_;
+    my $file = "content$args{path}";
+    my $template = $args{template};
+    $args{path} =~ s/\.mdtext$/\.html/;
+    $args{breadcrumbs} = breadcrumbs($args{path});
+
+    read_text_file $file, \%args;
+
+    my $page_path = $file;
+    $page_path =~ s/\.[^.]+$/.page/;
+    if (-d $page_path) {
+        for my $f (grep -f, glob "$page_path/*.mdtext") {
+            $f =~ m!/([^/]+)\.mdtext$! or die "Bad filename: $f\n";
+            $args{$1} = {};
+            read_text_file $f, $args{$1};
+        }
+    }
+
+    return Template($template)->render(\%args), html => \%args;
+}
+
+# Has the same behavior as the above for foo.page/bar.txt
+# files, parsing them into a bar variable for the template.
+# Otherwise presumes the template is the path.
+
+sub news_page {
+    my %args = @_;
+    my $template = "content$args{path}";
+    $args{breadcrumbs} = breadcrumbs($args{path});
+
+    my $page_path = $template;
+    $page_path =~ s/\.[^.]+$/.page/;
+    if (-d $page_path) {
+        for my $f (grep -f, glob "$page_path/*.mdtext") {
+            $f =~ m!/([^/]+)\.mdtext$! or die "Bad filename: $f\n";
+            $args{$1} = {};
+            read_text_file $f, $args{$1};
+        }
+    }
+
+    return Template($template)->render(\%args), html => \%args;
+}
+
+sub sitemap {
+    my %args = @_;
+    my $template = "content$args{path}";
+    $args{breadcrumbs} .= breadcrumbs($args{path});
+    my $dir = $template;
+    $dir =~ s!/[^/]+$!!;
+    my %data;
+    for (map "content$_", @{$path::dependencies{$args{path}}}) {
+        if (-f and /\.mdtext$/) {
+            my $file = $_;
+            $file =~ s/^content//;
+            no warnings 'once';
+            for my $p (@path::patterns) {
+                my ($re, $method, $args) = @$p;
+                next unless $file =~ $re;
+                my $s = view->can($method) or die "Can't locate method: $method\n";
+                my ($content, $ext, $vars) = $s->(path => $file, %$args);
+                $file =~ s/\.mdtext$/.$ext/;
+                $data{$file} = $vars;
+                last;
+            }
+        }
+    }
+
+    my $content = "";
+
+    for (sort keys %data) {
+        $content .= "- [$data{$_}->{headers}->{title}]($_)\n";
+        for my $hdr (grep /^#/, split "\n", $data{$_}->{content}) {
+            $hdr =~ /^(#+)\s+([^#]+)?\s+\1\s+\{#([^}]+)\}$/ or next;
+            my $level = length $1;
+            $level *= 4;
+            $content .= " " x $level;
+            $content .= "- [$2]($_#$3)\n";
+        }
+    }
+    $args{content} = $content;
+    return Template($template)->render(\%args), html => \%args;
+}
+
+sub breadcrumbs {
+    my @path = split m!/!, shift;
+    pop @path;
+    my @rv;
+    my $relpath = "";
+    for (@path) {
+        $relpath .= "$_/";
+        $_ ||= "Home";
+        push @rv, qq(<a href="$relpath">\u$_</a>);
+    }
+    return join "&nbsp;&raquo&nbsp;", @rv;
+}
+
+1;
+
+=head1 LICENSE
+
+           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.

Added: incubator/wink/site/trunk/cms/templates-bootstrap/basic.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates-bootstrap/basic.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates-bootstrap/basic.html (added)
+++ incubator/wink/site/trunk/cms/templates-bootstrap/basic.html Tue May 15 05:11:12 2012
@@ -0,0 +1,137 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>{% block title %}{{ headers.title }}{% endblock %}</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="{{base}}bootstrap.css" rel="stylesheet">
+    <link href="{{base}}prettify.css" rel="stylesheet">
+    <link href="{{base}}bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+        body {
+          padding-top: 60px;
+        }
+        .sprite {
+            display: inline-block;
+            height: 20px;
+            margin: 0 auto 4px;
+            outline: medium none;
+            text-indent: -999em;
+            width: 24px;
+            background-image: url('{{base}}images/sprites.png');
+            background-repeat: no-repeat;
+            overflow: hidden;
+            cursor: pointer;
+        }
+        .fb-share {
+            background-position: 0px -40px;
+        }
+        .gp-share {
+            background-position: 0px 0px;
+        }
+        .tw-share {
+            background-position: 0px -80px;
+        }
+    </style>
+    <script type="text/javascript">
+      function fbshare () {
+          window.open(
+                  "http://www.facebook.com/sharer/sharer.php?u="+document.URL,
+                  'Share on Facebook',
+                  'width=640,height=426');
+      };
+      function gpshare () {
+          window.open(
+                  "https://plus.google.com/share?url="+document.URL,
+                  'Share on Google+',
+                  'width=584,height=385');
+      };
+      function twshare () {
+          window.open(
+                  "https://twitter.com/intent/tweet?url="+document.URL+"&text={{ headers.title }}",
+                  'Share on Twitter',
+                  'width=800,height=526');
+      };
+    </script>
+
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="{{base}}images/favicon.ico">
+    <link rel="apple-touch-icon" href="{{base}}images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="{{base}}images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="{{base}}images/apple-touch-icon-114x114.png">
+
+    <script src="{{base}}javascript/prettify.js" type="text/javascript"></script>
+    <script src="{{base}}javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="{{base}}javascript/common.js"></script>
+    <script src="{{base}}javascript/prettyprint.js"></script>
+
+    <!-- FIXME -->
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-2717626-1']);
+      _gaq.push(['_setDomainName', 'apache.org']);
+      _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>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="{{base}}index.html">Apache TomEE</a>
+          <ul class="nav">
+            <li><a href="{{base}}index.html">Home</a></li>
+            <li><a href="{{base}}downloads.html">Downloads</a></li>
+            <li><a href="{{base}}documentation.html">Documentation</a></li>
+            <li><a href="{{base}}support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins  -->
+            <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+                <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+                <INPUT type="hidden" name="cof" value="FORID:0">
+                <INPUT name="q" type="text" placeholder="Search">
+            </FORM>
+            <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+    {% block content %}{{ content|markdown }}{% endblock %}
+
+      <footer>
+        <p>
+        Copyright &copy; 2009-2012, The Apache Software Foundation Apache Wink is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  </body>
+</html>

Added: incubator/wink/site/trunk/cms/templates-bootstrap/doc.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates-bootstrap/doc.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates-bootstrap/doc.html (added)
+++ incubator/wink/site/trunk/cms/templates-bootstrap/doc.html Tue May 15 05:11:12 2012
@@ -0,0 +1,19 @@
+{% extends "basic.html" %}
+
+{% block content %}
+
+<div class="page-header">
+<small>{{ breadcrumbs|safe }}</small><br>
+<h1>{{ headers.title }}
+
+    <div style="float: right; position: relative; bottom: -10px; ">
+        <a onclick="javascript:gpshare()" class="gp-share sprite" title="share on Google+">share [gp]</a>
+        <a onclick="javascript:fbshare()" class="fb-share sprite" title="share on Facebook">share [fb]</a>
+        <a onclick="javascript:twshare()" class="tw-share sprite" title="share on Twitter">share [tw]</a>
+    </div>
+</h1>
+</div>
+
+{{ content|markdown }}
+
+{% endblock %}

Added: incubator/wink/site/trunk/cms/templates-bootstrap/example.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates-bootstrap/example.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates-bootstrap/example.html (added)
+++ incubator/wink/site/trunk/cms/templates-bootstrap/example.html Tue May 15 05:11:12 2012
@@ -0,0 +1,40 @@
+{% extends "basic.html" %}
+
+{% block content %}
+
+<div class="row">
+    <div class="span8">
+        <small>{{ breadcrumbs|safe }}</small><br>
+    </div>
+    <div class="span8">
+    </div>
+</div>
+&nbsp;
+<div class="page-header">
+<h1>{{ headers.title }}
+
+    <div style="float: right; position: relative; bottom: -10px; ">
+        <a onclick="javascript:gpshare()" class="gp-share sprite" title="share on Google+">share [gp]</a>
+        <a onclick="javascript:fbshare()" class="fb-share sprite" title="share on Facebook">share [fb]</a>
+        <a onclick="javascript:twshare()" class="tw-share sprite" title="share on Twitter">share [tw]</a>
+    </div>
+</h1>
+</div>
+
+{{ content|markdown }}
+
+<div class="page-header">&nbsp;</div>
+<h4>APIs Used</h4>
+{{ apis|safe }}
+
+<h3>Source</h3>
+  <ul>
+      <li>Apache <a href="http://svn.apache.org/repos/asf/openejb/{{ repo|safe }}">{{ example|safe }}</a></li>
+      <li>Github <a href="https://github.com/apache/openejb/tree/{{ repo|safe }}">{{ example|safe }}</a></li>
+  </ul>
+<pre>
+svn co http://svn.apache.org/repos/asf/openejb/{{ repo|safe }}
+cd {{example|safe}}
+mvn clean install
+</pre>
+{% endblock %}

Added: incubator/wink/site/trunk/cms/templates-bootstrap/index.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates-bootstrap/index.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates-bootstrap/index.html (added)
+++ incubator/wink/site/trunk/cms/templates-bootstrap/index.html Tue May 15 05:11:12 2012
@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+      <title>{% block title %}{{ headers.title }}{% endblock %}</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./assets/css/bootstrap-responsive.css" rel="stylesheet">
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="images/favicon.ico">
+    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+  </head>
+
+  <body>
+    <div class="navbar navbar-fixed-top">
+      <div class="navbar-inner">
+        <div class="container">
+          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </a>
+          <a class="brand" href="#">Apache Wink</a>
+          <div class="nav-collapse">
+            <ul class="nav">
+              <li class="active"><a href="#">Home</a></li>
+              <li class="active"><a href="#">Documentation</a></li>
+              <li class="active"><a href="#">Community</a></li>
+              <li class="active"><a href="#">FAQ</a></li>
+              <li class="active"><a href="#about">About</a></li>
+              <li class="active"><a href="#contact">Contact</a></li>
+              
+              <li class="active"><a href="javascript:$('#header-quotation-content').load('./content/home_quotation.html');">AAA</a></li>
+              <li class="active"><a href="javascript:$('#header-quotation-content').load('./content/basics_quotation.html');">BBB</a></li>
+            </ul>
+          </div><!--/.nav-collapse -->
+        </div>
+      </div>
+    </div>
+    
+
+    <div class="container">
+
+      <!-- Main hero unit for a primary marketing message or call to action -->
+      <div class="hero-unit">
+        <h1>Apache Wink</h1>
+        <p>XXXXxxxxx XXXXxxxxx XXXXxxxxx XXXXxxxxx XXXXxxxxx XXXXxxxxx XXXXxxxxx.</p>
+        <p><a class="btn primary large">Download &raquo;</a></p>
+      </div>
+
+      <!-- Example row of columns -->
+      <div class="row">
+        <div class="span6">
+          <h2>Heading</h2>
+          <p>Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
+          <p><a class="btn" href="#">View details &raquo;</a></p>
+        </div>
+        <div class="span5">
+          <h2>Heading</h2>
+           <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
+          <p><a class="btn" href="#">View details &raquo;</a></p>
+       </div>
+        <div class="span5">
+          <h2>Heading</h2>
+          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+          <p><a class="btn" href="#">View details &raquo;</a></p>
+        </div>
+      </div>
+
+      <footer>
+        <p>
+        Copyright &copy; 2009-2012, The Apache Software Foundation Apache PhotArk is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.        
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  <!-- Le javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="./assets/js/jquery.js"></script>
+    <script src="./assets/js/bootstrap-transition.js"></script>
+    <script src="./assets/js/bootstrap-alert.js"></script>
+    <script src="./assets/js/bootstrap-modal.js"></script>
+    <script src="./assets/js/bootstrap-dropdown.js"></script>
+    <script src="./assets/js/bootstrap-scrollspy.js"></script>
+    <script src="./assets/js/bootstrap-tab.js"></script>
+    <script src="./assets/js/bootstrap-tooltip.js"></script>
+    <script src="./assets/js/bootstrap-popover.js"></script>
+    <script src="./assets/js/bootstrap-button.js"></script>
+    <script src="./assets/js/bootstrap-collapse.js"></script>
+    <script src="./assets/js/bootstrap-carousel.js"></script>
+    <script src="./assets/js/bootstrap-typeahead.js"></script>
+
+  </body>
+</html>

Added: incubator/wink/site/trunk/cms/templates/index.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates/index.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates/index.html (added)
+++ incubator/wink/site/trunk/cms/templates/index.html Tue May 15 05:11:12 2012
@@ -0,0 +1,122 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+      <title>{% block title %}{{ headers.title }}{% endblock %}</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./assets/css/bootstrap.css" rel="stylesheet">
+    <style type="text/css">
+      body {
+        padding-top: 60px;
+      }
+    </style>
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./assets/images/favicon.ico">
+    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+  </head>
+
+  <body>
+    <div class="navbar navbar-fixed-top">
+      <div class="navbar-inner">
+        <div class="container">
+          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </a>
+          <a class="brand" href="#"><img src="./assets/images/wink-transparent.gif" width="35%" height="35%"/></a>
+          <div class="nav-collapse">
+            <ul class="nav">
+              <li class="active"><a href="#">Home</a></li>
+              <li class="active"><a href="#">Documentation</a></li>
+              <li class="active"><a href="#">Community</a></li>
+              <li class="active"><a href="#">FAQ</a></li>
+              <li class="active"><a href="#about">About</a></li>
+              <li class="active"><a href="#contact">Contact</a></li>
+            </ul>
+          </div><!--/.nav-collapse -->
+        </div>
+      </div>
+    </div>
+    
+
+    <div class="container">
+
+      <!-- Main hero unit for a primary marketing message or call to action -->
+      <div class="hero-unit">
+        <h1>Apache Wink</h1>
+        <p>
+           Apache Wink is a simple yet solid framework for building RESTful Web services. It is comprised of a Server module and a Client module for developing and consuming RESTful Web services.
+        </p>
+        <p><a class="btn primary large">Download &raquo;</a></p>
+      </div>
+
+      <!-- Example row of columns -->
+      <div class="row">
+        <div class="span4">
+          <h2>Apache Wink Server</h2>
+          <p>The Wink Server module is a complete implementation of the JAX-RS v1.1 specification. On top of this implementation, the Wink Server module provides a set of additional features that were designed to facilitate the development of RESTful Web services.</p>
+        </div>
+        <div class="span4">
+          <h2>Apache Wink Client</h2>
+           <p>The Wink Client module is a Java based framework that provides functionality for communicating with RESTful Web services. The framework is built on top of the JDK HttpURLConnection and adds essential features that facilitate the development of such client applications. </p>
+       </div>
+        <div class="span4">
+           <h2>Apache Wink News</h2>
+           <ul>
+              <li>2011-05-09 - Wink-1.1.3 released.</li>
+    		  <li>2010-11-15 - Wink 1.1.2 released.</li>
+    		  <li>2010-07-07 - Wink 1.1.1 released.</li>
+              <li>2010-05-14 - Wink 1.1 released.</li>
+              <li>2009-11-09 - Wink 1.0 released.</li>
+              <li>2009-08-26 - Wink 0.1 released.</li>
+              <li>2009-07-01 - Wink is JAX-RS 1.0 compliant.</li>
+              <li>2009-05-27 - Wink enters incubation.</li>
+           </ul>
+        </div>
+      </div>
+
+
+      </p></p></p>
+
+
+	  
+      <footer>
+        <p>
+        Copyright &copy; 2009-2012, The Apache Software Foundation Apache Wink is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.        
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+
+  <!-- Le javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="./assets/js/jquery.js"></script>
+    <script src="./assets/js/bootstrap-transition.js"></script>
+    <script src="./assets/js/bootstrap-alert.js"></script>
+    <script src="./assets/js/bootstrap-modal.js"></script>
+    <script src="./assets/js/bootstrap-dropdown.js"></script>
+    <script src="./assets/js/bootstrap-scrollspy.js"></script>
+    <script src="./assets/js/bootstrap-tab.js"></script>
+    <script src="./assets/js/bootstrap-tooltip.js"></script>
+    <script src="./assets/js/bootstrap-popover.js"></script>
+    <script src="./assets/js/bootstrap-button.js"></script>
+    <script src="./assets/js/bootstrap-collapse.js"></script>
+    <script src="./assets/js/bootstrap-carousel.js"></script>
+    <script src="./assets/js/bootstrap-typeahead.js"></script>
+
+  </body>
+</html>

Added: incubator/wink/site/trunk/cms/templates/single_narrative.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates/single_narrative.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates/single_narrative.html (added)
+++ incubator/wink/site/trunk/cms/templates/single_narrative.html Tue May 15 05:11:12 2012
@@ -0,0 +1 @@
+{% extends "skeleton.html" %}

Added: incubator/wink/site/trunk/cms/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/wink/site/trunk/cms/templates/skeleton.html?rev=1338536&view=auto
==============================================================================
--- incubator/wink/site/trunk/cms/templates/skeleton.html (added)
+++ incubator/wink/site/trunk/cms/templates/skeleton.html Tue May 15 05:11:12 2012
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+  <head>
+    <title>{% block title %}{{ headers.title }}{% endblock %}</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+    <meta property="og:image" content="http://www.apache.org/images/asf_logo.gif" />
+
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/style.css">
+    <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
+
+    </style>
+
+    {% if headers.atom %}
+      <link rel="alternate" href="{{ headers.atom.url }}"
+            type="application/atom+xml" title="{{ headers.atom.title }}" />
+    {% endif %}
+
+    {% if headers.base %}<base href="{{ headers.base }}" />{% endif %}
+    {% if headers.notice %}<!-- {{ headers.notice }} -->{% endif %}
+  </head>
+
+  <body>
+    <div id="page" class="container_16">
+      <div id="header" class="grid_8">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>The Apache Software Foundation</h1>
+        <h2>{% block tagline %}{{ headers.title }}{% endblock %}</h2>
+      </div>
+      <div id="nav" class="grid_8">
+        <ul>
+          <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+          <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+          <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+          <li><a href="http://people.apache.org" title="The People">People</a></li>
+          <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+          <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+          <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p>{{ breadcrumbs|safe }}</p>
+        <form name="search" id="search" action="http://www.google.com/search" method="get">
+          <input value="*.apache.org" name="sitesearch" type="hidden"/>
+          <input type="text" name="q" id="query">
+          <input type="submit" id="submit" value="Search">
+        </form>
+      </div>
+      <div class="clear"></div>
+      {% block content %}<div id="content" class="grid_16"><div class="section-content">{{ content|markdown }}</div></div>{% endblock %}
+      <div class="clear"></div>
+    </div>
+
+    <div id="copyright" class="container_16">
+      <p>Copyright &#169; 2011 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+    </div>
+  </body>
+</html>