[Mapbender-commits] r9178 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Apr 8 02:33:44 PDT 2015
Author: armin11
Date: 2015-04-08 02:33:44 -0700 (Wed, 08 Apr 2015)
New Revision: 9178
Modified:
trunk/mapbender/http/php/mod_updateWMS.php
Log:
Enhance layout
Modified: trunk/mapbender/http/php/mod_updateWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php 2015-04-08 09:27:50 UTC (rev 9177)
+++ trunk/mapbender/http/php/mod_updateWMS.php 2015-04-08 09:33:44 UTC (rev 9178)
@@ -156,7 +156,8 @@
authPassword = $("#imrAuthPassword").val();
authName = $("#imrAuthName").val();
}
-
+ console.log(dbOldNameArray);
+ console.log(dbCurrentNameArray);
var updateParams = {
//TODO add auth info!
"command": "updateWMS",
@@ -208,7 +209,6 @@
if($("#compare_dialog").attr("checked")) {
if (typeof $compareDialog == 'object') {
$("#compareDialog").remove();
- $("#linkDialog").remove();
$compareDialog.dialog("destroy");
}
radioAuthValue = $('input:radio[name=imrHttpAuth]:checked').val();
@@ -305,11 +305,10 @@
$(".linkDialog").click(function () {
var fieldId = $(this).attr("id");
- $selectLayerDialog = $("<div id='linkDialog'><select id='xmlLayerSelect'>" + selectboxOptions + "</select></div>").dialog({
+ $selectLayerDialog = $("<div><select id='xmlLayerSelect'>" + selectboxOptions + "</select></div>").dialog({
title : "Select layer",
buttons: {
"Close": function() {
- $("#linkDialog").remove();
$(this).dialog("destroy").remove();
},
"Select": function() {
@@ -323,7 +322,6 @@
$("#dbCurrentName_"+cntArray[1]).css("background-color","");
}
}
- $("#linkDialog").remove();
$(this).dialog("destroy").remove();
}
}
@@ -418,7 +416,7 @@
view wms metadata: <a id='metadatalink' href='' onclick="window.open(this.href,'Metadaten','width=500,height=600,left=100,top=200,scrollbars=yes ,dependent=yes'); return false" target="_blank"><span id="metadatatext">no WMS selected</span></a><br><br>
<?php
- echo "Link to the last uploaded Online Resource URL:<br><input type='text' size='120' name='capURL' id='capURL'><br />";
+ echo "Link to the last uploaded Online Resource URL:<br><input type='text' size='100' name='capURL' id='capURL'><br />";
echo "<input type='hidden' name='myWMS' id='myWMS' value=''><br>";
echo "Add the following REQUEST to the Online Resource URL to obtain the Capabilities document:<br>";
echo "<i>(Triple click to select and copy)</i><br>";
@@ -440,7 +438,7 @@
echo "Username : <input type='text' name='imrAuthName' id='imrAuthName' /><br>";
echo "Password : <input type='text' name='imrAuthPassword' id='imrAuthPassword'/><br><br>";
echo "</div>";
- echo "Link to new WMS Capabilities URL:<br><input size='120' type='text' name='myURL' id='myURL'><br>";
+ echo "Link to new WMS Capabilities URL:<br><input size='100' type='text' name='myURL' id='myURL'><br>";
if (defined("TWITTER_NEWS") && TWITTER_NEWS == true) {
echo"<input type='checkbox' name='twitter_news' id='twitter_news' checked='checked'>Publish via Twitter<br>";
}
More information about the Mapbender_commits
mailing list