Commit 08d762c03dc928e8f8f63ffa8cd2de874724a7b8

Authored by Edmar Moretti
1 parent 5880c8c2

Ajustes no layout

classesphp/wmswfs.php
... ... @@ -441,11 +441,11 @@ function temaswms()
441 441 if(count($layers2) == 1){$retorna[] = "<hr>";}
442 442 }
443 443 }
444   - $retorna[] = "<br>Proj.:<input size=30 id=proj type=text class=digitar value='".implode(",",wms_srs($dom))."'/><br>";
445   - $retorna[] = "<br>Formatos imagem:<input size=30 id=formatos type=text class=digitar value='".implode(",",wms_formats($dom))."'/><br><br>";
446   - $retorna[] = "<br>Formatos info:<input size=30 id=formatosinfo type=text class=digitar value='".implode(",",wms_formatsinfo($dom))."'/><br><br>";
447   - $retorna[] = "<br>Versao:<input size=30 id=versao type=text class=digitar value='".(wms_version($dom))."'/><br><br>";
448   - $retorna[] = "<br>Suporta SLD:<input size=30 id=suportasld type=text class=digitar value='".$suporta."'/><br><br><br>";
  444 + $retorna[] = "<p class='paragrafo'>Proje&ccedil;&atilde;o:</p><div class='styled-select'><input type='text' id='proj' value='".implode(",",wms_srs($dom))."' /></div>";
  445 + $retorna[] = "<br><p class='paragrafo'>Formatos imagem:</p><div class='styled-select'><input type='text' id='formatos' value='".implode(",",wms_formats($dom))."' /></div>";
  446 + $retorna[] = "<br><p class='paragrafo'>Formatos de informa&ccedil;&atilde;o:</p><div class='styled-select'><input type='text' id='formatosinfo' value='".implode(",",wms_formatsinfo($dom))."' /></div>";
  447 + $retorna[] = "<br><p class='paragrafo'>Vers&atilde;o:</p><div class='styled-select'><input type='text' id='versao' value='".implode(",",wms_version($dom))."' /></div>";
  448 + $retorna[] = "<br><p class='paragrafo'>Suporta SLD:</p><div class='styled-select'><input type='text' id='suportasld' value='".$suporta."' /></div>";
449 449 return(implode($retorna));
450 450 }
451 451 /*
... ...
ferramentas/conectarservicos/index.js
... ... @@ -58,7 +58,7 @@ i3GEOF.conectarservicos =
58 58 "",
59 59 "",
60 60 $trad("a4")
61   - + "<a class=ajuda_usuario target=_blank href='"
  61 + + "&nbsp;<a class=ajuda_usuario target=_blank href='"
62 62 + i3GEO.configura.locaplic
63 63 + "/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a>",
64 64 "i3GEO.conectarwms",
... ... @@ -154,15 +154,12 @@ i3GEOF.conectarservicos =
154 154 * Cria a janela flutuante para controle da ferramenta.
155 155 */
156 156 iniciaJanelaFlutuante : function() {
157   - var minimiza, cabecalho, janela, divid, titulo;
  157 + var cabecalho, janela, divid, titulo;
158 158 if($i("i3GEOF.conectarservicos")){
159 159 return;
160 160 }
161 161 cabecalho = function() {
162 162 };
163   - minimiza = function() {
164   - i3GEO.janela.minimiza("i3GEOFconectarservicos");
165   - };
166 163 // cria a janela flutuante
167 164 titulo = "<span class='i3GEOiconeFerramenta i3GEOiconeAdd'></span><div class='i3GeoTituloJanela'>" + $trad("conexao",i3GEOF.conectarservicos.dicionario)+"</div>";
168 165 janela =
... ... @@ -177,7 +174,7 @@ i3GEOF.conectarservicos =
177 174 false,
178 175 "hd",
179 176 cabecalho,
180   - minimiza,
  177 + "",
181 178 "",
182 179 true
183 180 );
... ...
ferramentas/conectarwms/index.htm
1 1 <html>
2 2 <head>
3 3 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
4   -<link rel="stylesheet" type="text/css" href="../../css/i3geo_ferramentas6.css">
  4 +<link rel="stylesheet" type="text/css" href="../../css/black.css">
