sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattm...@apache.org
Subject svn commit: r1307935 - in /incubator/sis/trunk: CHANGES.txt sis-webapp/src/main/webapp/demo.jsp
Date Sat, 31 Mar 2012 23:06:44 GMT
Author: mattmann
Date: Sat Mar 31 23:06:44 2012
New Revision: 1307935

URL: http://svn.apache.org/viewvc?rev=1307935&view=rev
Log:
- fix for SIS-41 Improve the demo.jsp CSS 

Modified:
    incubator/sis/trunk/CHANGES.txt
    incubator/sis/trunk/sis-webapp/src/main/webapp/demo.jsp

Modified: incubator/sis/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/CHANGES.txt?rev=1307935&r1=1307934&r2=1307935&view=diff
==============================================================================
--- incubator/sis/trunk/CHANGES.txt (original)
+++ incubator/sis/trunk/CHANGES.txt Sat Mar 31 23:06:44 2012
@@ -3,6 +3,8 @@ Apache SIS Change Log
 
 Release 0.3-incubating - Current Development
 
+* SIS-41 Improve the demo.jsp CSS (Charitha Madusanka via mattmann)
+
 * SIS-40 Add the missing documentation comments for SIS 
   WS layer (Charitha Madusanka via mattmann)
 

Modified: incubator/sis/trunk/sis-webapp/src/main/webapp/demo.jsp
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/sis-webapp/src/main/webapp/demo.jsp?rev=1307935&r1=1307934&r2=1307935&view=diff
==============================================================================
--- incubator/sis/trunk/sis-webapp/src/main/webapp/demo.jsp (original)
+++ incubator/sis/trunk/sis-webapp/src/main/webapp/demo.jsp Sat Mar 31 23:06:44 2012
@@ -23,7 +23,7 @@ API</title>
 <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
 <style type="text/css">
 html {
-	height: 100%
+	height: 80%
 }
 
 body {
@@ -33,7 +33,7 @@ body {
 }
 
 #map_canvas {
-	height: 85%;
+	height: 80%;
 	width: 50%;
 	font-size: 10px;
 }
@@ -42,6 +42,12 @@ body {
 	font-color: #808080;
 	font-size: 10px;
 }
+
+.center {
+	margin-left: auto;
+	margin-right: auto;
+	width: 50%;
+}
 </style>
 <script type="text/javascript"
 	src="http://maps.google.com/maps/api/js?sensor=true"></script>
@@ -280,11 +286,11 @@ body {
 </script>
 </head>
 <body onload="initialize()">
+<div class="center" ><a href="http://incubator.apache.org/sis/"><image src="images/sis_logo_small.png"
alt="Apache SIS: Spatial Information System" border="0"/></a></div>
 <form method="get"
-	onsubmit="return validate()">
+	onsubmit="return validate()" class="center">
 
-<p><a href="http://incubator.apache.org/sis/"><image src="images/sis_logo_small.png"
alt="Apache SIS: Spatial Information System" border="0"/></a></p>
-<p><label><b>Query By&nbsp;</b></label> <select id="type"
+<label><b>Query By&nbsp;</b></label> <select id="type"
 	onchange="switchType()" name="type">
 	<option value="bbox">Bounding Box</option>
 	<option value="pointradius">Point-Radius</option>
@@ -321,7 +327,7 @@ body {
 </span>
 <p><input type="submit" value="Query" /></p>
 </form>
-<p id="result"></p>
-<div id="map_canvas"></div>
+<p id="result" class="center"></p>
+<div id="map_canvas" class="center"></div>
 </body>
 </html>
\ No newline at end of file



Mime
View raw message