Commit f3fae017ed3045e1ba301daf533468495cd77d87

Authored by Edmar Moretti
1 parent ade338a4

Ajustes nos estilos dos botões

ferramentas/etiqueta/dicionario.js
@@ -11,7 +11,7 @@ i3GEOF.etiqueta.dicionario = { @@ -11,7 +11,7 @@ i3GEOF.etiqueta.dicionario = {
11 es : "" 11 es : ""
12 } ], 12 } ],
13 'desativaEtiquetas' : [ { 13 'desativaEtiquetas' : [ {
14 - pt : "Desativar todas as etiquetas", 14 + pt : "Desativar",
15 en : "", 15 en : "",
16 es : "" 16 es : ""
17 } ] 17 } ]
ferramentas/etiqueta/index.js
@@ -90,14 +90,16 @@ i3GEOF.etiqueta = { @@ -90,14 +90,16 @@ i3GEOF.etiqueta = {
90 } 90 }
91 try{ 91 try{
92 $i(iddiv).innerHTML += i3GEOF.etiqueta.html(); 92 $i(iddiv).innerHTML += i3GEOF.etiqueta.html();
93 - new YAHOO.widget.Button( 93 + var b = new YAHOO.widget.Button(
94 "i3GEOetiquetabotao1", 94 "i3GEOetiquetabotao1",
95 {onclick:{fn: i3GEOF.etiqueta.ativa}} 95 {onclick:{fn: i3GEOF.etiqueta.ativa}}
96 ); 96 );
97 - new YAHOO.widget.Button( 97 + b.addClass("rodar150");
  98 + b = new YAHOO.widget.Button(
98 "i3GEOetiquetabotao2", 99 "i3GEOetiquetabotao2",
99 {onclick:{fn: i3GEOF.etiqueta.desativa}} 100 {onclick:{fn: i3GEOF.etiqueta.desativa}}
100 ); 101 );
  102 + b.addClass("rodar150");
101 i3GEOF.etiqueta.ativaFoco(); 103 i3GEOF.etiqueta.ativaFoco();
102 } 104 }
103 catch(erro){i3GEO.janela.tempoMsg(erro);} 105 catch(erro){i3GEO.janela.tempoMsg(erro);}
ferramentas/filtro/index.js
@@ -113,14 +113,17 @@ i3GEOF.filtro = { @@ -113,14 +113,17 @@ i3GEOF.filtro = {
113 i3GEO.guias.mostraGuiaFerramenta("i3GEOfiltroguia3","i3GEOfiltroguia"); 113 i3GEO.guias.mostraGuiaFerramenta("i3GEOfiltroguia3","i3GEOfiltroguia");
114 i3GEOF.filtro.aplicaFiltro("sim"); 114 i3GEOF.filtro.aplicaFiltro("sim");
115 }; 115 };
116 - new YAHOO.widget.Button( 116 + var b = new YAHOO.widget.Button(
117 "i3GEOfiltrobotao1", 117 "i3GEOfiltrobotao1",
118 {onclick:{fn: function(){i3GEOF.filtro.aplicaFiltro("nao");}}} 118 {onclick:{fn: function(){i3GEOF.filtro.aplicaFiltro("nao");}}}
119 ); 119 );
120 - new YAHOO.widget.Button( 120 + b.addClass("rodar150");
  121 + b = new YAHOO.widget.Button(
121 "i3GEOfiltrobotao2", 122 "i3GEOfiltrobotao2",
122 {onclick:{fn: i3GEOF.filtro.limpaFiltro}} 123 {onclick:{fn: i3GEOF.filtro.limpaFiltro}}
123 ); 124 );
  125 + b.addClass("rodar150");
  126 +
