Commit f244837c366d21f56e3f48883f8df30084078665
1 parent
4e27bd01
Exists in
master
and in
7 other branches
-
Showing
7 changed files
with
86 additions
and
319 deletions
Show diff stats
ferramentas/gradecoord/template_mst.html
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | </div> | 4 | </div> |
5 | <br><p class='paragrafo'>{{{cor}}}:</p> | 5 | <br><p class='paragrafo'>{{{cor}}}:</p> |
6 | <div class='i3geoForm100 i3geoFormIconeAquarela' > | 6 | <div class='i3geoForm100 i3geoFormIconeAquarela' > |
7 | - <input type='text' id='i3GEOgradeCoordcorlinha' value='2' /> | 7 | + <input type='text' id='i3GEOgradeCoordcorlinha' value='' /> |
8 | </div> | 8 | </div> |
9 | <br><p class='paragrafo'>{{{largura}}}:</p> | 9 | <br><p class='paragrafo'>{{{largura}}}:</p> |
10 | <div class='i3geoForm i3geoFormIconeEdita' > | 10 | <div class='i3geoForm i3geoFormIconeEdita' > |
@@ -33,11 +33,11 @@ | @@ -33,11 +33,11 @@ | ||
33 | </div> | 33 | </div> |
34 | <br><p class='paragrafo'>{{{corMascara}}}:</p> | 34 | <br><p class='paragrafo'>{{{corMascara}}}:</p> |
35 | <div class='i3geoForm100 i3geoFormIconeAquarela' > | 35 | <div class='i3geoForm100 i3geoFormIconeAquarela' > |
36 | - <input type='text' id='i3GEOgradeCoordmascara_i' value='2' /> | 36 | + <input type='text' id='i3GEOgradeCoordmascara_i' value='' /> |
37 | </div> | 37 | </div> |
38 | <br><p class='paragrafo'>{{{corSombra}}}:</p> | 38 | <br><p class='paragrafo'>{{{corSombra}}}:</p> |
39 | <div class='i3geoForm100 i3geoFormIconeAquarela' > | 39 | <div class='i3geoForm100 i3geoFormIconeAquarela' > |
40 | - <input type='text' id='i3GEOgradeCoordshadowcolor' value='2' /> | 40 | + <input type='text' id='i3GEOgradeCoordshadowcolor' value='' /> |
41 | </div> | 41 | </div> |
42 | <br><p class='paragrafo'>{{{deslocamentoSombra}}} X:</p> | 42 | <br><p class='paragrafo'>{{{deslocamentoSombra}}} X:</p> |
43 | <div class='i3geoForm i3geoFormIconeEdita' > | 43 | <div class='i3geoForm i3geoFormIconeEdita' > |
@@ -49,7 +49,7 @@ | @@ -49,7 +49,7 @@ | ||
49 | </div> | 49 | </div> |
50 | <br><p class='paragrafo'>{{{corTexto}}}:</p> | 50 | <br><p class='paragrafo'>{{{corTexto}}}:</p> |
51 | <div class='i3geoForm100 i3geoFormIconeAquarela' > | 51 | <div class='i3geoForm100 i3geoFormIconeAquarela' > |
52 | - <input type='text' id='i3GEOgradeCoordcortexto' value='2' /> | 52 | + <input type='text' id='i3GEOgradeCoordcortexto' value='' /> |
53 | </div> | 53 | </div> |
54 | 54 | ||
55 | <br> | 55 | <br> |
ferramentas/opcoes_fundo/index.js
1 | - | ||
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | ||
3 | - | ||
4 | -/* | ||
5 | -Title: Cor do fundo do mapa | ||
6 | - | ||
7 | -Veja: | ||
8 | - | ||
9 | -<i3GEO.mapa.dialogo.corFundo> | ||
10 | - | ||
11 | -Arquivo: | ||
12 | - | ||
13 | -i3geo/ferramentas/opcoes_fundo/index.js.php | ||
14 | - | ||
15 | -Licenca: | ||
16 | - | ||
17 | -GPL2 | ||
18 | - | ||
19 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | ||
20 | - | ||
21 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | ||
22 | -Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com | ||
23 | - | ||
24 | -Este programa é software livre; você pode redistribuí-lo | ||
25 | -e/ou modificá-lo sob os termos da Licença Pública Geral | ||
26 | -GNU conforme publicada pela Free Software Foundation; | ||
27 | - | ||
28 | -Este programa é distribuído na expectativa de que seja útil, | ||
29 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | ||
30 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | ||
31 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | ||
32 | -Você deve ter recebido uma cópia da Licença Pública Geral do | ||
33 | -GNU junto com este programa; se não, escreva para a | ||
34 | -Free Software Foundation, Inc., no endereço | ||
35 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | ||
36 | -*/ | ||
37 | if(typeof(i3GEOF) === 'undefined'){ | 1 | if(typeof(i3GEOF) === 'undefined'){ |
38 | var i3GEOF = {}; | 2 | var i3GEOF = {}; |
39 | } | 3 | } |
@@ -47,12 +11,6 @@ i3GEOF.opcoesFundo = { | @@ -47,12 +11,6 @@ i3GEOF.opcoesFundo = { | ||
47 | Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. | 11 | Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. |
48 | */ | 12 | */ |
49 | aguarde: "", | 13 | aguarde: "", |
50 | - /* | ||
51 | - Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário | ||
52 | - */ | ||
53 | - criaJanelaFlutuante: function(){ | ||
54 | - i3GEOF.opcoesFundo.iniciaDicionario(); | ||
55 | - }, | ||
56 | /** | 14 | /** |
57 | * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php | 15 | * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php |
58 | */ | 16 | */ |
@@ -62,31 +20,11 @@ i3GEOF.opcoesFundo = { | @@ -62,31 +20,11 @@ i3GEOF.opcoesFundo = { | ||
62 | */ | 20 | */ |
63 | mustacheHash : function() { | 21 | mustacheHash : function() { |
64 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesFundo.dicionario); | 22 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesFundo.dicionario); |
65 | - dicionario["Fundocor"] = $inputText('','','i3GEOopcoesFundocor','',12,''); | ||
66 | dicionario["locaplic"] = i3GEO.configura.locaplic; | 23 | dicionario["locaplic"] = i3GEO.configura.locaplic; |
67 | dicionario["asp"] = '"'; | 24 | dicionario["asp"] = '"'; |
68 | return dicionario; | 25 | return dicionario; |
69 | }, | 26 | }, |
70 | /* | 27 | /* |
71 | - Function: iniciaDicionario | ||
72 | - | ||
73 | - Carrega o dicionário e chama a função que inicia a ferramenta | ||
74 | - | ||
75 | - O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script | ||
76 | - */ | ||
77 | - iniciaDicionario: function(){ | ||
78 | - if(typeof(i3GEOF.opcoesFundo.dicionario) === 'undefined'){ | ||
79 | - i3GEO.util.scriptTag( | ||
80 | - i3GEO.configura.locaplic+"/ferramentas/opcoes_fundo/dicionario.js", | ||
81 | - "i3GEOF.opcoesFundo.iniciaJanelaFlutuante()", | ||
82 | - "i3GEOF.opcoesFundo.dicionario_script" | ||
83 | - ); | ||
84 | - } | ||
85 | - else{ | ||
86 | - i3GEOF.opcoesFundo.iniciaJanelaFlutuante(); | ||
87 | - } | ||
88 | - }, | ||
89 | - /* | ||
90 | Function: inicia | 28 | Function: inicia |
91 | 29 | ||
92 | Inicia a ferramenta. É chamado por criaJanelaFlutuante | 30 | Inicia a ferramenta. É chamado por criaJanelaFlutuante |
@@ -99,10 +37,12 @@ i3GEOF.opcoesFundo = { | @@ -99,10 +37,12 @@ i3GEOF.opcoesFundo = { | ||
99 | try{ | 37 | try{ |
100 | i3GEOF.opcoesFundo.aguarde.visibility = "visible"; | 38 | i3GEOF.opcoesFundo.aguarde.visibility = "visible"; |
101 | $i(iddiv).innerHTML += i3GEOF.opcoesFundo.html(); | 39 | $i(iddiv).innerHTML += i3GEOF.opcoesFundo.html(); |
102 | - new YAHOO.widget.Button( | 40 | + var b = new YAHOO.widget.Button( |
103 | "i3GEOopcoesFundobotao1", | 41 | "i3GEOopcoesFundobotao1", |
104 | {onclick:{fn: i3GEOF.opcoesFundo.executa}} | 42 | {onclick:{fn: i3GEOF.opcoesFundo.executa}} |
105 | ); | 43 | ); |
44 | + b.addClass("rodar150"); | ||
45 | + i3GEO.util.aplicaAquarela("i3GEOF.opcoesFundo_corpo"); | ||
106 | var p = i3GEO.configura.locaplic+"/ferramentas/opcoes_fundo/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=pegacorfundo", | 46 | var p = i3GEO.configura.locaplic+"/ferramentas/opcoes_fundo/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=pegacorfundo", |
107 | cp = new cpaint(), | 47 | cp = new cpaint(), |
108 | retorno = function(retorno){ | 48 | retorno = function(retorno){ |
ferramentas/opcoes_fundo/template_mst.html
1 | -{{{Fundocor}}} | ||
2 | -<img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.opcoesFundo.corj({{{asp}}}i3GEOopcoesFundocor{{{asp}}})' /> | 1 | +<div class='i3geoForm100 i3geoFormIconeAquarela'> |
2 | + <input type='text' id='i3GEOopcoesFundocor' value='2' /> | ||
3 | +</div> | ||
3 | <br> | 4 | <br> |
4 | -<br> | ||
5 | -<p class='paragrafo'> <input size='20' id='i3GEOopcoesFundobotao1' type='button' value='{{{aplica}}}' /> | ||
6 | \ No newline at end of file | 5 | \ No newline at end of file |
6 | +<p class='paragrafo'> | ||
7 | + <input size='20' id='i3GEOopcoesFundobotao1' type='button' value='{{{aplica}}}' /> | ||
7 | \ No newline at end of file | 8 | \ No newline at end of file |
ferramentas/opcoes_legenda/index.js
1 | - | ||
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | ||
3 | - | ||
4 | -/* | ||
5 | -Title: Legenda gráfica do mapa | ||
6 | - | ||
7 | -Edita a legenda que é mostrada no corpo do mapa, controlando o tamanho, posição, fontes, etc. | ||
8 | - | ||
9 | -Veja: | ||
10 | - | ||
11 | -<i3GEO.mapa.dialogo.opcoesLegenda> | ||
12 | - | ||
13 | -Arquivo: | ||
14 | - | ||
15 | -i3geo/ferramentas/opcoes_legenda/index.js.php | ||
16 | - | ||
17 | -Licenca: | ||
18 | - | ||
19 | -GPL2 | ||
20 | - | ||
21 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | ||
22 | - | ||
23 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | ||
24 | -Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com | ||
25 | - | ||
26 | -Este programa é software livre; você pode redistribuí-lo | ||
27 | -e/ou modificá-lo sob os termos da Licença Pública Geral | ||
28 | -GNU conforme publicada pela Free Software Foundation; | ||
29 | - | ||
30 | -Este programa é distribuído na expectativa de que seja útil, | ||
31 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | ||
32 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | ||
33 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | ||
34 | -Você deve ter recebido uma cópia da Licença Pública Geral do | ||
35 | -GNU junto com este programa; se não, escreva para a | ||
36 | -Free Software Foundation, Inc., no endereço | ||
37 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | ||
38 | -*/ | ||
39 | if(typeof(i3GEOF) === 'undefined'){ | 1 | if(typeof(i3GEOF) === 'undefined'){ |
40 | var i3GEOF = {}; | 2 | var i3GEOF = {}; |
41 | } | 3 | } |
@@ -50,12 +12,6 @@ i3GEOF.opcoesLegenda = { | @@ -50,12 +12,6 @@ i3GEOF.opcoesLegenda = { | ||
50 | Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. | 12 | Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. |
51 | */ | 13 | */ |
52 | aguarde: "", | 14 | aguarde: "", |
53 | - /* | ||
54 | - Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário | ||
55 | - */ | ||
56 | - criaJanelaFlutuante: function(){ | ||
57 | - i3GEOF.opcoesLegenda.iniciaDicionario(); | ||
58 | - }, | ||
59 | /** | 15 | /** |
60 | * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php | 16 | * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php |
61 | */ | 17 | */ |
@@ -68,36 +24,10 @@ i3GEOF.opcoesLegenda = { | @@ -68,36 +24,10 @@ i3GEOF.opcoesLegenda = { | ||
68 | dicionario["sim"] = $trad("x14"); | 24 | dicionario["sim"] = $trad("x14"); |
69 | dicionario["nao"] = $trad("x15"); | 25 | dicionario["nao"] = $trad("x15"); |
70 | dicionario["locaplic"] = i3GEO.configura.locaplic; | 26 | dicionario["locaplic"] = i3GEO.configura.locaplic; |
71 | - dicionario["imagecolor"] = $inputText('','','i3GEOopcoesLegendaimagecolor','',12,''); | ||
72 | dicionario["asp"] = '"'; | 27 | dicionario["asp"] = '"'; |
73 | - dicionario["outlinecolor"] = $inputText('','','i3GEOopcoesLegendaoutlinecolor','',12,''); | ||
74 | - dicionario["keyspacingy"] = $inputText('','','i3GEOopcoesLegendakeyspacingy','',4,''); | ||
75 | - dicionario["keyspacingx"] = $inputText('','','i3GEOopcoesLegendakeyspacingx','',4,''); | ||
76 | - dicionario["keysizey"] = $inputText('','','i3GEOopcoesLegendakeysizey','',4,''); | ||
77 | - dicionario["keysizex"] = $inputText('','','i3GEOopcoesLegendakeysizex','',4,''); | ||
78 | - dicionario["labelsize"] = $inputText('','','i3GEOopcoesLegendalabelsize','',4,''); | ||
79 | return dicionario; | 28 | return dicionario; |
80 | }, | 29 | }, |
81 | /* | 30 | /* |
82 | - Function: iniciaDicionario | ||
83 | - | ||
84 | - Carrega o dicionário e chama a função que inicia a ferramenta | ||
85 | - | ||
86 | - O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script | ||
87 | - */ | ||
88 | - iniciaDicionario: function(){ | ||
89 | - if(typeof(i3GEOF.opcoesLegenda.dicionario) === 'undefined'){ | ||
90 | - i3GEO.util.scriptTag( | ||
91 | - i3GEO.configura.locaplic+"/ferramentas/opcoes_legenda/dicionario.js", | ||
92 | - "i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()", | ||
93 | - "i3GEOF.opcoesLegenda.dicionario_script" | ||
94 | - ); | ||
95 | - } | ||
96 | - else{ | ||
97 | - i3GEOF.opcoesLegenda.iniciaJanelaFlutuante(); | ||
98 | - } | ||
99 | - }, | ||
100 | - /* | ||
101 | Function: inicia | 31 | Function: inicia |
102 | 32 | ||
103 | Inicia a ferramenta. É chamado por criaJanelaFlutuante | 33 | Inicia a ferramenta. É chamado por criaJanelaFlutuante |
@@ -109,16 +39,19 @@ i3GEOF.opcoesLegenda = { | @@ -109,16 +39,19 @@ i3GEOF.opcoesLegenda = { | ||
109 | inicia: function(iddiv){ | 39 | inicia: function(iddiv){ |
110 | try{ | 40 | try{ |
111 | $i(iddiv).innerHTML = i3GEOF.opcoesLegenda.html(); | 41 | $i(iddiv).innerHTML = i3GEOF.opcoesLegenda.html(); |
112 | - new YAHOO.widget.Button( | 42 | + var b = new YAHOO.widget.Button( |
113 | "i3GEOopcoesLegendabotao1", | 43 | "i3GEOopcoesLegendabotao1", |
114 | {onclick:{fn: i3GEOF.opcoesLegenda.executa}} | 44 | {onclick:{fn: i3GEOF.opcoesLegenda.executa}} |
115 | ); | 45 | ); |
116 | - new YAHOO.widget.Button( | 46 | + b.addClass("rodar"); |
47 | + b = new YAHOO.widget.Button( | ||
117 | "i3GEOopcoesLegendabotao2", | 48 | "i3GEOopcoesLegendabotao2", |
118 | {onclick:{fn: i3GEOF.opcoesLegenda.testa}} | 49 | {onclick:{fn: i3GEOF.opcoesLegenda.testa}} |
119 | ); | 50 | ); |
51 | + b.addClass("rodar"); | ||
120 | i3GEO.util.comboFontes("i3GEOopcoesLegendafonte","i3GEOopcoesLegendafontef"); | 52 | i3GEO.util.comboFontes("i3GEOopcoesLegendafonte","i3GEOopcoesLegendafontef"); |
121 | i3GEOF.opcoesLegenda.parametrosAtuais(); | 53 | i3GEOF.opcoesLegenda.parametrosAtuais(); |
54 | + i3GEO.util.aplicaAquarela("i3GEOF.opcoesLegenda_corpo"); | ||
122 | } | 55 | } |
123 | catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}} | 56 | catch(erro){if(typeof(console) !== 'undefined'){console.error(erro);}} |
124 | if(i3GEO.Interface.ATUAL !== "padrao") | 57 | if(i3GEO.Interface.ATUAL !== "padrao") |
ferramentas/opcoes_legenda/template_mst.html
1 | -<table summary='' class='lista'> | ||
2 | - <tr> | ||
3 | - <td>{{{incluiNoMapa}}}:</td> | ||
4 | - <td> | ||
5 | - <select id='i3GEOopcoesLegendastatus'> | ||
6 | - <option value='3'>{{{sim}}}</option> | ||
7 | - <option value='1'>{{{nao}}}</option> | ||
8 | - <option value='0'>---</option> | ||
9 | - </select> | ||
10 | - <td> | ||
11 | - </tr> | ||
12 | - <tr> | ||
13 | - <td> </td> | ||
14 | - <td></td> | ||
15 | - </tr> | ||
16 | - <tr> | ||
17 | - <td>{{{corFundo}}}:</td> | ||
18 | - <td> | ||
19 | - {{{imagecolor}}} | ||
20 | - <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.opcoesLegenda.corj({{{asp}}}i3GEOopcoesLegendaimagecolor{{{asp}}})' /> | ||
21 | - </td> | ||
22 | - </tr> | ||
23 | - <tr> | ||
24 | - <td> </td> | ||
25 | - <td></td> | ||
26 | - </tr> | ||
27 | - <tr> | ||
28 | - <td>{{{contornoSimbolos}}}:</td> | ||
29 | - <td> | ||
30 | - {{{outlinecolor}}} | ||
31 | - <img alt='aquarela.gif' style='cursor: pointer' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.opcoesLegenda.corj({{{asp}}}i3GEOopcoesLegendaoutlinecolor{{{asp}}})' /> | ||
32 | - </td> | ||
33 | - </tr> | ||
34 | - <tr> | ||
35 | - <td> </td> | ||
36 | - <td></td> | ||
37 | - </tr> | ||
38 | - <tr> | ||
39 | - <td>{{{posicao}}}:</td> | ||
40 | - <td> | ||
41 | - <select id='i3GEOopcoesLegendaposition'> | ||
42 | - <option value='101'>{{{supEsquerdo}}}</option> | ||
43 | - <option value='107'>{{{supCentro}}}</option> | ||
44 | - <option value='103' selected>{{{supDireito}}}</option> | ||
45 | - <option value='104'>{{{infEsquerdo}}}</option> | ||
46 | - <option value='108'>{{{infCentro}}}</option> | ||
47 | - <option value='102'>{{{infDireito}}}</option> | ||
48 | - </select> | ||
49 | - <td> | ||
50 | - </tr> | ||
51 | - <tr> | ||
52 | - <td> </td> | ||
53 | - <td></td> | ||
54 | - </tr> | ||
55 | - <tr> | ||
56 | - <td>{{{espacamentoY}}}:</td> | ||
57 | - <td>{{{keyspacingy}}} | ||
58 | - <td> | ||
59 | - </tr> | ||
60 | - <tr> | ||
61 | - <td> </td> | ||
62 | - <td></td> | ||
63 | - </tr> | ||
64 | - <tr> | ||
65 | - <td>{{{espacamentoX}}}:</td> | ||
66 | - <td>{{{keyspacingx}}}</td> | ||
67 | - </tr> | ||
68 | - <tr> | ||
69 | - <td> </td> | ||
70 | - <td></td> | ||
71 | - </tr> | ||
72 | - <tr> | ||
73 | - <td>{{{tamanhoSimboloY}}}:</td> | ||
74 | - <td>{{{keysizey}}} | ||
75 | - <td> | ||
76 | - </tr> | ||
77 | - <tr> | ||
78 | - <td> </td> | ||
79 | - <td></td> | ||
80 | - </tr> | ||
81 | - <tr> | ||
82 | - <td>{{{tamanhoSimboloX}}}:</td> | ||
83 | - <td>{{{keysizex}}} | ||
84 | - <td> | ||
85 | - </tr> | ||
86 | - <tr> | ||
87 | - <td> </td> | ||
88 | - <td></td> | ||
89 | - </tr> | ||
90 | - <tr> | ||
91 | - <td>{{{tamanhoTexto}}}:</td> | ||
92 | - <td>{{{labelsize}}} | ||
93 | - <td> | ||
94 | - </tr> | ||
95 | - <tr> | ||
96 | - <td> </td> | ||
97 | - <td></td> | ||
98 | - </tr> | ||
99 | - <tr> | ||
100 | - <td>{{{fonte}}}</td> | ||
101 | - <td id='i3GEOopcoesLegendafontef'>aguarde...</td> | ||
102 | - </tr> | ||
103 | -</table> | 1 | +<p class='paragrafo'>{{{incluiNoMapa}}}:</p> |
2 | +<div class='styled-select'> | ||
3 | + <select id='i3GEOopcoesLegendastatus'> | ||
4 | + <option value='3'>{{{sim}}}</option> | ||
5 | + <option value='1'>{{{nao}}}</option> | ||
6 | + <option value='0'>---</option> | ||
7 | + </select> | ||
8 | +</div> | ||
9 | +<br> | ||
10 | +<p class='paragrafo'>{{{corFundo}}}:</p> | ||
11 | +<div class='i3geoForm100 i3geoFormIconeAquarela'> | ||
12 | + <input type='text' id='i3GEOopcoesLegendaimagecolor' value='' /> | ||
13 | +</div> | ||
14 | +<br> | ||
15 | +<p class='paragrafo'>{{{contornoSimbolos}}}:</p> | ||
16 | +<div class='i3geoForm100 i3geoFormIconeAquarela'> | ||
17 | + <input type='text' id='i3GEOopcoesLegendaoutlinecolor' value='' /> | ||
18 | +</div> | ||
19 | +<br> | ||
20 | +<p class='paragrafo'>{{{posicao}}}:</p> | ||
21 | +<div class='styled-select'> | ||
22 | + <select id='i3GEOopcoesLegendaposition'> | ||
23 | + <option value='101'>{{{supEsquerdo}}}</option> | ||
24 | + <option value='107'>{{{supCentro}}}</option> | ||
25 | + <option value='103' selected>{{{supDireito}}}</option> | ||
26 | + <option value='104'>{{{infEsquerdo}}}</option> | ||
27 | + <option value='108'>{{{infCentro}}}</option> | ||
28 | + <option value='102'>{{{infDireito}}}</option> | ||
29 | + </select> | ||
30 | +</div> | ||
31 | +<br> | ||
32 | +<p class='paragrafo'>{{{espacamentoY}}}:</p> | ||
33 | +<div class='i3geoForm i3geoFormIconeEdita'> | ||
34 | + <input type='text' id='i3GEOopcoesLegendakeyspacingy' value='' /> | ||
35 | +</div> | ||
36 | +<br> | ||
37 | +<p class='paragrafo'>{{{espacamentoX}}}:</p> | ||
38 | +<div class='i3geoForm i3geoFormIconeEdita'> | ||
39 | + <input type='text' id='i3GEOopcoesLegendakeyspacingx' value='' /> | ||
40 | +</div> | ||
41 | +<br> | ||
42 | +<p class='paragrafo'>{{{tamanhoSimboloY}}}:</p> | ||
43 | +<div class='i3geoForm i3geoFormIconeEdita'> | ||
44 | + <input type='text' id='i3GEOopcoesLegendakeysizey' value='' /> | ||
45 | +</div> | ||
46 | +<br> | ||
47 | +<p class='paragrafo'>{{{tamanhoSimboloX}}}:</p> | ||
48 | +<div class='i3geoForm i3geoFormIconeEdita'> | ||
49 | + <input type='text' id='i3GEOopcoesLegendakeysizex' value='' /> | ||
50 | +</div> | ||
51 | +<br> | ||
52 | +<p class='paragrafo'>{{{tamanhoTexto}}}:</p> | ||
53 | +<div class='i3geoForm i3geoFormIconeEdita'> | ||
54 | + <input type='text' id='i3GEOopcoesLegendalabelsize' value='' /> | ||
55 | +</div> | ||
56 | +<br> | ||
57 | +<p class='paragrafo'>{{{fonte}}}:</p> | ||
58 | +<div class='styled-select' id='i3GEOopcoesLegendafontef'></div> | ||
59 | + | ||
104 | <br> | 60 | <br> |
105 | <p class='paragrafo'> | 61 | <p class='paragrafo'> |
106 | <input id='i3GEOopcoesLegendabotao1' size='20' type='button' value='{{{aplica}}}' /> | 62 | <input id='i3GEOopcoesLegendabotao1' size='20' type='button' value='{{{aplica}}}' /> |
63 | +</p> | ||
64 | +<br> | ||
65 | +<p class='paragrafo'> | ||
107 | <input id='i3GEOopcoesLegendabotao2' size='20' type='button' value='{{{testa}}}' /> | 66 | <input id='i3GEOopcoesLegendabotao2' size='20' type='button' value='{{{testa}}}' /> |
108 | </p> | 67 | </p> |
109 | <br> | 68 | <br> |
ferramentas/opcoes_querymap/index.js
1 | - | ||
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | ||
3 | - | ||
4 | -/* | ||
5 | -Title: Cor da seleção | ||
6 | - | ||
7 | -Altera a cor que destaca os elementos selecionados. | ||
8 | - | ||
9 | -Veja: | ||
10 | - | ||
11 | -<i3GEO.mapa.dialogo.queryMap> | ||
12 | - | ||
13 | -Arquivo: | ||
14 | - | ||
15 | -i3geo/ferramentas/opcoes_querymap/index.js.php | ||
16 | - | ||
17 | -Licenca: | ||
18 | - | ||
19 | -GPL2 | ||
20 | - | ||
21 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | ||
22 | - | ||
23 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | ||
24 | -Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com | ||
25 | - | ||
26 | -Este programa é software livre; você pode redistribuí-lo | ||
27 | -e/ou modificá-lo sob os termos da Licença Pública Geral | ||
28 | -GNU conforme publicada pela Free Software Foundation; | ||
29 | - | ||
30 | -Este programa é distribuído na expectativa de que seja útil, | ||
31 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | ||
32 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | ||
33 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | ||
34 | -Você deve ter recebido uma cópia da Licença Pública Geral do | ||
35 | -GNU junto com este programa; se não, escreva para a | ||
36 | -Free Software Foundation, Inc., no endereço | ||
37 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | ||
38 | -*/ | ||
39 | if(typeof(i3GEOF) === 'undefined'){ | 1 | if(typeof(i3GEOF) === 'undefined'){ |
40 | var i3GEOF = {}; | 2 | var i3GEOF = {}; |
41 | } | 3 | } |
@@ -49,12 +11,6 @@ i3GEOF.opcoesQuery = { | @@ -49,12 +11,6 @@ i3GEOF.opcoesQuery = { | ||
49 | Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. | 11 | Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. |
50 | */ | 12 | */ |
51 | aguarde: "", | 13 | aguarde: "", |
52 | - /* | ||
53 | - Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário | ||
54 | - */ | ||
55 | - criaJanelaFlutuante: function(){ | ||
56 | - i3GEOF.opcoesQuery.iniciaDicionario(); | ||
57 | - }, | ||
58 | /** | 14 | /** |
59 | * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php | 15 | * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php |
60 | */ | 16 | */ |
@@ -65,30 +21,9 @@ i3GEOF.opcoesQuery = { | @@ -65,30 +21,9 @@ i3GEOF.opcoesQuery = { | ||
65 | mustacheHash : function() { | 21 | mustacheHash : function() { |
66 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesQuery.dicionario); | 22 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesQuery.dicionario); |
67 | dicionario["locaplic"] = i3GEO.configura.locaplic; | 23 | dicionario["locaplic"] = i3GEO.configura.locaplic; |
68 | - dicionario["asp"] = '"'; | ||
69 | - dicionario["Querycor"] = $inputText("","","i3GEOopcoesQuerycor","",12,""); | ||
70 | return dicionario; | 24 | return dicionario; |
71 | }, | 25 | }, |
72 | /* | 26 | /* |
73 | - Function: iniciaDicionario | ||
74 | - | ||
75 | - Carrega o dicionário e chama a função que inicia a ferramenta | ||
76 | - | ||
77 | - O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script | ||
78 | - */ | ||
79 | - iniciaDicionario: function(){ | ||
80 | - if(typeof(i3GEOF.opcoesQuery.dicionario) === 'undefined'){ | ||
81 | - i3GEO.util.scriptTag( | ||
82 | - i3GEO.configura.locaplic+"/ferramentas/opcoes_querymap/dicionario.js", | ||
83 | - "i3GEOF.opcoesQuery.iniciaJanelaFlutuante()", | ||
84 | - "i3GEOF.opcoesQuery.dicionario_script" | ||
85 | - ); | ||
86 | - } | ||
87 | - else{ | ||
88 | - i3GEOF.opcoesQuery.iniciaJanelaFlutuante(); | ||
89 | - } | ||
90 | - }, | ||
91 | - /* | ||
92 | Function: inicia | 27 | Function: inicia |
93 | 28 | ||
94 | Inicia a ferramenta. É chamado por criaJanelaFlutuante | 29 | Inicia a ferramenta. É chamado por criaJanelaFlutuante |
@@ -101,10 +36,12 @@ i3GEOF.opcoesQuery = { | @@ -101,10 +36,12 @@ i3GEOF.opcoesQuery = { | ||
101 | try{ | 36 | try{ |
102 | i3GEOF.opcoesQuery.aguarde.visibility = "visible"; | 37 | i3GEOF.opcoesQuery.aguarde.visibility = "visible"; |
103 | $i(iddiv).innerHTML += i3GEOF.opcoesQuery.html(); | 38 | $i(iddiv).innerHTML += i3GEOF.opcoesQuery.html(); |
104 | - new YAHOO.widget.Button( | 39 | + var b = new YAHOO.widget.Button( |
105 | "i3GEOopcoesQuerybotao1", | 40 | "i3GEOopcoesQuerybotao1", |
106 | {onclick:{fn: i3GEOF.opcoesQuery.executa}} | 41 | {onclick:{fn: i3GEOF.opcoesQuery.executa}} |
107 | ); | 42 | ); |
43 | + b.addClass("rodar150"); | ||
44 | + i3GEO.util.aplicaAquarela("i3GEOF.opcoesQuery"); | ||
108 | var p = i3GEO.configura.locaplic+"/ferramentas/opcoes_querymap/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=pegaquerymapcor", | 45 | var p = i3GEO.configura.locaplic+"/ferramentas/opcoes_querymap/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=pegaquerymapcor", |
109 | cp = new cpaint(), | 46 | cp = new cpaint(), |
110 | retorno = function(retorno){ | 47 | retorno = function(retorno){ |
ferramentas/opcoes_querymap/template_mst.html
1 | -{{{Querycor}}} | ||
2 | -<img alt='aquarela.gif' style='cursor: pointer' | ||
3 | - src='{{{locaplic}}}/imagens/aquarela.gif' | ||
4 | - onclick='i3GEOF.opcoesQuery.corj({{{asp}}}i3GEOopcoesQuerycor{{{asp}}})' /> | ||
5 | -<br> | 1 | +<div class='i3geoForm100 i3geoFormIconeAquarela'> |
2 | + <input type='text' id='i3GEOopcoesQuerycor' value='' /> | ||
3 | +</div> | ||
6 | <br> | 4 | <br> |
7 | <p class='paragrafo'> | 5 | <p class='paragrafo'> |
8 | - <input size='20' id='i3GEOopcoesQuerybotao1' type='button' | ||
9 | - value='{{{aplica}}}' /> | ||
10 | \ No newline at end of file | 6 | \ No newline at end of file |
7 | + <input size='20' id='i3GEOopcoesQuerybotao1' type='button' value='{{{aplica}}}' /> | ||
11 | \ No newline at end of file | 8 | \ No newline at end of file |