5 5 <title></title>
6 6 <style type="text/css">
7 7 button {
... ... @@ -16,20 +16,15 @@ body {
16 16 border: 0px;
17 17 background-color: white;
18 18 }
19   -
20   -p {
21   - text-align: left;
22   -}
23   -
24 19 .guiaobj {
25 20 background-color: white;
26 21 display: block;
27   - height: 97%;
  22 + height: 90%;
28 23 left: 0;
29 24 overflow: auto;
30 25 text-align: left;
31 26 top: 0;
32   - width: 98%;
  27 + width: 97%;
33 28 }
34 29 </style>
35 30 </head>
... ... @@ -37,25 +32,31 @@ p {
37 32 <div id=guiasYUI class="yui-navset" style="top: 0px; cursor: pointer; left: 0px;">
38 33 <ul class="yui-nav" style="border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;">
39 34 <li>
40   - <a href="#ancora">
41   - <em><span id="guia1" style="text-align: center; font-size: 10px; left: 0px;">Servi&ccedil;os</span></em>
42   - </a>
  35 + <div id='guia1' style='text-align: center; left: 0px;'>
  36 + <a>
  37 + <em>Servi&ccedil;os</em>
  38 + </a>
  39 + </div>
43 40 </li>
44 41 <li>
45   - <a href="#ancora">
46   - <em><span id="guia2" style="text-align: center; font-size: 10px; left: 0px;">Metadados</span></em>
47   - </a>
  42 + <div id='guia2' style='text-align: center; left: 0px;'>
  43 + <a>
  44 + <em>Metadados</em>
  45 + </a>
  46 + </div>
48 47 </li>
49 48 <li>
50   - <a href="#ancora">
51   - <em><span id="guia3" style="text-align: center; font-size: 10px; left: 0px;">Temas</span></em>
52   - </a>
  49 + <div id='guia3' style='text-align: center; left: 0px;'>
  50 + <a>
  51 + <em>Lista de temas</em>
  52 + </a>
  53 + </div>
53 54 </li>
54 55 </ul>
55 56 </div>
56 57  
57 58 <div class=guiaobj id="guia1obj" style="left: 5px; top: 0px; text-align: left">
58   - <p class=paragrafo>
  59 + <p class=paragrafo >
59 60 <a href="../../documentacao/ajuda/The_ArcIMS_OGC_WMS_Connector.pdf" target=blank>Veja como criar web services no ARCIMS</a>
60 61 <br>
61 62 <a href="../../documentacao/ajuda/ArcGIS9.x.html" target=blank>Veja como utilizar web services no ARCGIS</a>
... ... @@ -67,15 +68,15 @@ p {
67 68 <div class="styled-select" style="width: 350px; margin-top: 15px;">
68 69 <input tabindex='0' id=servico value="" size=45 />
69 70 </div>
70   - <p class=paragrafo>
71   - <div id=RSSwms style="width: 350px;" ></div>
  71 + <p class=paragrafo >
  72 + <div id=RSSwms style="width: 350px;" class=paragrafo ></div>
72 73 <br>
73   - <div id=RSSbt></div>
  74 + <div id=RSSbt style="text-align:left;"></div>
74 75 </div>
75   - <div class=guiaobj id="guia2obj" style="display: none; left: 0px; top: 00px">
76   - <br>
77   - <input type=button value="getCapabilities" size=20 onclick="getcapabilities()" class="aplicar" />
78   - <br>
  76 + <div class=guiaobj id="guia2obj" style="display: none; left: 0px; top: 10px">
  77 + <p class=paragrafo>
  78 + <input type=button id="getCapabilities" value="Descri&ccedil;&atilde;o do WMS"/>
  79 + </p>
79 80 <div id=resultadoget style="display: block; position: relative; top: 5px; left: 1px" class=paragrafo></div>
80 81 </div>
81 82 <div class=guiaobj id="guia3obj" style="left: 0px; display: none;">
... ... @@ -98,7 +99,7 @@ p {
98 99 </div>
99 100  
100 101 </div>
101   - <div id=listatemas style="display: block; position: relative; top: 10px; left: 0px;"></div>
  102 + <div id=listatemas style="display: block; position: relative; top: 10px; left: 0px;" class=paragrafo ></div>
102 103 </div>
103 104  
104 105 <div id="aguarde">
... ... @@ -109,8 +110,11 @@ p {
109 110 <script type="text/javascript" src="../../classesjs/i3geo.js"></script>
110 111 <script type="text/javascript" src="index.js"></script>
111 112 <script type="text/javascript">
112   - //mensagemAjuda("men1",document.getElementById("men1").innerHTML)
113   - //mensagemAjuda("men2",document.getElementById("men2").innerHTML)
  113 + var b = new YAHOO.widget.Button(
  114 + "getCapabilities",
  115 + {onclick:{fn: getcapabilities}}
  116 + );
  117 + b.addClass("rodar");
114 118 if (window.parent.i3GEO.parametros.editor.toLowerCase() == "sim") {
115 119 var temp =
116 120 "<p><a href='#' style='color:red' onclick='abrejanelaIframe()' title='Op&ccedil;&atilde;o vis&iacute;vel apenas para usu&aacute;rios editores'>Editar a lista de endere&ccedil;os dos servi&ccedil;os</a></p>";
... ... @@ -142,34 +146,11 @@ p {
142 146 var ncanais = canais.length
143 147 $i("RSSbt").innerHTML = retorno.data.rss;
144 148 var ins = "";
145   - ins += "<select size='5' onchange='registraws(this.value)' style='width:100%;' ><option value='' >WMS cadastrados:</option>";
  149 + ins += "<select size='5' onchange='registraws(this.value)' style='width:100%;' >";
146 150 for (i = 0; i < ncanais; i++) {
147 151 var caso = canais[i];
148 152 var valor = "'" + caso.link + "','" + caso.id_ws + "','" + caso.tipo_ws + "'";
149 153 ins += "<option value=" + valor + " >"+caso.title+"</option>";
150   - /*
151   - ins +=
152   - "\<p class=clique onclick=\"registraws('" + caso.link
153   - + "','"
154   - + caso.id_ws
155   - + "','"
156   - + caso.tipo_ws
157   - + "')\" \>\<b\>"
158   - + caso.title
159   - + "\<\/b\>&nbsp;"
160   - + caso.description
161   - + "&nbsp;("
162   - + caso.author
163   - + ")"
164   - if (caso.nacessos > 0) {
165   - var pc = (parseInt(caso.nacessosok) * 100) / parseInt(caso.nacessos)
166   - ins +=
167   - " \<span style=color:gray \>(disponibilidade: " + pc
168   - + "%, acessos considerados: "
169   - + caso.nacessos
170   - + ")\<\/span>\<\/p\>";
171   - }
172   - */
173 154 }
174 155 ins += "</select>";
175 156 document.getElementById("RSSwms").innerHTML = ins;
... ...
ferramentas/conectarwms/index.js
... ... @@ -36,9 +36,6 @@ GNU junto com este programa; se n&amp;atilde;o, escreva para a
36 36 Free Software Foundation, Inc., no endere&ccedil;o
37 37 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
38 38 */
39   -
40   -//TODO verificar a lista de WMS cadastrados
41   -//parametrosURL();
42 39 //variaveis globais
43 40 g_tipo = ""; //tipo de tema
44 41 g_tema = ""; //tema selecionado do ws
... ...
ferramentas/wmstime/index.htm
... ... @@ -8,7 +8,7 @@ textarea
8 8 </style>
9 9 <title></title>
10 10 </head>
11   - <body class="yui-skin-sam" >
  11 + <body class="yui-skin-sam" style="background-color: white;" >
12 12 <div style="height:400px;top:-10px;left:5px;display:block;width:95%;overflow:auto;" id="parametros" >
13 13  
14 14 </div>
... ...