124 i3GEO.util.mensagemAjuda("i3GEOfiltromen1",$i("i3GEOfiltromen1").innerHTML); 127 i3GEO.util.mensagemAjuda("i3GEOfiltromen1",$i("i3GEOfiltromen1").innerHTML);
125 // 128 //
126 //pega a lista de itens e chama a função de montagem das opções de criação do filtro 129 //pega a lista de itens e chama a função de montagem das opções de criação do filtro
ferramentas/legenda/index.js
@@ -156,36 +156,32 @@ i3GEOF.legenda = @@ -156,36 +156,32 @@ i3GEOF.legenda =
156 $i("i3GEOlegendaguia5").onclick = function() { 156 $i("i3GEOlegendaguia5").onclick = function() {
157 i3GEO.guias.mostraGuiaFerramenta("i3GEOlegendaguia5", "i3GEOlegendaguia"); 157 i3GEO.guias.mostraGuiaFerramenta("i3GEOlegendaguia5", "i3GEOlegendaguia");
158 }; 158 };
159 - new YAHOO.widget.Button("i3GEOlegendabotao1", { 159 + var b = new YAHOO.widget.Button("i3GEOlegendabotao1", {
160 onclick : { 160 onclick : {
161 fn : i3GEOF.legenda.mudaLegenda 161 fn : i3GEOF.legenda.mudaLegenda
162 } 162 }
163 }); 163 });
164 - if (navm) {  
165 - $i("i3GEOlegendabotao1-button").style.width = "0px";  
166 - }  
167 - new YAHOO.widget.Button("i3GEOlegendabotao2", { 164 + b.addClass("rodar150");
  165 + b = new YAHOO.widget.Button("i3GEOlegendabotao2", {
168 onclick : { 166 onclick : {
169 fn : i3GEOF.legenda.adicionaClasse 167 fn : i3GEOF.legenda.adicionaClasse
170 } 168 }
171 }); 169 });
172 - // if(navm)  
173 - // {$i("i3GEOlegendabotao2-button").style.width = "0px";}  
174 -  
175 - new YAHOO.widget.Button("i3GEOlegendabotao3", { 170 + b.addClass("rodar150");
  171 + b = new YAHOO.widget.Button("i3GEOlegendabotao3", {
176 onclick : { 172 onclick : {
177 fn : i3GEOF.legenda.adicionaConta 173 fn : i3GEOF.legenda.adicionaConta
178 - },  
179 - width : "100px" 174 + }
180 }); 175 });
181 - $i("i3GEOlegendabotao3-button").style.width = "200px";  
182 - new YAHOO.widget.Button("i3GEOlegendabotao15", { 176 + b.addClass("rodar");
  177 + b = new YAHOO.widget.Button("i3GEOlegendabotao15", {
183 onclick : { 178 onclick : {
184 fn : i3GEOF.legenda.adicionaOpacidade 179 fn : i3GEOF.legenda.adicionaOpacidade
185 } 180 }
186 }); 181 });
187 - $i("i3GEOlegendabotao15-button").style.width = "200px";  
188 - new YAHOO.widget.Button("i3GEOlegendabotaoRamp", { 182 + b.addClass("rodar");
  183 +
  184 + b = new YAHOO.widget.Button("i3GEOlegendabotaoRamp", {
189 onclick : { 185 onclick : {
190 fn : function() { 186 fn : function() {
191 var tabela = $i("i3GEOlegendalegenda"); 187 var tabela = $i("i3GEOlegendalegenda");
@@ -195,73 +191,68 @@ i3GEOF.legenda = @@ -195,73 +191,68 @@ i3GEOF.legenda =
195 } 191 }
196 } 192 }
197 }); 193 });
198 - $i("i3GEOlegendabotaoRamp-button").style.width = "200px";  
199 - new YAHOO.widget.Button("i3GEOlegendabotao4", { 194 + b.addClass("rodar");
  195 + b = new YAHOO.widget.Button("i3GEOlegendabotao4", {
200 onclick : { 196 onclick : {
201 fn : i3GEOF.legenda.paleta 197 fn : i3GEOF.legenda.paleta
202 } 198 }
203 }); 199 });
204 - new YAHOO.widget.Button("i3GEOlegendabotao5", { 200 + b.addClass("rodar100");
  201 + b = new YAHOO.widget.Button("i3GEOlegendabotao5", {
205 onclick : { 202 onclick : {
206 fn : i3GEOF.legenda.simbU 203 fn : i3GEOF.legenda.simbU
207 } 204 }
208 }); 205 });
209 - $i("i3GEOlegendabotao5-button").style.width = "200px";  
210 - new YAHOO.widget.Button("i3GEOlegendabotao6", { 206 + b.addClass("rodar");
  207 + b = new YAHOO.widget.Button("i3GEOlegendabotao6", {
211 onclick : { 208 onclick : {
212 fn : i3GEOF.legenda.valorU 209 fn : i3GEOF.legenda.valorU
213 } 210 }
214 }); 211 });
215 - $i("i3GEOlegendabotao6-button").style.width = "200px";  
216 - new YAHOO.widget.Button("i3GEOlegendabotao7", { 212 + b.addClass("rodar");
  213 + b = new YAHOO.widget.Button("i3GEOlegendabotao7", {
217 onclick : { 214 onclick : {
218 fn : i3GEOF.legenda.representacao 215 fn : i3GEOF.legenda.representacao
219 } 216 }
220 }); 217 });
221 - $i("i3GEOlegendabotao7-button").style.width = "200px";  
222 -  
223 - new YAHOO.widget.Button("i3GEOlegendabotao8", { 218 + b.addClass("rodar");
  219 + b = new YAHOO.widget.Button("i3GEOlegendabotao8", {
224 onclick : { 220 onclick : {
225 fn : i3GEOF.legenda.valorC 221 fn : i3GEOF.legenda.valorC
226 } 222 }
227 }); 223 });
228 - $i("i3GEOlegendabotao8-button").style.width = "120px";  
229 -  
230 - new YAHOO.widget.Button("i3GEOlegendabotao9", { 224 + b.addClass("rodar");
  225 + b = new YAHOO.widget.Button("i3GEOlegendabotao9", {
231 onclick : { 226 onclick : {
232 fn : i3GEOF.legenda.valorQ 227 fn : i3GEOF.legenda.valorQ
233 } 228 }
234 }); 229 });
235 - $i("i3GEOlegendabotao9-button").style.width = "120px";  
236 -  
237 - new YAHOO.widget.Button("i3GEOlegendabotaoQuantil", { 230 + b.addClass("rodar");
  231 + b = new YAHOO.widget.Button("i3GEOlegendabotaoQuantil", {
238 onclick : { 232 onclick : {
239 fn : i3GEOF.legenda.valorQu 233 fn : i3GEOF.legenda.valorQu
240 } 234 }
241 }); 235 });
242 - $i("i3GEOlegendabotaoQuantil-button").style.width = "120px";  
243 -  
244 - new YAHOO.widget.Button("i3GEOlegendabotaoQN", { 236 + b.addClass("rodar");
  237 + b = new YAHOO.widget.Button("i3GEOlegendabotaoQN", {
245 onclick : { 238 onclick : {
246 fn : i3GEOF.legenda.valorQN 239 fn : i3GEOF.legenda.valorQN
247 } 240 }
248 }); 241 });
249 - $i("i3GEOlegendabotaoQN-button").style.width = "120px";  
250 -  
251 - new YAHOO.widget.Button("i3GEOlegendabotao10", { 242 + b.addClass("rodar");
  243 + b = new YAHOO.widget.Button("i3GEOlegendabotao10", {
252 onclick : { 244 onclick : {
253 fn : i3GEOF.legenda.aplicaEstilo 245 fn : i3GEOF.legenda.aplicaEstilo
254 } 246 }
255 }); 247 });
256 - $i("i3GEOlegendabotao10-button").style.width = "220px";  
257 -  
258 - new YAHOO.widget.Button("i3GEOlegendabotao17", { 248 + b.addClass("rodar");
  249 + b = new YAHOO.widget.Button("i3GEOlegendabotao17", {
259 onclick : { 250 onclick : {
260 fn : i3GEOF.legenda.alteraGeometriaTema 251 fn : i3GEOF.legenda.alteraGeometriaTema
261 } 252 }
262 }); 253 });
263 - $i("i3GEOlegendabotao17-button").style.width = "200px";  
264 - new YAHOO.widget.Button("i3GEOlegendabotaoSLDe", { 254 + b.addClass("rodar");
  255 + b = new YAHOO.widget.Button("i3GEOlegendabotaoSLDe", {
265 onclick : { 256 onclick : {
266 fn : function() { 257 fn : function() {
267 window.open(i3GEO.configura.locaplic + "/ferramentas/legenda/exec.php?funcao=tema2sld&tema=" 258 window.open(i3GEO.configura.locaplic + "/ferramentas/legenda/exec.php?funcao=tema2sld&tema="
@@ -269,16 +260,17 @@ i3GEOF.legenda = @@ -269,16 +260,17 @@ i3GEOF.legenda =
269 } 260 }
270 } 261 }
271 }); 262 });
272 - $i("i3GEOlegendabotaoSLDe-button").style.width = "200px";  
273 - new YAHOO.widget.Button("i3GEOlegendabotaoSLDi", { 263 + b.addClass("rodar");
  264 + b = new YAHOO.widget.Button("i3GEOlegendabotaoSLDi", {
274 onclick : { 265 onclick : {
275 fn : function() { 266 fn : function() {
276 i3GEO.tema.dialogo.aplicarsld(i3GEOF.legenda.tema); 267 i3GEO.tema.dialogo.aplicarsld(i3GEOF.legenda.tema);
277 } 268 }
278 } 269 }
279 }); 270 });
280 - $i("i3GEOlegendabotaoSLDi-button").style.width = "200px";  
281 - new YAHOO.widget.Button("i3GEOlegendabotaoIncluirLabel", { 271 + b.addClass("rodar");
  272 +
  273 + b = new YAHOO.widget.Button("i3GEOlegendabotaoIncluirLabel", {
282 onclick : { 274 onclick : {
283 fn : function() { 275 fn : function() {
284 var par, p, temp, cp; 276 var par, p, temp, cp;
@@ -304,7 +296,8 @@ i3GEOF.legenda = @@ -304,7 +296,8 @@ i3GEOF.legenda =
304 } 296 }
305 } 297 }
306 }); 298 });
307 - new YAHOO.widget.Button("i3GEOlegendabotaoExcluirLabel", { 299 + b.addClass("rodar100");
  300 + b = new YAHOO.widget.Button("i3GEOlegendabotaoExcluirLabel", {
308 onclick : { 301 onclick : {
309 fn : function() { 302 fn : function() {
310 var p, temp, cp; 303 var p, temp, cp;
@@ -323,7 +316,8 @@ i3GEOF.legenda = @@ -323,7 +316,8 @@ i3GEOF.legenda =
323 } 316 }
324 } 317 }
325 }); 318 });
326 - new YAHOO.widget.Button("i3GEOlegendabotaoPropriedadeLabel", { 319 + b.addClass("rodar100");
  320 + b = new YAHOO.widget.Button("i3GEOlegendabotaoPropriedadeLabel", {
327 onclick : { 321 onclick : {
328 fn : function() { 322 fn : function() {
329 i3GEO.util.scriptTag( 323 i3GEO.util.scriptTag(
@@ -334,6 +328,7 @@ i3GEOF.legenda = @@ -334,6 +328,7 @@ i3GEOF.legenda =
334 } 328 }
335 } 329 }
336 }); 330 });
  331 + b.addClass("abrir100");
337 i3GEOF.legenda.ativaFoco(); 332 i3GEOF.legenda.ativaFoco();
338 i3GEOF.legenda.mostralegenda(); 333 i3GEOF.legenda.mostralegenda();
339 i3GEO.util.comboItens("i3GEOlegendaSelItem", i3GEOF.legenda.tema, function(retorno) { 334 i3GEO.util.comboItens("i3GEOlegendaSelItem", i3GEOF.legenda.tema, function(retorno) {
@@ -748,7 +743,7 @@ i3GEOF.legenda = @@ -748,7 +743,7 @@ i3GEOF.legenda =
748 i3GEOF.legenda.aviso = false; 743 i3GEOF.legenda.aviso = false;
749 try { 744 try {
750 if (retorno.data != undefined) { 745 if (retorno.data != undefined) {
751 - var ins, i, ajuda, id, re, exp, n; 746 + var b, ins, i, ajuda, id, re, exp, n;
752 // se nao for do tipo raster 747 // se nao for do tipo raster
753 if (retorno.data[0].proc === "") { 748 if (retorno.data[0].proc === "") {
754 ins = 749 ins =
@@ -869,11 +864,12 @@ i3GEOF.legenda = @@ -869,11 +864,12 @@ i3GEOF.legenda =
869 ins += "</div>"; 864 ins += "</div>";
870 } 865 }
871 $i("i3GEOlegendaresultado").innerHTML = ins + ajuda; 866 $i("i3GEOlegendaresultado").innerHTML = ins + ajuda;
872 - new YAHOO.widget.Button("i3GEOlegendabotao16", { 867 + b = new YAHOO.widget.Button("i3GEOlegendabotao16", {
873 onclick : { 868 onclick : {
874 fn : i3GEOF.legenda.aplicaProcessos 869 fn : i3GEOF.legenda.aplicaProcessos
875 } 870 }
876 }); 871 });
  872 + b.addClass("rodar");
877 } 873 }
878 } else { 874 } else {
879 $i("i3GEOlegendaresultado").innerHTML = "<p style=color:red >Erro<br>"; 875 $i("i3GEOlegendaresultado").innerHTML = "<p style=color:red >Erro<br>";
@@ -1549,7 +1545,7 @@ i3GEOF.legenda = @@ -1549,7 +1545,7 @@ i3GEOF.legenda =
1549 } 1545 }
1550 i3GEOF.legenda.aguarde.visibility = "visible"; 1546 i3GEOF.legenda.aguarde.visibility = "visible";
1551 if (retorno.data != undefined) { 1547 if (retorno.data != undefined) {
1552 - var l, i, sct, combo, n; 1548 + var b, l, i, sct, combo, n;
1553 retorno = retorno.data; 1549 retorno = retorno.data;
1554 i3GEOF.legenda.estilos = retorno.split("|"); 1550 i3GEOF.legenda.estilos = retorno.split("|");
1555 combo = 1551 combo =
@@ -1565,7 +1561,7 @@ i3GEOF.legenda = @@ -1565,7 +1561,7 @@ i3GEOF.legenda =
1565 "<table class='lista5'><tr><td><span class=paragrafo >" + $trad('estiloEdicao', i3GEOF.legenda.dicionario) 1561 "<table class='lista5'><tr><td><span class=paragrafo >" + $trad('estiloEdicao', i3GEOF.legenda.dicionario)
1566 + ":</span></td><td>" + combo 1562 + ":</span></td><td>" + combo
1567 + "</td><td></td></tr></table>&nbsp;(ap&oacute;s adicionar ou excluir, aplique a altera&ccedil;&atilde;o)<br>"; 1563 + "</td><td></td></tr></table>&nbsp;(ap&oacute;s adicionar ou excluir, aplique a altera&ccedil;&atilde;o)<br>";
1568 - new YAHOO.widget.Button("i3GEOlegendabotao11", { 1564 + b = new YAHOO.widget.Button("i3GEOlegendabotao11", {
1569 onclick : { 1565 onclick : {
1570 fn : function() { 1566 fn : function() {
1571 try { 1567 try {
@@ -1586,7 +1582,8 @@ i3GEOF.legenda = @@ -1586,7 +1582,8 @@ i3GEOF.legenda =
1586 } 1582 }
1587 } 1583 }
1588 }); 1584 });
1589 - new YAHOO.widget.Button("i3GEOlegendabotao12", { 1585 + b.addClass("rodar100");
  1586 + b = new YAHOO.widget.Button("i3GEOlegendabotao12", {
1590 onclick : { 1587 onclick : {
1591 fn : function() { 1588 fn : function() {
1592 try { 1589 try {
@@ -1607,7 +1604,8 @@ i3GEOF.legenda = @@ -1607,7 +1604,8 @@ i3GEOF.legenda =
1607 } 1604 }
1608 } 1605 }
1609 }); 1606 });
1610 - new YAHOO.widget.Button("i3GEOlegendabotao13", { 1607 + b.addClass("rodar100");
  1608 + b = new YAHOO.widget.Button("i3GEOlegendabotao13", {
1611 onclick : { 1609 onclick : {
1612 fn : function() { 1610 fn : function() {
1613 try { 1611 try {
@@ -1628,7 +1626,8 @@ i3GEOF.legenda = @@ -1628,7 +1626,8 @@ i3GEOF.legenda =
1628 } 1626 }
1629 } 1627 }
1630 }); 1628 });
1631 - new YAHOO.widget.Button("i3GEOlegendabotao14", { 1629 + b.addClass("rodar100");
  1630 + b = new YAHOO.widget.Button("i3GEOlegendabotao14", {
1632 onclick : { 1631 onclick : {
1633 fn : function() { 1632 fn : function() {
1634 try { 1633 try {
@@ -1649,6 +1648,7 @@ i3GEOF.legenda = @@ -1649,6 +1648,7 @@ i3GEOF.legenda =
1649 } 1648 }
1650 } 1649 }
1651 }); 1650 });
  1651 + b.addClass("rodar100");
1652 i3GEOF.legenda.aguarde.visibility = "hidden"; 1652 i3GEOF.legenda.aguarde.visibility = "hidden";
1653 i3GEOF.legenda.mostraEstilo(0); 1653 i3GEOF.legenda.mostraEstilo(0);
1654 } else { 1654 } else {
@@ -1876,7 +1876,7 @@ i3GEOF.legenda = @@ -1876,7 +1876,7 @@ i3GEOF.legenda =
1876 var monta = 1876 var monta =
1877 function(retorno) { 1877 function(retorno) {
1878 if (retorno.data && retorno.data[0].proc == "") { 1878 if (retorno.data && retorno.data[0].proc == "") {
1879 - var ins = [], i, re, t; 1879 + var b, ins = [], i, re, t;
1880 ins.push("<p class='paragrafo' ><input type=button value='" + $trad('graficoPizza', i3GEOF.legenda.dicionario) 1880 ins.push("<p class='paragrafo' ><input type=button value='" + $trad('graficoPizza', i3GEOF.legenda.dicionario)
1881 + "' id=i3GEOlegendaGraficoPizza /></p>"); 1881 + "' id=i3GEOlegendaGraficoPizza /></p>");
1882 ins.push("<p class='paragrafo' >" + $trad('numeroOcorrenciasClasses', i3GEOF.legenda.dicionario) + "</p>"); 1882 ins.push("<p class='paragrafo' >" + $trad('numeroOcorrenciasClasses', i3GEOF.legenda.dicionario) + "</p>");
@@ -1910,7 +1910,7 @@ i3GEOF.legenda = @@ -1910,7 +1910,7 @@ i3GEOF.legenda =
1910 } 1910 }
1911 i3GEOF.legenda.aguarde.visibility = "hidden"; 1911 i3GEOF.legenda.aguarde.visibility = "hidden";
1912 1912
1913 - new YAHOO.widget.Button("i3GEOlegendaGraficoPizza", { 1913 + b = new YAHOO.widget.Button("i3GEOlegendaGraficoPizza", {
1914 onclick : { 1914 onclick : {
1915 fn : function() { 1915 fn : function() {
1916 var js = i3GEO.configura.locaplic + "/ferramentas/graficointerativo1/dependencias.php"; 1916 var js = i3GEO.configura.locaplic + "/ferramentas/graficointerativo1/dependencias.php";
@@ -1918,7 +1918,7 @@ i3GEOF.legenda = @@ -1918,7 +1918,7 @@ i3GEOF.legenda =
1918 } 1918 }
1919 } 1919 }
1920 }); 1920 });
1921 - $i("i3GEOlegendaGraficoPizza-button").style.width = "200px"; 1921 + b.addClass("abrir");
1922 }, p = 1922 }, p =
1923 i3GEO.configura.locaplic + "/ferramentas/legenda/exec.php?g_sid=" + i3GEO.configura.sid 1923 i3GEO.configura.locaplic + "/ferramentas/legenda/exec.php?g_sid=" + i3GEO.configura.sid
1924 + "&funcao=contagemclasse&tema=" + i3GEOF.legenda.tema, cp = new cpaint(); 1924 + "&funcao=contagemclasse&tema=" + i3GEOF.legenda.tema, cp = new cpaint();
ferramentas/legenda/template_mst.html
1 <div id='guiasYUI' class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'> 1 <div id='guiasYUI' class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'>
2 <ul class='yui-nav' style='border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;'> 2 <ul class='yui-nav' style='border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;'>
3 - <li><a>  
4 - <em><div id='i3GEOlegendaguia6' style='text-align: center; left: 0px;'>  
5 - <img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'>  
6 - </div></em>  
7 - </a></li>  
8 - <li><a>  
9 - <em><div id='i3GEOlegendaguia1' style='text-align: center; left: 0px;'>{{{legenda}}}</div></em>  
10 - </a></li>  
11 - <li><a>  
12 - <em><div id='i3GEOlegendaguia2' style='text-align: center; left: 0px;'>{{{classes}}}</div></em>  
13 - </a></li>  
14 - <li><a>  
15 - <em><div id='i3GEOlegendaguia3' style='text-align: center; left: 0px;'>{{{editor}}}</div></em>  
16 - </a></li>  
17 - <li><a>  
18 - <em><div id='i3GEOlegendaguia4' style='text-align: center; left: 0px;'>{{{graficos}}}</div></em>  
19 - </a></li>  
20 - <li><a>  
21 - <em><div id='i3GEOlegendaguia5' style='text-align: center; left: 0px;'>{{{importaExportaSLD}}}</div></em>  
22 - </a></li> 3 + <li>
  4 +
  5 + <div id='i3GEOlegendaguia6' style='text-align: center; left: 0px;'>
  6 + <a>
  7 + <em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'> </em>
  8 + </a>
  9 + </div>
  10 +
  11 + </li>
  12 + <li>
  13 +
  14 + <div id='i3GEOlegendaguia1' style='text-align: center; left: 0px;'>
  15 + <a>
  16 + <em>{{{legenda}}}</em>
  17 + </a>
  18 + </div>
  19 +
  20 + </li>
  21 + <li>
  22 +
  23 + <div id='i3GEOlegendaguia2' style='text-align: center; left: 0px;'>
  24 + <a>
  25 + <em>{{{classes}}}</em>
  26 + </a>
  27 + </div>
  28 +
  29 + </li>
  30 + <li>
  31 + <div id='i3GEOlegendaguia3' style='text-align: center; left: 0px;'>
  32 + <a>
  33 + <em>{{{editor}}}</em>
  34 + </a>
  35 + </div>
  36 + </li>
  37 + <li>
  38 + <div id='i3GEOlegendaguia4' style='text-align: center; left: 0px;'>
  39 + <a>
  40 + <em>{{{graficos}}}</em>
  41 + </a>
  42 + </div>
  43 + </li>
  44 + <li>
  45 + <div id='i3GEOlegendaguia5' style='text-align: center; left: 0px;'>
  46 + <a>
  47 + <em>{{{importaExportaSLD}}}</em>
  48 + </a>
  49 + </div>
  50 + </li>
23 </ul> 51 </ul>
24 </div> 52 </div>
25 <br> 53 <br>
@@ -30,19 +58,19 @@ @@ -30,19 +58,19 @@
30 <span style='cursor: pointer; position: relative; top: -2px;'>{{{mostraClassesLegenda}}}</span> 58 <span style='cursor: pointer; position: relative; top: -2px;'>{{{mostraClassesLegenda}}}</span>
31 </p> 59 </p>
32 <p class='paragrafo'> 60 <p class='paragrafo'>
33 - <input id='i3GEOlegendabotao3' type='button' value='{{{incluiNumeroOcorrencia}}}' title='{{{incluiNumeroOcorrencia2}}}'> 61 + <input id='i3GEOlegendabotao3' type='button' value='{{{incluiNumeroOcorrencia}}}' title='{{{incluiNumeroOcorrencia2}}}' />
34 </p> 62 </p>
35 <p class='paragrafo'> 63 <p class='paragrafo'>
36 - <input id='i3GEOlegendabotao15' type='button' value='{{{aplicaOpacidadeVariavel}}}' title='{{{aplicaOpacidade}}}'> 64 + <input id='i3GEOlegendabotao15' type='button' value='{{{aplicaOpacidadeVariavel}}}' title='{{{aplicaOpacidade}}}' />
37 </p> 65 </p>
38 <p class='paragrafo'> 66 <p class='paragrafo'>
39 - <input id='i3GEOlegendabotaoRamp' type='button' size='15' value='{{{escolhePaletaCores}}}' title='{{{variaCoresExtremos}}}'> 67 + <input id='i3GEOlegendabotaoRamp' type='button' size='15' value='{{{escolhePaletaCores}}}' title='{{{variaCoresExtremos}}}' />
40 </p> 68 </p>
41 <div style='margin-left: 5px;'> 69 <div style='margin-left: 5px;'>
42 <p class='paragrafo'>{{{geraCores}}}</p> 70 <p class='paragrafo'>{{{geraCores}}}</p>
43 <table summary='' class='lista6'> 71 <table summary='' class='lista6'>
44 <tr> 72 <tr>
45 - <td>{{{ate}}}:</td> 73 + <td>{{{de}}}:</td>
46 <td> 74 <td>
47 <div class='styled-select' style='width: 120px'> 75 <div class='styled-select' style='width: 120px'>
48 <input type='text' id='i3GEOlegendaacori' value='0,0,0' /> 76 <input type='text' id='i3GEOlegendaacori' value='0,0,0' />
@@ -51,7 +79,7 @@ @@ -51,7 +79,7 @@
51 <td> 79 <td>
52 <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}' onclick='i3GEOF.legenda.corj(\' i3GEOlegendaacori\')' /> 80 <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}' onclick='i3GEOF.legenda.corj(\' i3GEOlegendaacori\')' />
53 </td> 81 </td>
54 - <td>{{{de}}}:</td> 82 + <td>{{{ate}}}:</td>
55 <td> 83 <td>
56 <div class='styled-select' style='width: 120px'> 84 <div class='styled-select' style='width: 120px'>
57 <input type='text' id='i3GEOlegendaacorf' value='255,255,255' /> 85 <input type='text' id='i3GEOlegendaacorf' value='255,255,255' />
@@ -61,7 +89,7 @@ @@ -61,7 +89,7 @@
61 <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}' onclick='i3GEOF.legenda.corj(\' i3GEOlegendaacorf\')' /> 89 <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}' onclick='i3GEOF.legenda.corj(\' i3GEOlegendaacorf\')' />
62 </td> 90 </td>
63 <td> 91 <td>
64 - <input id='i3GEOlegendabotao4' type='button' size='15' value='{{{aplica}}}' title='{{{aplicaVariaCores}}}'> 92 + <input id='i3GEOlegendabotao4' type='button' size='15' value='{{{aplica}}}' title='{{{aplicaVariaCores}}}' />
65 </td> 93 </td>
66 </tr> 94 </tr>
67 </table> 95 </table>
@@ -72,10 +100,10 @@ @@ -72,10 +100,10 @@
72 <table summary='' class='lista5'> 100 <table summary='' class='lista5'>
73 <tr> 101 <tr>
74 <td> 102 <td>
75 - <input id='i3GEOlegendabotao1' size='22' type='button' value='{{{aplicaAlteracao}}}'> 103 + <input id='i3GEOlegendabotao1' size='22' type='button' value='{{{aplicaAlteracao}}}' />
76 </td> 104 </td>
77 <td> 105 <td>
78 - <input id='i3GEOlegendabotao2' size='22' type='button' value='{{{adicionaClasse}}}' title='{{{adicionaNovaClasse}}}'> 106 + <input id='i3GEOlegendabotao2' size='22' type='button' value='{{{adicionaClasse}}}' title='{{{adicionaNovaClasse}}}' />
79 </td> 107 </td>
80 </tr> 108 </tr>
81 </table> 109 </table>
@@ -92,7 +120,7 @@ @@ -92,7 +120,7 @@
92 <input type='checkbox' onclick='' checked id='i3GEOFlegendaaplicaextent' style='cursor: pointer; border: 0px solid white;' /> 120 <input type='checkbox' onclick='' checked id='i3GEOFlegendaaplicaextent' style='cursor: pointer; border: 0px solid white;' />
93 <span style='cursor: pointer; position: relative; top: -2px;'>{{{consideraElementosVisisveis}}}</span> 121 <span style='cursor: pointer; position: relative; top: -2px;'>{{{consideraElementosVisisveis}}}</span>
94 </p> 122 </p>
95 - <p class='paragrafo'>{{{ignoraValores}}}: 123 + <p class='paragrafo'>{{{ignoraValores}}}:</p>
96 <div class='styled-select'> 124 <div class='styled-select'>
97 <input type='text' id='i3GEOlegendaignorar' value='' /> 125 <input type='text' id='i3GEOlegendaignorar' value='' />
98 </div> 126 </div>
@@ -115,44 +143,48 @@ @@ -115,44 +143,48 @@
115 <hr> 143 <hr>
116 <p class='paragrafo'>{{{alteraTipoGeom}}}</p> 144 <p class='paragrafo'>{{{alteraTipoGeom}}}</p>
117 <p class='paragrafo'> 145 <p class='paragrafo'>
118 - <input id='i3GEOlegendabotao7' size='25' type='button' value='{{{alteraTipo}}}'> 146 + <input id='i3GEOlegendabotao7' size='25' type='button' value='{{{alteraTipo}}}' />
119 </p> 147 </p>
120 </div> 148 </div>
121 <hr> 149 <hr>
122 <p class='paragrafo'>{{{todosElementosUnicoSimbolo}}}</p> 150 <p class='paragrafo'>{{{todosElementosUnicoSimbolo}}}</p>
123 <p class='paragrafo'> 151 <p class='paragrafo'>
124 - <input id='i3GEOlegendabotao5' size='25' type='button' value='{{{simboloUnico}}}'> 152 + <input id='i3GEOlegendabotao5' size='25' type='button' value='{{{simboloUnico}}}' />
125 </p> 153 </p>
126 <hr> 154 <hr>
127 <p class='paragrafo'>{{{cadaOcorrenciaUnicoSimbolo}}}</p> 155 <p class='paragrafo'>{{{cadaOcorrenciaUnicoSimbolo}}}</p>
128 <div id='i3GEOlegendaitens' class='styled-select'></div> 156 <div id='i3GEOlegendaitens' class='styled-select'></div>
129 <br> 157 <br>
130 <p class='paragrafo'> 158 <p class='paragrafo'>
131 - <input id='i3GEOlegendabotao6' size='25' type='button' value='{{{valorUnico}}}'> 159 + <input id='i3GEOlegendabotao6' size='25' type='button' value='{{{valorUnico}}}' />
132 </p> 160 </p>
133 <hr> 161 <hr>
134 <p class='paragrafo'>{{{criaClassesItemNumerico}}}</p> 162 <p class='paragrafo'>{{{criaClassesItemNumerico}}}</p>
135 - <p class='paragrafo'>{{{numeroClasses}}}: 163 + <p class='paragrafo'>{{{numeroClasses}}}:</p>
136 <div class='styled-select'> 164 <div class='styled-select'>
137 <input type='text' id='i3GEOlegendanclasses' value='5' /> 165 <input type='text' id='i3GEOlegendanclasses' value='5' />
138 </div> 166 </div>
139 <br> 167 <br>
140 <p class='paragrafo'> 168 <p class='paragrafo'>
141 - <input id='i3GEOlegendabotao8' size='25' type='button' value='{{{intervalosIguais}}}'>  
142 - &nbsp;  
143 - <input id='i3GEOlegendabotaoQN' size='25' type='button' value='{{{quebrasNaturais}}}'>  
144 - &nbsp;  
145 - <input id='i3GEOlegendabotaoQuantil' size='25' type='button' value='Quantil'> 169 + <input id='i3GEOlegendabotao8' type='button' value='{{{intervalosIguais}}}' />
  170 + </p>
  171 + <p class='paragrafo'>
  172 + <input id='i3GEOlegendabotaoQN' type='button' value='{{{quebrasNaturais}}}' />
  173 + </p>
  174 + <p class='paragrafo'>
  175 + <input id='i3GEOlegendabotaoQuantil' type='button' value='Quantil' />
  176 + </p>
146 <hr> 177 <hr>
147 <p class='paragrafo'>{{{criaQuartis}}}</p> 178 <p class='paragrafo'>{{{criaQuartis}}}</p>
148 <p class='paragrafo'> 179 <p class='paragrafo'>
149 - <input id='i3GEOlegendabotao9' size='25' type='button' value='Quartis'> 180 + <input id='i3GEOlegendabotao9' size='25' type='button' value='Quartis' />
  181 + </p>
150 <p class='paragrafo'>{{{estiloNomeClasses}}}: 182 <p class='paragrafo'>{{{estiloNomeClasses}}}:
151 <div class='styled-select'> 183 <div class='styled-select'>
152 <select id='estiloClassesQuartis'> 184 <select id='estiloClassesQuartis'>
153 - <option value='minimo' select>{{{soValores}}}</option>  
154 - <option value='simples' select>{{{quartilValores}}}</option>  
155 - <option value='completo' select>{{{expressaoCompleta}}}</option> 185 + <option value='minimo'>{{{soValores}}}</option>
  186 + <option value='simples'>{{{quartilValores}}}</option>
  187 + <option value='completo'>{{{expressaoCompleta}}}</option>
156 </select> 188 </select>
157 </div> 189 </div>
158 <br> 190 <br>
@@ -161,14 +193,13 @@ @@ -161,14 +193,13 @@
161 <div id='i3GEOlegendaguia3obj' style='width: 99%; text-align: left;'> 193 <div id='i3GEOlegendaguia3obj' style='width: 99%; text-align: left;'>
162 <fieldset style='padding: 5px; margin: 2px;'> 194 <fieldset style='padding: 5px; margin: 2px;'>
163 <legend>{{{etiquetasClasse}}}</legend> 195 <legend>{{{etiquetasClasse}}}</legend>
164 - <p class='paragrafo'>{{{itemComTexto}}}: 196 + <p class='paragrafo'>{{{itemComTexto}}}:</p>
165 <div class='styled-select' id='i3GEOlegendaitensLabel'></div> 197 <div class='styled-select' id='i3GEOlegendaitensLabel'></div>
166 - </p>  
167 <br> 198 <br>
168 <p class='paragrafo' style='font-size: 10px;'> 199 <p class='paragrafo' style='font-size: 10px;'>
169 - <input id='i3GEOlegendabotaoExcluirLabel' size='10' type='buttom' value='{{{exclui}}}' />  
170 - <input id='i3GEOlegendabotaoIncluirLabel' size='10' type='buttom' value='{{{adiciona}}}' />  
171 - <input id='i3GEOlegendabotaoPropriedadeLabel' size='10' type='buttom' value='{{{propriedades2}}}' /> 200 + <input id='i3GEOlegendabotaoExcluirLabel' size='10' type='button' value='{{{exclui}}}' />
  201 + <input id='i3GEOlegendabotaoIncluirLabel' size='10' type='button' value='{{{adiciona}}}' />
  202 + <input id='i3GEOlegendabotaoPropriedadeLabel' size='10' type='button' value='{{{propriedades2}}}' />
172 </p> 203 </p>
173 </fieldset> 204 </fieldset>
174 <br> 205 <br>
@@ -185,10 +216,9 @@ @@ -185,10 +216,9 @@
185 &nbsp; 216 &nbsp;
186 <input id='i3GEOlegendabotao14' class='executar' size='8' type='button' value='{{{desce}}}' /> 217 <input id='i3GEOlegendabotao14' class='executar' size='8' type='button' value='{{{desce}}}' />
187 <div id='i3GEOlegendaParametrosEstilos' style='position: relative; top: 10px; left: 0px; text-align: left'></div> 218 <div id='i3GEOlegendaParametrosEstilos' style='position: relative; top: 10px; left: 0px; text-align: left'></div>
188 - <br>  
189 - <br> 219 + <br> <br>
190 <p class='paragrafo' style='font-size: 10px'> 220 <p class='paragrafo' style='font-size: 10px'>
191 - <input id='i3GEOlegendabotao10' size='35' type='button' value='{{{aplicaAlteracoes}}}'> 221 + <input id='i3GEOlegendabotao10' size='35' type='button' value='{{{aplicaAlteracoes}}}' />
192 </p> 222 </p>
193 <div style='position: relative; top: 0px; left: 0px; text-align: left;' id='i3GEOlegendamostraEstilo'></div> 223 <div style='position: relative; top: 0px; left: 0px; text-align: left;' id='i3GEOlegendamostraEstilo'></div>
194 <div style='position: relative; top: 0px; left: 0px; text-align: left;' id='i3GEOlegendasimbolos'></div> 224 <div style='position: relative; top: 0px; left: 0px; text-align: left;' id='i3GEOlegendasimbolos'></div>
@@ -201,11 +231,11 @@ @@ -201,11 +231,11 @@
201 <a href='http://mapserver.org/ogc/sld.html#sld' target='_blank'>Mapserver SLD</a> 231 <a href='http://mapserver.org/ogc/sld.html#sld' target='_blank'>Mapserver SLD</a>
202 {{{ajudaSLD}}} 232 {{{ajudaSLD}}}
203 <p class='paragrafo'> 233 <p class='paragrafo'>
204 - <input id='i3GEOlegendabotaoSLDe' size='25' type='button' value='{{{exportaSLD}}}'> 234 + <input id='i3GEOlegendabotaoSLDe' size='25' type='button' value='{{{exportaSLD}}}' />
205 </p> 235 </p>
206 <p class='paragrafo'>{{{msgAplicaSLD',i3GEOF.legenda.dicionario) 236 <p class='paragrafo'>{{{msgAplicaSLD',i3GEOF.legenda.dicionario)
207 <p class='paragrafo'> 237 <p class='paragrafo'>
208 - <input id='i3GEOlegendabotaoSLDi' size='25' type='button' value='{{{aplicaSLD}}}'> 238 + <input id='i3GEOlegendabotaoSLDi' size='25' type='button' value='{{{aplicaSLD}}}' />
209 </p> 239 </p>
210 </div> 240 </div>
211 <input type='hidden' value='' id='listaColourRamp' onchange='javascript:i3GEOF.legenda.aplicaColourRamp()' /> 241 <input type='hidden' value='' id='listaColourRamp' onchange='javascript:i3GEOF.legenda.aplicaColourRamp()' />
212 \ No newline at end of file 242 \ No newline at end of file
ferramentas/toponimia/index.js
@@ -111,10 +111,11 @@ i3GEOF.toponimia = { @@ -111,10 +111,11 @@ i3GEOF.toponimia = {
111 i3GEO.guias.mostraGuiaFerramenta("i3GEOtoponimiaguia3","i3GEOtoponimiaguia"); 111 i3GEO.guias.mostraGuiaFerramenta("i3GEOtoponimiaguia3","i3GEOtoponimiaguia");
112 i3GEOF.toponimia.testa(); 112 i3GEOF.toponimia.testa();
113 }; 113 };
114 - new YAHOO.widget.Button( 114 + var b = new YAHOO.widget.Button(
115 "i3GEOtoponimiabotao1", 115 "i3GEOtoponimiabotao1",
116 {onclick:{fn: i3GEOF.toponimia.cria}} 116 {onclick:{fn: i3GEOF.toponimia.cria}}
117 ); 117 );
  118 + b.addClass("rodar");
118 // 119 //
119 //pega a lista de itens e chama a fun&ccedil;&atilde;o de montagem das op&ccedil;&otilde;es de escolha 120 //pega a lista de itens e chama a fun&ccedil;&atilde;o de montagem das op&ccedil;&otilde;es de escolha
120 // 121 //