[Commits] r1663 - sandbox/redlining/ux/RedLining/examples
commits at geoext.org
commits at geoext.org
Fri Jan 8 06:19:41 CET 2010
Author: cmoullet
Date: 2010-01-08 06:19:41 +0100 (Fri, 08 Jan 2010)
New Revision: 1663
Added:
sandbox/redlining/ux/RedLining/examples/RedLiningExample.html
sandbox/redlining/ux/RedLining/examples/RedLiningExample.js
Removed:
sandbox/redlining/ux/RedLining/examples/RedLining.html
sandbox/redlining/ux/RedLining/examples/RedLining.js
Log:
Keep naming consistency in the UX examples
Deleted: sandbox/redlining/ux/RedLining/examples/RedLining.html
===================================================================
--- sandbox/redlining/ux/RedLining/examples/RedLining.html 2010-01-08 05:18:59 UTC (rev 1662)
+++ sandbox/redlining/ux/RedLining/examples/RedLining.html 2010-01-08 05:19:41 UTC (rev 1663)
@@ -1,30 +0,0 @@
-<html>
- <head>
- <title>Redlining ux Example</title>
-
- <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.0.0/adapter/ext/ext-base.js"></script>
- <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.0.0/ext-all.js"></script>
- <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.0.0/resources/css/ext-all.css" />
- <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.0.0/examples/shared/examples.css" />
- <script type="text/javascript" src="http://openlayers.org/api/2.8/OpenLayers.js"></script>
- <script type="text/javascript" src="../../../trunk/geoext/lib/GeoExt.js"></script>
-
- <script type="text/javascript" src="../ux/RedLining.js"></script>
-
- <script type="text/javascript" src="RedLining.js"></script>
-
- </head>
- <body>
- <h1>RedLiningTool example</h1>
-
- <p></p>
-
- <p></p>
-
- <p></p>
-
- <p>See <a href="RedLining.js">RedLining.js</a> for the source code.</p>
-
- <div id="content"></div>
- </body>
-</html>
Deleted: sandbox/redlining/ux/RedLining/examples/RedLining.js
===================================================================
--- sandbox/redlining/ux/RedLining/examples/RedLining.js 2010-01-08 05:18:59 UTC (rev 1662)
+++ sandbox/redlining/ux/RedLining/examples/RedLining.js 2010-01-08 05:19:41 UTC (rev 1663)
@@ -1,28 +0,0 @@
-var redLiningTool;
-
-Ext.onReady(function() {
-
- var mapPanel = new GeoExt.MapPanel({
- region: "center",
- layers: [new OpenLayers.Layer.WMS("Global Imagery",
- "http://labs.metacarta.com/wms/vmap0",
- {layers: "basic"})] ,
- center: [16,48],
- zoom: 5
- });
-
- redLiningTool = new GeoExt.ux.form.ComplexRedLiningForm({
- title: "RedLining Manager",
- region: "east",
- map: mapPanel.map,
- width: 300
- });
-
- new Ext.Panel({
- renderTo: "content",
- layout: "border",
- width: 650,
- height: 350,
- items: [mapPanel, redLiningTool]
- });
-});
Copied: sandbox/redlining/ux/RedLining/examples/RedLiningExample.html (from rev 1662, sandbox/redlining/ux/RedLining/examples/RedLining.html)
===================================================================
--- sandbox/redlining/ux/RedLining/examples/RedLiningExample.html (rev 0)
+++ sandbox/redlining/ux/RedLining/examples/RedLiningExample.html 2010-01-08 05:19:41 UTC (rev 1663)
@@ -0,0 +1,30 @@
+<html>
+ <head>
+ <title>Redlining ux Example</title>
+
+ <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.0.0/adapter/ext/ext-base.js"></script>
+ <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.0.0/ext-all.js"></script>
+ <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.0.0/resources/css/ext-all.css" />
+ <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.0.0/examples/shared/examples.css" />
+ <script type="text/javascript" src="http://openlayers.org/api/2.8/OpenLayers.js"></script>
+ <script type="text/javascript" src="../../../trunk/geoext/lib/GeoExt.js"></script>
+
+ <script type="text/javascript" src="../ux/RedLining.js"></script>
+
+ <script type="text/javascript" src="RedLining.js"></script>
+
+ </head>
+ <body>
+ <h1>RedLiningTool example</h1>
+
+ <p></p>
+
+ <p></p>
+
+ <p></p>
+
+ <p>See <a href="RedLining.js">RedLining.js</a> for the source code.</p>
+
+ <div id="content"></div>
+ </body>
+</html>
Copied: sandbox/redlining/ux/RedLining/examples/RedLiningExample.js (from rev 1661, sandbox/redlining/ux/RedLining/examples/RedLining.js)
===================================================================
--- sandbox/redlining/ux/RedLining/examples/RedLiningExample.js (rev 0)
+++ sandbox/redlining/ux/RedLining/examples/RedLiningExample.js 2010-01-08 05:19:41 UTC (rev 1663)
@@ -0,0 +1,28 @@
+var redLiningTool;
+
+Ext.onReady(function() {
+
+ var mapPanel = new GeoExt.MapPanel({
+ region: "center",
+ layers: [new OpenLayers.Layer.WMS("Global Imagery",
+ "http://labs.metacarta.com/wms/vmap0",
+ {layers: "basic"})] ,
+ center: [16,48],
+ zoom: 5
+ });
+
+ redLiningTool = new GeoExt.ux.form.ComplexRedLiningForm({
+ title: "RedLining Manager",
+ region: "east",
+ map: mapPanel.map,
+ width: 300
+ });
+
+ new Ext.Panel({
+ renderTo: "content",
+ layout: "border",
+ width: 650,
+ height: 350,
+ items: [mapPanel, redLiningTool]
+ });
+});
More information about the Commits
mailing list