You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mrunit.apache.org by jd...@apache.org on 2012/04/05 13:16:20 UTC
svn commit: r1309757 - in /incubator/mrunit/site/trunk: cgi-bin/ content/
content/mrunit/ content/mrunit/css/ content/mrunit/images/ lib/ templates/
Author: jdonofrio
Date: Thu Apr 5 11:16:19 2012
New Revision: 1309757
URL: http://svn.apache.org/viewvc?rev=1309757&view=rev
Log:
MRUNIT-84: Construct an MRUnit website to replace the existing stub
Added:
incubator/mrunit/site/trunk/cgi-bin/
incubator/mrunit/site/trunk/content/mrunit/
incubator/mrunit/site/trunk/content/mrunit/css/
incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css (with props)
incubator/mrunit/site/trunk/content/mrunit/images/
incubator/mrunit/site/trunk/content/mrunit/images/apache-incubator-logo.png (with props)
incubator/mrunit/site/trunk/content/mrunit/images/feather-small.gif (with props)
incubator/mrunit/site/trunk/content/mrunit/images/mrunit_favicon.png (with props)
incubator/mrunit/site/trunk/content/mrunit/images/mrunit_logo.png (with props)
incubator/mrunit/site/trunk/content/mrunit/index.mdtext (with props)
incubator/mrunit/site/trunk/lib/path.pm (with props)
incubator/mrunit/site/trunk/lib/view.pm (with props)
incubator/mrunit/site/trunk/templates/html_page.html (with props)
incubator/mrunit/site/trunk/templates/sidenav.mdtext (with props)
incubator/mrunit/site/trunk/templates/single_narrative.html (with props)
incubator/mrunit/site/trunk/templates/skeleton.html (with props)
Removed:
incubator/mrunit/site/trunk/content/index.mdtext
incubator/mrunit/site/trunk/content/sitemap.html
Added: incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css (added)
+++ incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css Thu Apr 5 11:16:19 2012
@@ -0,0 +1,357 @@
+/*
+* 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 {
+ color: white;
+ font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
+ font-size: 12pt;
+ margin: 0;
+}
+
+#banner {
+ height: 100px;
+ padding: 0 0 0 0;
+ color: black;
+ font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
+ font-size:16pt;
+ vertical-align: middle;
+}
+
+#bannerright {
+ text-align: right;
+ float: right;
+ padding: 2pt 36pt 10pt 36pt;
+}
+
+#bannercenter {
+ padding: 12pt 2pt 34pt 2pt;
+ float: center;
+ color: #107EC0;
+}
+
+#bannerleft {
+ text-align: left;
+ float: left;
+}
+
+#bannerleft a:hover {
+ color: #107EC0;
+ background-color: white;
+}
+
+a {
+ color: #107EC0;
+}
+
+a:visited {
+ color: #107EC0;
+}
+
+a:hover {
+ color: #107EC0;
+ text-decoration:underline;
+}
+
+a img { border: none; }
+
+h1,h2,h3,h4,h5,h6 {
+ color: #193240;
+ text-transform:uppercase;
+}
+
+#clear {
+ overflow: auto;
+ clear: both;
+}
+
+#content {
+ margin: 0 50px 20px 50px;
+ padding: 0 8px 40px;
+ color: #333;
+ overflow: auto;
+ clear: both;
+}
+
+#content h1,h2,h3,h4,h5,h6 {
+ font-weight: normal;
+ text-transform:none;
+ margin: 10px 0 15px;
+ padding: 5px 0;
+}
+
+#content h1 {
+ font-size: 1.4em;
+ padding: 15px;
+ border-top: 1px solid #a3afb6;
+}
+
+#content h2 {
+ font-size: 1.2em;
+ margin-top: 2em;
+}
+
+#content h3,h4,h5,h6 {
+ border-bottom: none;
+ font-size: 1em;
+ margin-bottom: 0;
+}
+
+#content li {
+ margin-bottom: 0.5em;
+}
+
+#contenta {
+ margin: 0 150px 20px 250px;
+ padding: 0 8px 40px;
+ color: #333;
+}
+
+#contenta h1,h2,h3,h4,h5,h6 {
+ font-weight: normal;
+ margin: 10px 0 15px;
+ padding: 5px 0;
+}
+
+#contenta h1 {
+ font-size: 1.4em;
+ padding: 15px;
+ border-top: 1px solid #a3afb6;
+}
+
+#contenta h2 {
+ font-size: 1.2em;
+ margin-top: 2em;
+ border-bottom: 1px solid #a3afb6;
+}
+
+#contenta h3,h4,h5,h6 {
+ border-bottom: none;
+ font-size: 1em;
+ margin-bottom: 0;
+}
+
+#contenta li {
+ margin-bottom: 0.5em;
+}
+
+#contenta a:hover {
+ color: #107EC0;
+ text-decoration:underline;
+ background-color: #e6ebed;
+}
+
+table {
+ border-collapse:collapse;
+ margin: auto;
+}
+
+th {
+ height: 40px;
+ background: #f5f8fa;
+ border: 1px solid #a3afb6;
+ vertical-align: middle;
+ font-size: 0.9em;
+}
+
+td {
+ vertical-align: top;
+ border: 1px solid #a3afb6;
+ padding: 0.4em 0.5em 0.4em 0.5em;
+ font-size: 0.9em;
+}
+
+.w140 {
+ width: 140px;
+}
+
+.w160 {
+ width: 160px;
+}
+
+.w180 {
+ width: 180px;
+}
+
+.w200 {
+ width: 200px;
+}
+
+.w220 {
+ width: 220px;
+}
+
+.codehilite {
+ background-color: #F0F000;
+ padding: 0.01em 1em;
+ border-radius: 10px;
+}
+
+#sidenav {
+ border: 1px solid #e6ebed;
+ border-left: none;
+ -moz-border-radius: 0 10px 10px 0;
+ border-radius: 0 10px 10px 0;
+ font-size: 0.9em;
+ color: #003;
+ float: left;
+ padding: 15px 15px 5px 25px;
+ width: 180px;
+ background: none repeat scroll 0 0 #f5f8fa;
+ margin: 0 0 20px 0;
+}
+
+#sidenav img {
+ padding-bottom: 15px;
+ margin-left: auto;
+ margin-right: auto;
+ display: block;
+}
+
+#sidenav h1 {
+ color: #000;
+ font-size: 1em;
+ padding: 0;
+ margin-top: 0.8em;
+ margin-bottom: 0;
+ border-bottom: 1px solid #a3afb6;
+}
+
+#sidenav ul {
+ margin: 0 0;
+ padding: 0;
+ list-style: none;
+}
+
+#sidenav li {
+ border-bottom: 1px solid #e6ebed;
+ margin: 0.2em 0;
+ padding: 0;
+}
+
+#sidenav li a {
+ margin: 0;
+ text-decoration:none;
+}
+
+#sidenav li a:hover {
+ color: #193240;
+ background: none;
+}
+
+#navigation {
+ border: 1px solid #e6ebed;
+ border-left: none;
+ -moz-border-radius: 0 10px 10px 0;
+ border-radius: 0 10px 10px 0;
+ font-size: 0.9em;
+ color: #003;
+ float: left;
+ padding: 15px 15px 5px 25px;
+ width: 180px;
+ background: none repeat scroll 0 0 #f5f8fa;
+ margin: 0 0 20px 0;
+}
+
+#navigation img {
+ padding-bottom: 15px;
+ margin-left: auto;
+ margin-right: auto;
+ display: block;
+}
+
+#navigation h1 {
+ color: #000;
+ font-size: 1em;
+ padding: 0;
+ margin-top: 0.8em;
+ margin-bottom: 0;
+ border-bottom: 1px solid #a3afb6;
+}
+
+#navigation ul {
+ margin: 0 0;
+ padding: 0;
+ list-style: none;
+}
+
+#navigation li {
+ border-bottom: 1px solid #e6ebed;
+ margin: 0.2em 0;
+ padding: 0;
+}
+
+#navigation li a {
+ margin: 0;
+ text-decoration:none;
+}
+
+#navigation li a:hover {
+ color: #107EC0;
+ background-color: #e6ebed;
+}
+
+#footera {
+ margin: 20px 0px 0px 0px;
+ padding: 8px 0px 12px 0px;
+ border-top: 2px solid #ccc;
+ color:#666;
+ font-size: 8pt;
+ padding: 0 8px;
+ text-align: left;
+ overflow: auto;
+ clear: both;
+ line-height: 10pt;
+}
+
+#copyrighta {
+}
+
+#copyrighta p {
+ padding-left: 20px;
+ line-height: 10pt;
+ padding-bottom: 5px;
+}
+
+#copyrighta a {
+ color: #107EC0;
+ text-decoration:underline;
+}
+
+#copyrighta a:hover {
+ background-color: #e6ebed;
+}
+
+#poweredby {
+ float: right;
+ text-align: right;
+ width: 210px;
+ height: 100px;
+}
+
+#asf-logo {
+ width: 180px;
+ padding-top: 20px;
+}
+
+
+
+/* definition lists */
+dd {}
+dl {}
+dt {
+ display: inline;
+ float: left;
+}
\ No newline at end of file
Propchange: incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/mrunit/site/trunk/content/mrunit/css/mrunit.css
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/mrunit/site/trunk/content/mrunit/images/apache-incubator-logo.png
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/content/mrunit/images/apache-incubator-logo.png?rev=1309757&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/mrunit/site/trunk/content/mrunit/images/apache-incubator-logo.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: incubator/mrunit/site/trunk/content/mrunit/images/feather-small.gif
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/content/mrunit/images/feather-small.gif?rev=1309757&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/mrunit/site/trunk/content/mrunit/images/feather-small.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: incubator/mrunit/site/trunk/content/mrunit/images/mrunit_favicon.png
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/content/mrunit/images/mrunit_favicon.png?rev=1309757&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/mrunit/site/trunk/content/mrunit/images/mrunit_favicon.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: incubator/mrunit/site/trunk/content/mrunit/images/mrunit_logo.png
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/content/mrunit/images/mrunit_logo.png?rev=1309757&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/mrunit/site/trunk/content/mrunit/images/mrunit_logo.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: incubator/mrunit/site/trunk/content/mrunit/index.mdtext
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/content/mrunit/index.mdtext?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/content/mrunit/index.mdtext (added)
+++ incubator/mrunit/site/trunk/content/mrunit/index.mdtext Thu Apr 5 11:16:19 2012
@@ -0,0 +1,24 @@
+Title: Apache OpenOffice (Incubating)
+
+Apache OpenOffice is comprised of six personal productivity applications: a word processor (and its web-authoring component),
+spreadsheet, presentation graphics, drawing, equation editor, and database. OpenOffice is released on Windows, Solaris, Linux and
+Macintosh operation systems, with more communities joining, including a mature FreeBSD port. OpenOffice is localized, supporting
+over 110 languages worldwide.
+
+Apache OpenOffice [entered incubation] [4] on June 1, 2011. The project website (this site) was established on June 13, 2011.
+
+We are continuing the process of migrating the source code, infrastructure and community to Apache.
+As of the end of December, 2011, the user portal for Apache OpenOffice, [www.openoffice.org] [2], was migrated
+to the Apache infrastructure.
+
+We are tracking the [current status] [1] of the migration effort on our wiki.
+
+A lot of good information can be found on the [Apache OpenOffice user portal website] [2], including
+a [brief history of OpenOffice.org] [3].
+
+
+
+[1]: https://cwiki.apache.org/confluence/display/OOOUSERS/OpenOffice.org+Migration+Status
+[2]: http://www.openoffice.org
+[3]: http://www.openoffice.org/about/
+[4]: http://www.marketwire.com/press-release/statements-on-openofficeorg-contribution-to-apache-nasdaq-orcl-1521400.htm
\ No newline at end of file
Propchange: incubator/mrunit/site/trunk/content/mrunit/index.mdtext
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/mrunit/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/lib/path.pm?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/lib/path.pm (added)
+++ incubator/mrunit/site/trunk/lib/path.pm Thu Apr 5 11:16:19 2012
@@ -0,0 +1,37 @@
+package path;
+
+# taken from django's url.py
+
+our @patterns = (
+ [qr!\.mdtext$!, single_narrative => { template => "single_narrative.html" }],
+ [qr!\.html$!, html_page => { template => "html_page.html" }],
+) ;
+
+# for specifying interdependencies between files
+
+our %dependencies = (
+# "/mrunit/sitemap.html" => [ grep s!^content!!, glob "content/mrunit/*.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.
+
+
Propchange: incubator/mrunit/site/trunk/lib/path.pm
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/mrunit/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/lib/view.pm?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/lib/view.pm (added)
+++ incubator/mrunit/site/trunk/lib/view.pm Thu Apr 5 11:16:19 2012
@@ -0,0 +1,229 @@
+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 integer;
+use Dotiac::DTL qw/Template *TEMPLATE_DIRS/;
+use Dotiac::DTL::Addon::markup;
+use ASF::Util qw/read_text_file shuffle/;
+use File::Temp qw/tempfile/;
+
+push our @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 %styleargs = @_;
+ 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};
+ }
+ }
+
+ $args{content} = sort_tables($args{content});
+ $args{sidenav} = 1;
+
+ my $style_path = $file;
+ $style_path =~ s/\.[^.]+$/.style/;
+ if (-f $style_path) {
+ read_text_file $style_path, \%styleargs;
+ $args{scriptstyle} = $styleargs{content};
+ }
+
+ return Template($template)->render(\%args), html => \%args;
+}
+
+# This view is used to wrap html. It takes a
+# 'template' argument and a 'path' argument.
+# Assuming the path ends in foo.html, any files
+# like foo.page/bar.mdtext will be parsed and
+# passed to the template in the "bar" (hash)
+# variable.
+
+sub html_page {
+ my %args = @_;
+ my %styleargs = @_;
+ my $file = "content$args{path}";
+ my $template = $args{template};
+ $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};
+ }
+ }
+
+ $args{header} = `sed -n '/<head>/,/<\\/head>/p' ${file} | sed -e '1s/.*<head>//' -e 's/<\\/head>.*//'`;
+ $args{content} = `sed -n '/<body>/,/<\\/body>/p' ${file} | sed -e '1s/.*<body>//' -e "s/<\\/body>.*//"`;
+
+ 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!/[^/]+$!!;
+ opendir my $dh, $dir or die "Can't opendir $dir: $!\n";
+ my %data;
+ for (map "$dir/$_", grep $_ ne "." && $_ ne ".." && $_ ne ".svn", readdir $dh) {
+ 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 " » ", @rv;
+}
+
+# arbitrary number of tables supported, but only one col per table may be sorted
+sub sort_tables {
+ my @orig = split /\n/, shift, -1;
+ my @out;
+ while (defined(local $_ = shift @orig)) {
+ push @out, $_;
+ /^(\|[ :23456vn^-]+)+\|$/ or next;
+ my($data, $col, $direction, $cur, $numeric, $grps);
+ $cur = 0;
+ while (/\|([ :23456vn^-]+)/g) {
+ $data = $1;
+ # check for number of row/column groups. There is certainly a better way.
+ $grps = 2 if $data =~ tr/2/2/;
+ $grps = 3 if $data =~ tr/3/3/;
+ $grps = 4 if $data =~ tr/4/4/;
+ $grps = 5 if $data =~ tr/5/5/;
+ $grps = 6 if $data =~ tr/6/6/;
+ # check for numeric sort
+ $numeric = 1 if $data =~ tr/n/n/;
+ # check for sort
+ if ($data =~ tr/v/v/) {
+ $col = $cur;
+ $direction = -1;
+ last;
+ }
+ elsif ($data =~ tr/^/^/) {
+ $col = $cur;
+ $direction = 1;
+ last;
+ }
+ $cur++;
+ }
+ unless (defined $col or defined $grps) { # no special reorganization - simply output
+ push @out, shift @orig while @orig and $orig[0] =~ /^\|/;
+ next;
+ }
+ my @rows;
+ push @rows, [split /\s*\|\s*/, shift(@orig), -1]
+ while @orig and $orig[0] =~ /^\|/;
+ shift @$_, pop @$_ for @rows; # dump empty entries at ends
+ if (defined $col) { # perform sort
+ @rows = $numeric
+ ? sort { $a->[$col] <=> $b->[$col] } @rows
+ : sort { $a->[$col] cmp $b->[$col] } @rows;
+ @rows = reverse @rows if $direction == -1;
+ }
+ if (defined $grps) { # row-column groups
+ my($nrows,$icol,$jrow,$row);
+ $nrows = ($#rows / $grps) + 1; # requires use integer
+ for ($jrow = 0; $jrow < $nrows; $jrow++ ) {
+ $row = "| ";
+ for ($icol = $jrow; $icol <= $#rows; $icol += $nrows ) {
+ $row .= join(" | ", @{$rows [$icol]} ) . " |";
+ }
+ push @out, $row;
+ }
+ }
+ else {
+ push @out, map "| " . join(" | ", @$_) . " |", @rows;
+ }
+ }
+ return join "\n", @out;
+}
+
+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.
Propchange: incubator/mrunit/site/trunk/lib/view.pm
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/mrunit/site/trunk/templates/html_page.html
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/templates/html_page.html?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/templates/html_page.html (added)
+++ incubator/mrunit/site/trunk/templates/html_page.html Thu Apr 5 11:16:19 2012
@@ -0,0 +1,3 @@
+{% extends "skeleton.html" %}
+ {% block content %}{% autoescape off %}{{ content }}{% endautoescape %}{% endblock %}
+{$ endextends $}
Propchange: incubator/mrunit/site/trunk/templates/html_page.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/mrunit/site/trunk/templates/html_page.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/mrunit/site/trunk/templates/sidenav.mdtext
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/templates/sidenav.mdtext?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/templates/sidenav.mdtext (added)
+++ incubator/mrunit/site/trunk/templates/sidenav.mdtext Thu Apr 5 11:16:19 2012
@@ -0,0 +1,38 @@
+# General
+
+ - [About](/openofficeorg/index.html)
+ - [License](/openofficeorg/license.html)
+ - [Trademarks](/openofficeorg/trademarks.html)
+
+# Community
+
+ - [Get Involved](/openofficeorg/get-involved.html)
+ - [Mailing Lists](/openofficeorg/mailing-lists.html)
+ - [Support](http://www.openoffice.org/support/)
+ - [Native Language](/openofficeorg/native-lang.html)
+ - [Planning Wiki](https://cwiki.apache.org/confluence/display/OOOUSERS/)
+ - [People](/openofficeorg/people.html)
+ - [Community FAQs](/openofficeorg/community-faqs.html)
+
+# Development
+
+ - [Source Code](/openofficeorg/source.html)
+ - [Bug Tracking](/openofficeorg/bug-tracking.html)
+ - [Website](/openofficeorg/website-local.html)
+ - [Security Reports](/openofficeorg/security.html)
+ - [Developer FAQs](/openofficeorg/developer-faqs.html)
+
+# Project Management PPMC
+
+ - [Project Blog](http://blogs.apache.org/OOo/)
+ - [Incubation Status](http://incubator.apache.org/projects/openofficeorg.html)
+ - [PPMC FAQs](/openofficeorg/ppmc-faqs.html)
+
+# The Apache Software Foundation
+
+ - [Website](http://www.apache.org/)
+ - [Donations](http://www.apache.org/foundation/contributing.html)
+ - [Sponsorship](http://www.apache.org/foundation/sponsorship.html)
+ - [Thanks](http://www.apache.org/foundation/thanks.html)
+
+
Propchange: incubator/mrunit/site/trunk/templates/sidenav.mdtext
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/mrunit/site/trunk/templates/single_narrative.html
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/templates/single_narrative.html?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/templates/single_narrative.html (added)
+++ incubator/mrunit/site/trunk/templates/single_narrative.html Thu Apr 5 11:16:19 2012
@@ -0,0 +1 @@
+{% extends "skeleton.html" %}
Propchange: incubator/mrunit/site/trunk/templates/single_narrative.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/mrunit/site/trunk/templates/single_narrative.html
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/mrunit/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/mrunit/site/trunk/templates/skeleton.html?rev=1309757&view=auto
==============================================================================
--- incubator/mrunit/site/trunk/templates/skeleton.html (added)
+++ incubator/mrunit/site/trunk/templates/skeleton.html Thu Apr 5 11:16:19 2012
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+ 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.
+-->
+<link href="css/mrunit.css" rel="stylesheet" type="text/css">
+{% if header %}
+{% autoescape off %}{{ header }}{% endautoescape %}{% else %}
+<title>{% block title %}{{ headers.title }}{% endblock %}</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+{% endif %}
+</head>
+
+<body>
+ <div id="banner">
+ <div id="bannerleft"><a alt="Apache Incubator MRUnit" href="index.html">
+ <img id="logo" alt="Apache Incubator MRUnit" src="images/mrunit_logo.png"/></a></div>
+ <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+ <img id="asf-logo" alt="Apache Incubator" src="images/apache-incubator-logo.png"/></a></div>
+ </div>
+ <div id="clear"></div>
+ {% if sidenav %}
+ <div id="sidenav">
+ {% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
+ </div>
+ <div id="contenta">
+ {% else %}
+ <div id="content">
+ {% endif %}
+ {% block title %}{% if headers.title %}<h1 class="title">{{ headers.title }}</h1>{% endif %}{% endblock %}
+ {% block content %}{{ content|markdown }}{% endblock %}
+ </div>
+
+ <div id="footera">
+ <div id="poweredby">
+ <p><img src="images/feather-small.gif"/></p>
+ </div>
+ <div id="copyrighta">
+ <p>
+ Copyright © 2011-2012 The Apache Software Foundation Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> | <a href="/openofficeorg/contact.html">Contact Us</a> | <a href="/openofficeorg/terms.html">Terms of Use</a>
+ </p>
+ <p>
+ Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+ OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+ Other names appearing on the site may be trademarks of their respective owners.
+ </p>
+ <p>
+ Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+ 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>
+ </div>
+ </div>
+
+</body>
+</html>
Propchange: incubator/mrunit/site/trunk/templates/skeleton.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/mrunit/site/trunk/templates/skeleton.html
------------------------------------------------------------------------------
svn:mime-type = text/plain