Commit f3fae017ed3045e1ba301daf533468495cd77d87
1 parent
ade338a4
Exists in
master
and in
7 other branches
Ajustes nos estilos dos botões
Showing
6 changed files
with
152 additions
and
116 deletions
Show diff stats
ferramentas/etiqueta/dicionario.js
ferramentas/etiqueta/index.js
... | ... | @@ -90,14 +90,16 @@ i3GEOF.etiqueta = { |
90 | 90 | } |
91 | 91 | try{ |
92 | 92 | $i(iddiv).innerHTML += i3GEOF.etiqueta.html(); |
93 | - new YAHOO.widget.Button( | |
93 | + var b = new YAHOO.widget.Button( | |
94 | 94 | "i3GEOetiquetabotao1", |
95 | 95 | {onclick:{fn: i3GEOF.etiqueta.ativa}} |
96 | 96 | ); |
97 | - new YAHOO.widget.Button( | |
97 | + b.addClass("rodar150"); | |
98 | + b = new YAHOO.widget.Button( | |
98 | 99 | "i3GEOetiquetabotao2", |
99 | 100 | {onclick:{fn: i3GEOF.etiqueta.desativa}} |
100 | 101 | ); |
102 | + b.addClass("rodar150"); | |
101 | 103 | i3GEOF.etiqueta.ativaFoco(); |
102 | 104 | } |
103 | 105 | catch(erro){i3GEO.janela.tempoMsg(erro);} | ... | ... |
ferramentas/filtro/index.js
... | ... | @@ -113,14 +113,17 @@ i3GEOF.filtro = { |
113 | 113 | i3GEO.guias.mostraGuiaFerramenta("i3GEOfiltroguia3","i3GEOfiltroguia"); |
114 | 114 | i3GEOF.filtro.aplicaFiltro("sim"); |
115 | 115 | }; |
116 | - new YAHOO.widget.Button( | |
116 | + var b = new YAHOO.widget.Button( | |
117 | 117 | "i3GEOfiltrobotao1", |
118 | 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 | 122 | "i3GEOfiltrobotao2", |
122 | 123 | {onclick:{fn: i3GEOF.filtro.limpaFiltro}} |
123 | 124 | ); |
125 | + b.addClass("rodar150"); | |
126 | + | |
124 | 127 | i3GEO.util.mensagemAjuda("i3GEOfiltromen1",$i("i3GEOfiltromen1").innerHTML); |
125 | 128 | // |
126 | 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 | 156 | $i("i3GEOlegendaguia5").onclick = function() { |
157 | 157 | i3GEO.guias.mostraGuiaFerramenta("i3GEOlegendaguia5", "i3GEOlegendaguia"); |
158 | 158 | }; |
159 | - new YAHOO.widget.Button("i3GEOlegendabotao1", { | |
159 | + var b = new YAHOO.widget.Button("i3GEOlegendabotao1", { | |
160 | 160 | onclick : { |
161 | 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 | 166 | onclick : { |
169 | 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 | 172 | onclick : { |
177 | 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 | 178 | onclick : { |
184 | 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 | 185 | onclick : { |
190 | 186 | fn : function() { |
191 | 187 | var tabela = $i("i3GEOlegendalegenda"); |
... | ... | @@ -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 | 196 | onclick : { |
201 | 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 | 202 | onclick : { |
206 | 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 | 208 | onclick : { |
212 | 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 | 214 | onclick : { |
218 | 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 | 220 | onclick : { |
225 | 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 | 226 | onclick : { |
232 | 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 | 232 | onclick : { |
239 | 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 | 238 | onclick : { |
246 | 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 | 244 | onclick : { |
253 | 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 | 250 | onclick : { |
260 | 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 | 256 | onclick : { |
266 | 257 | fn : function() { |
267 | 258 | window.open(i3GEO.configura.locaplic + "/ferramentas/legenda/exec.php?funcao=tema2sld&tema=" |
... | ... | @@ -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 | 265 | onclick : { |
275 | 266 | fn : function() { |
276 | 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 | 274 | onclick : { |
283 | 275 | fn : function() { |
284 | 276 | var par, p, temp, cp; |
... | ... | @@ -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 | 301 | onclick : { |
309 | 302 | fn : function() { |
310 | 303 | var p, temp, cp; |
... | ... | @@ -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 | 321 | onclick : { |
328 | 322 | fn : function() { |
329 | 323 | i3GEO.util.scriptTag( |
... | ... | @@ -334,6 +328,7 @@ i3GEOF.legenda = |
334 | 328 | } |
335 | 329 | } |
336 | 330 | }); |
331 | + b.addClass("abrir100"); | |
337 | 332 | i3GEOF.legenda.ativaFoco(); |
338 | 333 | i3GEOF.legenda.mostralegenda(); |
339 | 334 | i3GEO.util.comboItens("i3GEOlegendaSelItem", i3GEOF.legenda.tema, function(retorno) { |
... | ... | @@ -748,7 +743,7 @@ i3GEOF.legenda = |
748 | 743 | i3GEOF.legenda.aviso = false; |
749 | 744 | try { |
750 | 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 | 747 | // se nao for do tipo raster |
753 | 748 | if (retorno.data[0].proc === "") { |
754 | 749 | ins = |
... | ... | @@ -869,11 +864,12 @@ i3GEOF.legenda = |
869 | 864 | ins += "</div>"; |
870 | 865 | } |
871 | 866 | $i("i3GEOlegendaresultado").innerHTML = ins + ajuda; |
872 | - new YAHOO.widget.Button("i3GEOlegendabotao16", { | |
867 | + b = new YAHOO.widget.Button("i3GEOlegendabotao16", { | |
873 | 868 | onclick : { |
874 | 869 | fn : i3GEOF.legenda.aplicaProcessos |
875 | 870 | } |
876 | 871 | }); |
872 | + b.addClass("rodar"); | |
877 | 873 | } |
878 | 874 | } else { |
879 | 875 | $i("i3GEOlegendaresultado").innerHTML = "<p style=color:red >Erro<br>"; |
... | ... | @@ -1549,7 +1545,7 @@ i3GEOF.legenda = |
1549 | 1545 | } |
1550 | 1546 | i3GEOF.legenda.aguarde.visibility = "visible"; |
1551 | 1547 | if (retorno.data != undefined) { |
1552 | - var l, i, sct, combo, n; | |
1548 | + var b, l, i, sct, combo, n; | |
1553 | 1549 | retorno = retorno.data; |
1554 | 1550 | i3GEOF.legenda.estilos = retorno.split("|"); |
1555 | 1551 | combo = |
... | ... | @@ -1565,7 +1561,7 @@ i3GEOF.legenda = |
1565 | 1561 | "<table class='lista5'><tr><td><span class=paragrafo >" + $trad('estiloEdicao', i3GEOF.legenda.dicionario) |
1566 | 1562 | + ":</span></td><td>" + combo |
1567 | 1563 | + "</td><td></td></tr></table> (após adicionar ou excluir, aplique a alteração)<br>"; |
1568 | - new YAHOO.widget.Button("i3GEOlegendabotao11", { | |
1564 | + b = new YAHOO.widget.Button("i3GEOlegendabotao11", { | |
1569 | 1565 | onclick : { |
1570 | 1566 | fn : function() { |
1571 | 1567 | try { |
... | ... | @@ -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 | 1587 | onclick : { |
1591 | 1588 | fn : function() { |
1592 | 1589 | try { |
... | ... | @@ -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 | 1609 | onclick : { |
1612 | 1610 | fn : function() { |
1613 | 1611 | try { |
... | ... | @@ -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 | 1631 | onclick : { |
1633 | 1632 | fn : function() { |
1634 | 1633 | try { |
... | ... | @@ -1649,6 +1648,7 @@ i3GEOF.legenda = |
1649 | 1648 | } |
1650 | 1649 | } |
1651 | 1650 | }); |
1651 | + b.addClass("rodar100"); | |
1652 | 1652 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1653 | 1653 | i3GEOF.legenda.mostraEstilo(0); |
1654 | 1654 | } else { |
... | ... | @@ -1876,7 +1876,7 @@ i3GEOF.legenda = |
1876 | 1876 | var monta = |
1877 | 1877 | function(retorno) { |
1878 | 1878 | if (retorno.data && retorno.data[0].proc == "") { |
1879 | - var ins = [], i, re, t; | |
1879 | + var b, ins = [], i, re, t; | |
1880 | 1880 | ins.push("<p class='paragrafo' ><input type=button value='" + $trad('graficoPizza', i3GEOF.legenda.dicionario) |
1881 | 1881 | + "' id=i3GEOlegendaGraficoPizza /></p>"); |
1882 | 1882 | ins.push("<p class='paragrafo' >" + $trad('numeroOcorrenciasClasses', i3GEOF.legenda.dicionario) + "</p>"); |
... | ... | @@ -1910,7 +1910,7 @@ i3GEOF.legenda = |
1910 | 1910 | } |
1911 | 1911 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
1912 | 1912 | |
1913 | - new YAHOO.widget.Button("i3GEOlegendaGraficoPizza", { | |
1913 | + b = new YAHOO.widget.Button("i3GEOlegendaGraficoPizza", { | |
1914 | 1914 | onclick : { |
1915 | 1915 | fn : function() { |
1916 | 1916 | var js = i3GEO.configura.locaplic + "/ferramentas/graficointerativo1/dependencias.php"; |
... | ... | @@ -1918,7 +1918,7 @@ i3GEOF.legenda = |
1918 | 1918 | } |
1919 | 1919 | } |
1920 | 1920 | }); |
1921 | - $i("i3GEOlegendaGraficoPizza-button").style.width = "200px"; | |
1921 | + b.addClass("abrir"); | |
1922 | 1922 | }, p = |
1923 | 1923 | i3GEO.configura.locaplic + "/ferramentas/legenda/exec.php?g_sid=" + i3GEO.configura.sid |
1924 | 1924 | + "&funcao=contagemclasse&tema=" + i3GEOF.legenda.tema, cp = new cpaint(); | ... | ... |
ferramentas/legenda/template_mst.html
1 | 1 | <div id='guiasYUI' class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'> |
2 | 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 | 51 | </ul> |
24 | 52 | </div> |
25 | 53 | <br> |
... | ... | @@ -30,19 +58,19 @@ |
30 | 58 | <span style='cursor: pointer; position: relative; top: -2px;'>{{{mostraClassesLegenda}}}</span> |
31 | 59 | </p> |
32 | 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 | 62 | </p> |
35 | 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 | 65 | </p> |
38 | 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 | 68 | </p> |
41 | 69 | <div style='margin-left: 5px;'> |
42 | 70 | <p class='paragrafo'>{{{geraCores}}}</p> |
43 | 71 | <table summary='' class='lista6'> |
44 | 72 | <tr> |
45 | - <td>{{{ate}}}:</td> | |
73 | + <td>{{{de}}}:</td> | |
46 | 74 | <td> |
47 | 75 | <div class='styled-select' style='width: 120px'> |
48 | 76 | <input type='text' id='i3GEOlegendaacori' value='0,0,0' /> |
... | ... | @@ -51,7 +79,7 @@ |
51 | 79 | <td> |
52 | 80 | <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}' onclick='i3GEOF.legenda.corj(\' i3GEOlegendaacori\')' /> |
53 | 81 | </td> |
54 | - <td>{{{de}}}:</td> | |
82 | + <td>{{{ate}}}:</td> | |
55 | 83 | <td> |
56 | 84 | <div class='styled-select' style='width: 120px'> |
57 | 85 | <input type='text' id='i3GEOlegendaacorf' value='255,255,255' /> |
... | ... | @@ -61,7 +89,7 @@ |
61 | 89 | <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}' onclick='i3GEOF.legenda.corj(\' i3GEOlegendaacorf\')' /> |
62 | 90 | </td> |
63 | 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 | 93 | </td> |
66 | 94 | </tr> |
67 | 95 | </table> |
... | ... | @@ -72,10 +100,10 @@ |
72 | 100 | <table summary='' class='lista5'> |
73 | 101 | <tr> |
74 | 102 | <td> |
75 | - <input id='i3GEOlegendabotao1' size='22' type='button' value='{{{aplicaAlteracao}}}'> | |
103 | + <input id='i3GEOlegendabotao1' size='22' type='button' value='{{{aplicaAlteracao}}}' /> | |
76 | 104 | </td> |
77 | 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 | 107 | </td> |
80 | 108 | </tr> |
81 | 109 | </table> |
... | ... | @@ -92,7 +120,7 @@ |
92 | 120 | <input type='checkbox' onclick='' checked id='i3GEOFlegendaaplicaextent' style='cursor: pointer; border: 0px solid white;' /> |
93 | 121 | <span style='cursor: pointer; position: relative; top: -2px;'>{{{consideraElementosVisisveis}}}</span> |
94 | 122 | </p> |
95 | - <p class='paragrafo'>{{{ignoraValores}}}: | |
123 | + <p class='paragrafo'>{{{ignoraValores}}}:</p> | |
96 | 124 | <div class='styled-select'> |
97 | 125 | <input type='text' id='i3GEOlegendaignorar' value='' /> |
98 | 126 | </div> |
... | ... | @@ -115,44 +143,48 @@ |
115 | 143 | <hr> |
116 | 144 | <p class='paragrafo'>{{{alteraTipoGeom}}}</p> |
117 | 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 | 147 | </p> |
120 | 148 | </div> |
121 | 149 | <hr> |
122 | 150 | <p class='paragrafo'>{{{todosElementosUnicoSimbolo}}}</p> |
123 | 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 | 153 | </p> |
126 | 154 | <hr> |
127 | 155 | <p class='paragrafo'>{{{cadaOcorrenciaUnicoSimbolo}}}</p> |
128 | 156 | <div id='i3GEOlegendaitens' class='styled-select'></div> |
129 | 157 | <br> |
130 | 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 | 160 | </p> |
133 | 161 | <hr> |
134 | 162 | <p class='paragrafo'>{{{criaClassesItemNumerico}}}</p> |
135 | - <p class='paragrafo'>{{{numeroClasses}}}: | |
163 | + <p class='paragrafo'>{{{numeroClasses}}}:</p> | |
136 | 164 | <div class='styled-select'> |
137 | 165 | <input type='text' id='i3GEOlegendanclasses' value='5' /> |
138 | 166 | </div> |
139 | 167 | <br> |
140 | 168 | <p class='paragrafo'> |
141 | - <input id='i3GEOlegendabotao8' size='25' type='button' value='{{{intervalosIguais}}}'> | |
142 | - | |
143 | - <input id='i3GEOlegendabotaoQN' size='25' type='button' value='{{{quebrasNaturais}}}'> | |
144 | - | |
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 | 177 | <hr> |
147 | 178 | <p class='paragrafo'>{{{criaQuartis}}}</p> |
148 | 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 | 182 | <p class='paragrafo'>{{{estiloNomeClasses}}}: |
151 | 183 | <div class='styled-select'> |
152 | 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 | 188 | </select> |
157 | 189 | </div> |
158 | 190 | <br> |
... | ... | @@ -161,14 +193,13 @@ |
161 | 193 | <div id='i3GEOlegendaguia3obj' style='width: 99%; text-align: left;'> |
162 | 194 | <fieldset style='padding: 5px; margin: 2px;'> |
163 | 195 | <legend>{{{etiquetasClasse}}}</legend> |
164 | - <p class='paragrafo'>{{{itemComTexto}}}: | |
196 | + <p class='paragrafo'>{{{itemComTexto}}}:</p> | |
165 | 197 | <div class='styled-select' id='i3GEOlegendaitensLabel'></div> |
166 | - </p> | |
167 | 198 | <br> |
168 | 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 | 203 | </p> |
173 | 204 | </fieldset> |
174 | 205 | <br> |
... | ... | @@ -185,10 +216,9 @@ |
185 | 216 | |
186 | 217 | <input id='i3GEOlegendabotao14' class='executar' size='8' type='button' value='{{{desce}}}' /> |
187 | 218 | <div id='i3GEOlegendaParametrosEstilos' style='position: relative; top: 10px; left: 0px; text-align: left'></div> |
188 | - <br> | |
189 | - <br> | |
219 | + <br> <br> | |
190 | 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 | 222 | </p> |
193 | 223 | <div style='position: relative; top: 0px; left: 0px; text-align: left;' id='i3GEOlegendamostraEstilo'></div> |
194 | 224 | <div style='position: relative; top: 0px; left: 0px; text-align: left;' id='i3GEOlegendasimbolos'></div> |
... | ... | @@ -201,11 +231,11 @@ |
201 | 231 | <a href='http://mapserver.org/ogc/sld.html#sld' target='_blank'>Mapserver SLD</a> |
202 | 232 | {{{ajudaSLD}}} |
203 | 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 | 235 | </p> |
206 | 236 | <p class='paragrafo'>{{{msgAplicaSLD',i3GEOF.legenda.dicionario) |
207 | 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 | 239 | </p> |
210 | 240 | </div> |
211 | 241 | <input type='hidden' value='' id='listaColourRamp' onchange='javascript:i3GEOF.legenda.aplicaColourRamp()' /> |
212 | 242 | \ No newline at end of file | ... | ... |
ferramentas/toponimia/index.js
... | ... | @@ -111,10 +111,11 @@ i3GEOF.toponimia = { |
111 | 111 | i3GEO.guias.mostraGuiaFerramenta("i3GEOtoponimiaguia3","i3GEOtoponimiaguia"); |
112 | 112 | i3GEOF.toponimia.testa(); |
113 | 113 | }; |
114 | - new YAHOO.widget.Button( | |
114 | + var b = new YAHOO.widget.Button( | |
115 | 115 | "i3GEOtoponimiabotao1", |
116 | 116 | {onclick:{fn: i3GEOF.toponimia.cria}} |
117 | 117 | ); |
118 | + b.addClass("rodar"); | |
118 | 119 | // |
119 | 120 | //pega a lista de itens e chama a função de montagem das opções de escolha |
120 | 121 | // | ... | ... |