You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by jl...@apache.org on 2012/12/11 14:40:37 UTC

svn commit: r1420150 - /openwebbeans/cms-site/trunk/templates/standard.html

Author: jlmonteiro
Date: Tue Dec 11 13:40:36 2012
New Revision: 1420150

URL: http://svn.apache.org/viewvc?rev=1420150&view=rev
Log:
Makes the standard.html template looking like Mark's proposal

Modified:
    openwebbeans/cms-site/trunk/templates/standard.html

Modified: openwebbeans/cms-site/trunk/templates/standard.html
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/templates/standard.html?rev=1420150&r1=1420149&r2=1420150&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/templates/standard.html (original)
+++ openwebbeans/cms-site/trunk/templates/standard.html Tue Dec 11 13:40:36 2012
@@ -1,144 +1,85 @@
+<!DOCTYPE html>
+<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <meta charset="utf-8">
+    <title>Apache OpenWebBeans</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le styles -->
+    <link href="resources/css/bootstrap.css" rel="stylesheet">
+    <style type="text/css">
+        body {
+            padding-top: 60px;
+            padding-bottom: 40px;
+        }
+    </style>
+    <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet">
 
-<!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>
-  <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
-  <link type="text/css" rel="stylesheet" href="/resources/site.css";></link>
-  <link type="text/css" rel="stylesheet" href="/resources/code.css";></link>
-  <script src="/resources/space.js"; type="text/javascript"></script>
-  <link rel="SHORTCUT ICON" href="/images/favicon.ico">   
-  <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
-  <META name="Description" content="Apache OpenWebBeans -- {% block title %}{% endblock %}" />
-  <META name="Keywords" content="Apache Bean Validation JSR-303 JavaEE6 " />
-  <META name="Owner" content="dev@openwebbeans.apache.org" />
-  <META name="Robots" content="index, follow" />
-  <META name="Security" content="Public" />
-  <META name="Source" content="wiki template" />
-  <META name="DC.Date" scheme="iso8601" content="2010-05-21" />
-  <META name="DC.Language" scheme="rfc1766" content="en" />
-  <META name="DC.Rights" content="Copyright © 2010, The Apache Software Foundation" />
-  <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
-  <title>
-  Apache OpenWebBeans
-  </title>
 </head>
+
 <body>
 
-<table width="100%" cellpadding="0" cellspacing="0">
-  <tr width="100%">
-    <td id="cell-0-0" colspan="2">&nbsp;</td>
-    <td id="cell-0-1">&nbsp;</td>
-    <td id="cell-0-2" colspan="2">&nbsp;</td>
-  </tr>
-  <tr width="100%">
-    <td id="cell-1-0">&nbsp;</td>
-    <td id="cell-1-1">&nbsp;</td>
-    <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<!-- TODO include banner -->
-          <!-- Banner -->
-        </div>
-      </div>
-      <!--
-      <div id="top-menu">
-        <table border="0" cellpadding="1" cellspacing="0" width="100%">
-          <tr>
-            <td>
-              <div align="left">
-                {{ breadcrumbs|safe }}
-              </div>
-            </td>
-            <td>
-              <div align="right">
-$content
-              </div>
-            </td>
-          </tr>
-        </table>
-      </div>
-      -->
-    </td>
-    <td id="cell-1-3">&nbsp;</td>
-    <td id="cell-1-4">&nbsp;</td>
-  </tr>
-  <tr width="100%">
-    <td id="cell-2-0" colspan="2">&nbsp;</td>
-    <td id="cell-2-1">
-      <table>
-        <tr height="100%" valign="top">
-          <td height="100%">
-            <div id="wrapper-menu-page-right">
-              <div id="wrapper-menu-page-top">
-                <div id="wrapper-menu-page-bottom">
-                  <div id="menu-page">
-                    <!-- NavigationBar -->
-<!-- TODO include navigation -->
-                    <!-- NavigationBar -->
-              </div>
+    <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="index.html"><img src="resources/images/logo_dbg-small.png" height="25px" alt="owb_logo_small"/></a>
+                <div class="nav-collapse">
+                    <ul class="nav">
+                        <li class="active"><a href="index.html">Home</a></li>
+                        <li><a href="documentation.html">Documentation</a></li>
+                        <li><a href="source.html">Source</a></li>
+                        <!-- <li><a href="download.html">Download</a></li> -->
+                        <li><a href="community.html">Community</a></li>
+                        <!-- <li><a href="support.html">Support</a></li>  -->
+                        <li><a href="news.html">News</a></li>
+                    </ul>
+                </div><!--/.nav-collapse -->
+                <form id="search-form" action="http://www.google.com/search" method="get"  class="navbar-search pull-right" >
+                    <input value="openwebbeans.apache.org" name="sitesearch" type="hidden"/>
+                    <input class="search-query" name="q" id="query" type="text" />
+                </form>
+                <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=search-form"></script>
             </div>
