[fusion-commits] r2443 - trunk/widgets/Redline
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Oct 26 05:49:58 EDT 2011
Author: liuar
Date: 2011-10-26 02:49:58 -0700 (Wed, 26 Oct 2011)
New Revision: 2443
Modified:
trunk/widgets/Redline/editmarkup.php
trunk/widgets/Redline/markupmain.php
trunk/widgets/Redline/newmarkup.php
Log:
Fix ticket #477 by adjust several controls' pixel.
Modified: trunk/widgets/Redline/editmarkup.php
===================================================================
--- trunk/widgets/Redline/editmarkup.php 2011-10-26 06:57:04 UTC (rev 2442)
+++ trunk/widgets/Redline/editmarkup.php 2011-10-26 09:49:58 UTC (rev 2443)
@@ -327,15 +327,15 @@
<tr><td colspan="2" height="2px"></td></tr>
<tr>
<td colspan="2">
- <input class="Ctrl" id="pointBtn" type="button" onClick="AddPoint()" value="<?=$pointLocal?>" style="width:60px">
- <input class="Ctrl" id="lineBtn" type="button" onClick="AddLine()" value="<?=$lineLocal?>" style="width:60px">
- <input class="Ctrl" id="lineStringBtn" type="button" onClick="AddLineString()" value="<?=$lineStringLocal?>" style="width:60px">
+ <input class="Ctrl" id="pointBtn" type="button" onClick="AddPoint()" value="<?=$pointLocal?>" style="width:85px">
+ <input class="Ctrl" id="lineBtn" type="button" onClick="AddLine()" value="<?=$lineLocal?>" style="width:85px">
+ <input class="Ctrl" id="lineStringBtn" type="button" onClick="AddLineString()" value="<?=$lineStringLocal?>" style="width:85px">
</td>
</tr>
<tr>
<td colspan="2">
- <input class="Ctrl" id="rectangleBtn" type="button" onClick="AddRectangle()" value="<?=$rectangleLocal?>" style="width:60px">
- <input class="Ctrl" id="polygonBtn" type="button" onClick="AddPolygon()" value="<?=$polygonLocal?>" style="width:60px">
+ <input class="Ctrl" id="rectangleBtn" type="button" onClick="AddRectangle()" value="<?=$rectangleLocal?>" style="width:85px">
+ <input class="Ctrl" id="polygonBtn" type="button" onClick="AddPolygon()" value="<?=$polygonLocal?>" style="width:85px">
</td>
</tr>
<tr><td colspan="2" height="2px"></td></tr>
@@ -369,9 +369,9 @@
<tr><td colspan="2" height="2px"></td></tr>
<tr>
<td colspan="2">
- <input class="Ctrl" id="selectBtn" type="button" onClick="SelectMarkup()" value="<?=$selectLocal?>" style="width:80px">
- <input class="Ctrl" id="deleteBtn" type="button" onClick="DeleteMarkup()" value="<?=$deleteLocal?>" style="width:80px">
- <input class="Ctrl" id="updateBtn" type="button" onClick="UpdateMarkup()" value="<?=$updateLocal?>" style="width:80px">
+ <input class="Ctrl" id="selectBtn" type="button" onClick="SelectMarkup()" value="<?=$selectLocal?>" style="width:85px">
+ <input class="Ctrl" id="deleteBtn" type="button" onClick="DeleteMarkup()" value="<?=$deleteLocal?>" style="width:85px">
+ <input class="Ctrl" id="updateBtn" type="button" onClick="UpdateMarkup()" value="<?=$updateLocal?>" style="width:85px">
</td>
</tr>
<tr><td colspan="2" height="2px"></td></tr>
@@ -379,7 +379,7 @@
<tr>
<td colspan="2" align="right">
<hr>
- <input class="Ctrl" name="" type="button" onClick="CloseEditor()" value="<?=$closeLocal?>" style="width:60px">
+ <input class="Ctrl" name="" type="button" onClick="CloseEditor()" value="<?=$closeLocal?>" style="width:85px">
</td>
</tr>
Modified: trunk/widgets/Redline/markupmain.php
===================================================================
--- trunk/widgets/Redline/markupmain.php 2011-10-26 06:57:04 UTC (rev 2442)
+++ trunk/widgets/Redline/markupmain.php 2011-10-26 09:49:58 UTC (rev 2443)
@@ -194,11 +194,11 @@
</tr>
<tr>
<td>
- <input class="Ctrl" type="button" id="newBtn" onClick="SubmitCommand(CMD_NEW)" value="<?=$newLocal?>" style="width:50px">
- <input class="Ctrl" type="button" id="openBtn" onClick="SubmitCommand(CMD_OPEN)" value="<?=$addToMapLocal?>" style="width:90px">
- <input class="Ctrl" type="button" id="deleteBtn" onClick="SubmitCommand(CMD_DELETE)" value="<?=$deleteLocal?>" style="width:50px">
- <input class="Ctrl" type="button" id="refreshBtn" onClick="SubmitCommand(CMD_REFRESH)" value="<?=$refreshLocal?>" style="width:50px">
- <input class="Ctrl" type="button" id="downloadBtn" onClick="SubmitCommand(CMD_DOWNLOAD)" value="<?=$downloadLocal?>" style="width:100px">
+ <input class="Ctrl" type="button" id="newBtn" onClick="SubmitCommand(CMD_NEW)" value="<?=$newLocal?>" style="width:85px">
+ <input class="Ctrl" type="button" id="openBtn" onClick="SubmitCommand(CMD_OPEN)" value="<?=$addToMapLocal?>" style="width:85px">
+ <input class="Ctrl" type="button" id="deleteBtn" onClick="SubmitCommand(CMD_DELETE)" value="<?=$deleteLocal?>" style="width:85px">
+ <input class="Ctrl" type="button" id="refreshBtn" onClick="SubmitCommand(CMD_REFRESH)" value="<?=$refreshLocal?>" style="width:85px">
+ <input class="Ctrl" type="button" id="downloadBtn" onClick="SubmitCommand(CMD_DOWNLOAD)" value="<?=$downloadLocal?>" style="width:85px">
<br><br>
</td>
</tr>
@@ -220,8 +220,8 @@
</tr>
<tr>
<td>
- <input class="Ctrl" type="button" id="editBtn" onClick="SubmitCommand(CMD_EDIT)" value="<?=$addEditLocal?>" style="width:100px">
- <input class="Ctrl" type="button" id="closeBtn" onClick="SubmitCommand(CMD_CLOSE)" value="<?=$removeFromMapLocal?>" style="width:100px">
+ <input class="Ctrl" type="button" id="editBtn" onClick="SubmitCommand(CMD_EDIT)" value="<?=$addEditLocal?>" style="width:125px">
+ <input class="Ctrl" type="button" id="closeBtn" onClick="SubmitCommand(CMD_CLOSE)" value="<?=$removeFromMapLocal?>" style="width:125px">
<br><br>
</td>
</tr>
Modified: trunk/widgets/Redline/newmarkup.php
===================================================================
--- trunk/widgets/Redline/newmarkup.php 2011-10-26 06:57:04 UTC (rev 2442)
+++ trunk/widgets/Redline/newmarkup.php 2011-10-26 09:49:58 UTC (rev 2443)
@@ -451,8 +451,8 @@
<tr>
<td colspan="2" align="right">
<hr>
- <input class="Ctrl" name="" type="submit" value="OK" onclick="return CheckName()" style="width:60px">
- <input class="Ctrl" type="button" value="Cancel" style="width:60px">
+ <input class="Ctrl" name="" type="submit" value="OK" onclick="return CheckName()" style="width:85px">
+ <input class="Ctrl" type="button" value="Cancel" style="width:85px">
</td>
</tr>
More information about the fusion-commits
mailing list