[mapserver-commits] r9701 - in trunk/docs: _static _templates de en
svn at osgeo.org
svn at osgeo.org
Fri Jan 15 15:36:23 EST 2010
Author: aboudreault
Date: 2010-01-15 15:36:21 -0500 (Fri, 15 Jan 2010)
New Revision: 9701
Modified:
trunk/docs/_static/ol.js
trunk/docs/_templates/layout.html
trunk/docs/de/index.txt
trunk/docs/en/index.txt
Log:
Update OL layout/css/js of the website in trunk
Modified: trunk/docs/_static/ol.js
===================================================================
--- trunk/docs/_static/ol.js 2010-01-15 20:31:42 UTC (rev 9700)
+++ trunk/docs/_static/ol.js 2010-01-15 20:36:21 UTC (rev 9701)
@@ -76,6 +76,9 @@
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
if(!map.getCenter())
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
+var controls = map.getControlsByClass('OpenLayers.Control.Navigation');
+for(var i = 0; i<controls.length; ++i)
+ controls[i].disableZoomWheel();
}
OpenLayers.Event.observe(window, "load", olmapinit);
Modified: trunk/docs/_templates/layout.html
===================================================================
--- trunk/docs/_templates/layout.html 2010-01-15 20:31:42 UTC (rev 9700)
+++ trunk/docs/_templates/layout.html 2010-01-15 20:36:21 UTC (rev 9701)
@@ -34,7 +34,7 @@
<a href="{{pathto("../../"+lng+"/"+pagename)}}"><img src="{{ pathto("_static/flagicons/"+lng+".png", 1) }}" alt="{{ lng }}" title="{{ lng }}" border="0" /></a>
{% endif %}
{% else %}
- <a href="{{pathto("../../html/"+lng+"/"+pagename)}}"><img src="{{ pathto("_static/flagicons/"+lng+".png", 1) }}" alt="{{ lng }}" title="{{ lng }}" border="0" /></a>
+ <a href="{{pathto("../../trunk/"+lng+"/"+pagename)}}"><img src="{{ pathto("_static/flagicons/"+lng+".png", 1) }}" alt="{{ lng }}" title="{{ lng }}" border="0" /></a>
{% endif %}
{%- endif %}
{%- endfor %}
Modified: trunk/docs/de/index.txt
===================================================================
--- trunk/docs/de/index.txt 2010-01-15 20:31:42 UTC (rev 9700)
+++ trunk/docs/de/index.txt 2010-01-15 20:36:21 UTC (rev 9701)
@@ -1,10 +1,6 @@
.. _home:
-.. raw:: html
- <table style="height:300px;"><tr><td style="width:50%; vertical-align:top">
-
-
*****************************************************************************
Willkommen zum MapServer
*****************************************************************************
@@ -26,7 +22,14 @@
.. raw:: html
- </td><td id="olmaptd" width="50%" style="width:50%;height:100%;padding-top:25px;text-align:right;"> <div id="olmap" style="width:100%;height:100%;margin:0px;"></div><span style="width:100%;text-align:right;font-size:x-small;">map data by <a href="http://openstreetmap.org">openstreetmap</a> (<a href="http://trac.osgeo.org/mapserver/wiki/RenderingOsmData">more…</a>)</td></tr></table>
+ <table style="height:450px;width:100%"><tr>
+ <td id="olmaptd" width="100%" style="width:100%;height:100%;padding-top:25px;text-align:right;">
+ <div id="olmap" style="width:100%;height:100%;margin:0px;"></div>
+ <span style="width:100%;text-align:right;font-size:x-small;">
+ Barcelona, SP. Home of <a href="http://2010.foss4g.org/">FOSS4G 2010</a>. Map data by <a href="http://openstreetmap.org">openstreetmap</a> (<a href="http://trac.osgeo.org/mapserver/wiki/RenderingOsmData">more…</a>)
+ </span>
+ </td>
+ </tr></table>
<script src="_static/openlayers/OpenLayers.js"></script>
<script src="_static/ol.js"></script>
Modified: trunk/docs/en/index.txt
===================================================================
--- trunk/docs/en/index.txt 2010-01-15 20:31:42 UTC (rev 9700)
+++ trunk/docs/en/index.txt 2010-01-15 20:36:21 UTC (rev 9701)
@@ -1,10 +1,6 @@
.. _home:
-.. raw:: html
- <table style="height:300px;"><tr><td style="width:50%; vertical-align:top">
-
-
*****************************************************************************
Welcome to MapServer
*****************************************************************************
@@ -24,7 +20,14 @@
.. raw:: html
- </td><td id="olmaptd" width="50%" style="width:50%;height:100%;padding-top:25px;text-align:right;"> <div id="olmap" style="width:100%;height:100%;margin:0px;"></div><span style="width:100%;text-align:right;font-size:x-small;">map data by <a href="http://openstreetmap.org">openstreetmap</a> (<a href="http://trac.osgeo.org/mapserver/wiki/RenderingOsmData">more…</a>)</td></tr></table>
+ <table style="height:450px;width:100%"><tr>
+ <td id="olmaptd" width="100%" style="width:100%;height:100%;padding-top:25px;text-align:right;">
+ <div id="olmap" style="width:100%;height:100%;margin:0px;"></div>
+ <span style="width:100%;text-align:right;font-size:x-small;">
+ Barcelona, SP. Home of <a href="http://2010.foss4g.org/">FOSS4G 2010</a>. Map data by <a href="http://openstreetmap.org">openstreetmap</a> (<a href="http://trac.osgeo.org/mapserver/wiki/RenderingOsmData">more…</a>)
+ </span>
+ </td>
+ </tr></table>
<script src="_static/openlayers/OpenLayers.js"></script>
<script src="_static/ol.js"></script>
More information about the mapserver-commits
mailing list