[Commits] r706 - in sandbox/docsrc: . _static _templates
commits at geoext.org
commits at geoext.org
Wed May 13 02:14:56 CEST 2009
Author: tschaub
Date: 2009-05-13 02:14:56 +0200 (Wed, 13 May 2009)
New Revision: 706
Modified:
sandbox/docsrc/_static/geoext.css
sandbox/docsrc/_templates/front_page.html
sandbox/docsrc/_templates/layout.html
sandbox/docsrc/conf.py
Log:
more style for whole site - front page template not used currently
Modified: sandbox/docsrc/_static/geoext.css
===================================================================
--- sandbox/docsrc/_static/geoext.css 2009-05-12 23:40:10 UTC (rev 705)
+++ sandbox/docsrc/_static/geoext.css 2009-05-13 00:14:56 UTC (rev 706)
@@ -3,18 +3,27 @@
border: none;
background-color: white;
}
+div.footer {
+ background: #4E7AB2 url(chrome/footer-bg.png) repeat-x;
+ color: #d9d9d9;
+ padding: 60px 0 35px;
+ text-align: center;
+}
+html {
+ /*background: url(chrome/html-bg.png) repeat-x;*/
+}
/* custom header */
-#header {
+div.header {
position: relative;
overflow: hidden;
- background: #97b7e1 url(chrome/header-bg.png) 0 100% repeat-x;
+ height: 120px;
+ background: #97b7e1 url(chrome/header-bg.png) 0 0 repeat-x;
}
#logo {
padding: 0;
}
#logo a {
- margin: 12px 0 0;
float: left;
width: 300px;
height: 120px;
@@ -44,7 +53,6 @@
#top-nav li a {
color: #fff;
font-weight: bold;
- font-size: 1.2em;
text-decoration: none;
font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
Modified: sandbox/docsrc/_templates/front_page.html
===================================================================
--- sandbox/docsrc/_templates/front_page.html 2009-05-12 23:40:10 UTC (rev 705)
+++ sandbox/docsrc/_templates/front_page.html 2009-05-13 00:14:56 UTC (rev 706)
@@ -1 +1,5 @@
{% extends "layout.html" %}
+{%- block relbar1 %}{% endblock %}
+{% block body %}
+ {{ body }}
+{% endblock %}
Modified: sandbox/docsrc/_templates/layout.html
===================================================================
--- sandbox/docsrc/_templates/layout.html 2009-05-12 23:40:10 UTC (rev 705)
+++ sandbox/docsrc/_templates/layout.html 2009-05-13 00:14:56 UTC (rev 706)
@@ -3,14 +3,24 @@
<link rel="stylesheet" href="{{ pathto('_static/geoext.css', 1) }}" type="text/css" />
{% endblock %}
{%- block header %}
- <div id="header">
+ <div class="header">
<h1 id="logo"><a href="{{ pathto('index') }}">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 class="first"><a href="{{ pathto('index') }}">About</a></li>
<li><a href="{{ pathto('docs') }}">Documentation</a></li>
- <li><a href="#">Demos</a></li>
+ <li><a href="{{ pathto('examples/index') }}">Demos</a></li>
<li><a href="http://www.geoext.org/trac/geoext/">Development</a></li>
+ <li><a href="http://geoext.blogspot.com">Blog</a></li>
</ul>
</div>
-{% endblock %}
\ No newline at end of file
+{% endblock %}
+
+{%- block footer %}
+ <div class="footer">
+ {%- if hasdoc('copyright') %}
+ {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
+ {%- else %}
+ {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
+ {%- endif %}
+ </div>
+{%- endblock %}
Modified: sandbox/docsrc/conf.py
===================================================================
--- sandbox/docsrc/conf.py 2009-05-12 23:40:10 UTC (rev 705)
+++ sandbox/docsrc/conf.py 2009-05-13 00:14:56 UTC (rev 706)
@@ -135,9 +135,9 @@
# Additional templates that should be rendered to pages, maps page names to
# template names.
-html_additional_pages = {
- 'index.rst': 'front_page.html'
-}
+#html_additional_pages = {
+# 'index': 'front_page.html'
+#}
# If false, no module index is generated.
#html_use_modindex = True
More information about the Commits
mailing list