[Commits] r700 - sandbox/docsrc/_templates
commits at geoext.org
commits at geoext.org
Wed May 13 00:44:31 CEST 2009
Author: tschaub
Date: 2009-05-13 00:44:31 +0200 (Wed, 13 May 2009)
New Revision: 700
Modified:
sandbox/docsrc/_templates/front_page.html
Log:
The front page content can come from index.rst. Customizing this template gives us a custom layout for the front page.
Modified: sandbox/docsrc/_templates/front_page.html
===================================================================
--- sandbox/docsrc/_templates/front_page.html 2009-05-12 22:43:35 UTC (rev 699)
+++ sandbox/docsrc/_templates/front_page.html 2009-05-12 22:44:31 UTC (rev 700)
@@ -1,88 +1,7 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>GeoExt</title>
- <link rel="stylesheet" href="_static/blueprint/screen.css" type="text/css" media="screen, projection" />
- <link rel="stylesheet" href="_static/blueprint/print.css" type="text/css" media="print" />
- <!--[if IE]>
- <link rel="stylesheet" href="_static/blueprint/ie.css" type="text/css" media="screen, projection" />
- <![endif]-->
- <link rel="stylesheet" href="_static/default.css" type="text/css" />
- <link href="_static/favicon.ico" rel="shortcut icon" type="image/x-icon" />
- <script type="text/javascript" src="_static/jquery.js"></script>
-
-</head>
-<body class="index">
- <div id="header" class="selfclear">
- <div class="wrap selfclear">
- <h1 id="logo"><a href="/=http://geoext.org/">GeoExt</a></h1>
- <ul id="top-nav">
- <li class="first"><a href="#">About</a></li>
- <li><a href="http://geoext.blogspot.com">Blog</a></li>
- <li><a href="docs.html">Documentation</a></li>
- <li><a href="#">Demos</a></li>
- <li><a href="/trac">Development</a></li>
- </ul>
- </div><!-- /.wrap -->
- </div><!-- /#header -->
- <div id="main">
- <div class="wrap selfclear">
- <div id="content">
- <ul id="breadcrumbs">
- <li>GeoExt</li>
- </ul>
- <div id="abovefold" class="selfclear">
- <div class="leftwise">
- <h2>JavaScript Toolkit for Rich Web Mapping Applications</h2>
- <p>GeoExt extends widgets and data utilities from ExtJS with mapping functionality
- from OpenLayers. Lame... should be a more human-readable yet informative block of text like: jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. Don't assume anyone knows what ExtJS or OpenLayers are.</p>
- </div>
- <div id="download" class="rightwise">
- <h2>Download</h2>
- <p>Current release: v. 0.1</p>
- <ul>
- <li><a href="#">Production</a><br /><em>(19kb, Minified and Gzipped)</em></li>
- <li><a href="#">Development</a><br /><em>(120kb, Uncompressed)</em></li>
- </ul>
- </div>
- </div>
-
- <div id="belowfold" class="selfclear">
- <div class="col leftwise">
- <h2>Using GeoExt</h2>
- <p>See GeoExt in action (code block could be collapsible):</p>
- <div class="highlight-javascript">
- <div class="highlight"><pre>// some script here</pre></div>
- </div>
- <p>[ Click button to launch map in a window ]</p>
- <h3>Learn GeoExt</h3>
- <p>[ Links to tutorials, api reference, etc. ]</p>
- </div>
- <div class="col leftwise">
- <h2>GeoExt is OpenSource</h2>
- <p>GeoExt is available under the BSD license and is supported by a growing
- community of individuals, businesses and organizations.</p>
- <p>[ Links to dev resources ]</p>
- <h3>Get Involved</h3>
- <p>[ List of supporters ]</p>
- </div>
- <div class="col rightwise">
- <h2>Blog</h2>
- </div>
- </div>
-
- </div><!-- /#content> -->
- <div id="sidebar">
-
- </div><!-- /#sidebar -->
- </div><!-- /.wrap> -->
-</div><!-- /#main -->
-<div id="footer">
- <div class="wrap">
- © Copyright 2009 GeoExt.
- </div><!-- /.wrap> -->
-</div><!-- /#footer -->
- </body>
-</html>
+{% extends "layout.html" %}
+{% block extrahead %}
+ <link rel="stylesheet" href="{{ pathto('_static/geoext.css', 1) }}" type="text/css" />
+{% endblock %}
+{% block body %}
+ {{ body }}
+{% endblock %}
\ No newline at end of file
More information about the Commits
mailing list