You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2012/07/13 22:13:51 UTC
svn commit: r1361375 - in /incubator/ctakes/site/trunk/templates:
sidenav.mdtext skeleton.html
Author: chenpei
Date: Fri Jul 13 20:13:51 2012
New Revision: 1361375
URL: http://svn.apache.org/viewvc?rev=1361375&view=rev
Log:
https://issues.apache.org/jira/browse/CTAKES-5
Adding skeleton and nav bar to homepage site
Added:
incubator/ctakes/site/trunk/templates/sidenav.mdtext
Modified:
incubator/ctakes/site/trunk/templates/skeleton.html
Added: incubator/ctakes/site/trunk/templates/sidenav.mdtext
URL: http://svn.apache.org/viewvc/incubator/ctakes/site/trunk/templates/sidenav.mdtext?rev=1361375&view=auto
==============================================================================
--- incubator/ctakes/site/trunk/templates/sidenav.mdtext (added)
+++ incubator/ctakes/site/trunk/templates/sidenav.mdtext Fri Jul 13 20:13:51 2012
@@ -0,0 +1,32 @@
+# General
+
+ - [About](/ctakes/index.html)
+ - [Downloads](/ctakes/downloads.html)
+ - [Incubator page](http://incubator.apache.org/projects/ctakes.html)
+ - [License](/ctakes/license.html)
+
+# Community
+
+ - [Get Involved](/ctakes/get-involved.html)
+ - [Mailing Lists](/ctakes/mailing-lists.html)
+ - [People](/ctakes/people.html)
+ - [Community FAQs](/ctakes/community-faqs.html)
+
+# Development
+
+ - [Source Code](/ctakes/source.html)
+ - [Bug Tracker](https://issues.apache.org/jira/browse/ctakes)
+ - [Developer FAQs](/ctakes/developer-faqs.html)
+
+# PPMC
+
+ - [PPMC FAQs](/ctakes/ppmc-faqs.html)
+ - [Release Guide](/ctakes/ctakes-release-guide.html)
+
+# ASF
+
+ - [Apache Software Foundation](http://www.apache.org)
+ - [Thanks](http://www.apache.org/foundation/thanks.html)
+ - [Become a Sponsor](http://www.apache.org/foundation/sponsorship.html)
+
+
Modified: incubator/ctakes/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/ctakes/site/trunk/templates/skeleton.html?rev=1361375&r1=1361374&r2=1361375&view=diff
==============================================================================
--- incubator/ctakes/site/trunk/templates/skeleton.html (original)
+++ incubator/ctakes/site/trunk/templates/skeleton.html Fri Jul 13 20:13:51 2012
@@ -1,54 +1,63 @@
-<!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">
-
- {% 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">
+<!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 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">
+
+<link href="/ctakes/css/ctakes.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="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="banner">
+ <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+ <img id="asf-logo" alt="Apache Incubator" src="http://incubator.apache.org/images/egg-logo.png"/></a></div>
+ <div id="bannercenter"><br/> Apache cTAKES</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="copyright" class="container_16">
<p>Copyright © 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>
+
+</body>
</html>
+