-          </div>
-          </div>
-         </td>
-         <td height="100%">
-           <!-- Content -->
-           <div id="OwbContent_{% block title %}{% endblock %}" class="wiki-content">{% block content %}{% endblock %}</div>
-           <!-- Content -->
-         </td>
-        </tr>
-      </table>
-   </td>
-   <td id="cell-2-2" colspan="2">&nbsp;</td>
-  </tr>
-  <tr width="100%">
-   <td id="cell-3-0">&nbsp;</td>
-   <td id="cell-3-1">&nbsp;</td>
-   <td id="cell-3-2">
-     <div id="footer">
-       <!-- Footer -->
-       <div id="site-footer">
-       </div>
-       <!-- Footer -->
-     </div>
-   </td>
-   <td id="cell-3-3">&nbsp;</td>
-   <td id="cell-3-4">&nbsp;</td>
-  </tr>
-  <tr width="100%">
-    <td id="cell-4-0" colspan="2">&nbsp;</td>
-    <td id="cell-4-1">
-      <div id="footer-legal">
-Copyright (C) 2010-2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
-Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br />
-Other names may be trademarks of their respective owners.
-      </div>
-    </td>
-    <td id="cell-4-2" colspan="2">&nbsp;</td>
-  </tr>
-  <tr width="100%">
-    <td id="cell-4-0" colspan="2">&nbsp;</td>
-    <td id="cell-4-1">&nbsp;</td>
-    <td id="cell-4-2" colspan="2">&nbsp;</td>
-  </tr>
-</table>
-</body>
-</html>
+        </div>
+    </div>
+
+    <div class="container">
+
+        <div id="OwbContent_{% block title %}{% endblock %}" class="wiki-content">
+{% block content %}{{ content|markdown }}{% endblock %}
+        </div>
+
+        <hr>
+
+        <footer>
+            <p>Copyright © 20011-2012 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
+            <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+        </footer>
+
+    </div> <!-- /container -->
+
+    <!-- Javascript
+    ================================================== -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <script src="/resources/js/jquery.js"></script>
+    <script src="/resources/js/bootstrap-transition.js"></script>
+    <script src="/resources/js/bootstrap-alert.js"></script>
+    <script src="/resources/js/bootstrap-modal.js"></script>
+    <script src="/resources/js/bootstrap-dropdown.js"></script>
+    <script src="/resources/js/bootstrap-scrollspy.js"></script>
+    <script src="/resources/js/bootstrap-tab.js"></script>
+    <script src="/resources/js/bootstrap-tooltip.js"></script>
+    <script src="/resources/js/bootstrap-popover.js"></script>
+    <script src="/resources/js/bootstrap-button.js"></script>
+    <script src="/resources/js/bootstrap-collapse.js"></script>
+    <script src="/resources/js/bootstrap-carousel.js"></script>
+    <script src="/resources/js/bootstrap-typeahead.js"></script>
+
+</body></html>
+