Commit caac859a382106fae2203eb2dd92e5d308ebd2de
1 parent
18c61507
Exists in
master
and in
7 other branches
Várias correções de sintaxe e erro no grafico de pizza da legenda
Showing
17 changed files
with
222 additions
and
208 deletions
Show diff stats
ferramentas/conectargeorss/index.htm
... | ... | @@ -15,8 +15,8 @@ body { |
15 | 15 | <body class="yui-skin-sam" > |
16 | 16 | <div id=guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;"> |
17 | 17 | <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;"> |
18 | - <li><a href="#ancora"><em><div id="guia1" style="text-align:center;font-size:10px;left:0px;" >Serviços</div></em></a></li> | |
19 | - <li><a href="#ancora"><em><div id="guia2" style="text-align:center;font-size:10px;left:0px;" >Canais</div></em></a></li> | |
18 | + <li><div id="guia1" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Serviços</em></a></div></li> | |
19 | + <li><div id="guia2" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Canais</em></a></div></li> | |
20 | 20 | </ul> |
21 | 21 | </div> |
22 | 22 | <div id=geral style="left:0px;top:0px;"> |
... | ... | @@ -34,7 +34,7 @@ body { |
34 | 34 | </div> |
35 | 35 | |
36 | 36 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
37 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
37 | +<script type="text/javascript" src="index.js"></script> | |
38 | 38 | |
39 | 39 | <script type="text/javascript" > |
40 | 40 | if(window.parent.i3GEO.parametros.editor.toLowerCase() == "sim"){ | ... | ... |
ferramentas/graficointerativo1/index.js
1 | 1 | /** |
2 | 2 | * Title: Gráfico interativo 1 |
3 | - * | |
3 | + * | |
4 | 4 | * Representação gráfica de dados. O gráfico é construído tendo como base os atributos de um tema |
5 | 5 | * e é modificado conforme o usuário navega pelo mapa. A renderização do gráfico é feito pelo |
6 | 6 | * navegador por meio do aplicativo openflashchart. Os dados que serão utilizados no gráfico são baseados em um |
7 | 7 | * elemento TABLE. Esse elemento pode ser montado com base na tabela de atributos e editada pelo usuário. Os dados podem |
8 | 8 | * também ser inseridos como parâmetros na inicialização da ferramenta, permitindo que o gráfico seja |
9 | 9 | * utilizado por outras ferramentas. |
10 | - * | |
10 | + * | |
11 | 11 | * Gráficos podem ser salvos no mapa. Veja a função compactaConfig que gera uma string em base64 com as |
12 | 12 | * configurações em JSON de todos os gráficos abertos no mapa |
13 | - * | |
13 | + * | |
14 | 14 | * Os gráficos podem ser restaurados usando-se a função restauraGraficos |
15 | - * | |
15 | + * | |
16 | 16 | * Veja: |
17 | - * | |
17 | + * | |
18 | 18 | * <i3GEO.analise.dialogo.graficointerativo1> |
19 | - * | |
19 | + * | |
20 | 20 | * Arquivo: |
21 | - * | |
21 | + * | |
22 | 22 | * i3geo/ferramentas/graficointerativo1/index.js.php |
23 | - * | |
23 | + * | |
24 | 24 | * Licenca: |
25 | - * | |
25 | + * | |
26 | 26 | * GPL2 |
27 | - * | |
27 | + * | |
28 | 28 | * i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet |
29 | - * | |
29 | + * | |
30 | 30 | * Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com |
31 | - * | |
31 | + * | |
32 | 32 | * Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo sob os termos da Licença |
33 | 33 | * Pública Geral GNU conforme publicada pela Free Software Foundation; |
34 | - * | |
34 | + * | |
35 | 35 | * Este programa é distribuído na expectativa de que seja útil, porém, SEM NENHUMA GARANTIA; nem mesmo a |
36 | 36 | * garantia implícita de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. Consulte a Licença |
37 | 37 | * Pública Geral do GNU para mais detalhes. Você deve ter recebido uma cópia da Licença Pública Geral do |
... | ... | @@ -43,7 +43,7 @@ if (typeof (i3GEOF) === 'undefined') { |
43 | 43 | } |
44 | 44 | /** |
45 | 45 | * Classe: i3GEOF.graficointerativo1 |
46 | - * | |
46 | + * | |
47 | 47 | */ |
48 | 48 | i3GEOF.graficointerativo1 = |
49 | 49 | { |
... | ... | @@ -108,51 +108,51 @@ i3GEOF.graficointerativo1 = |
108 | 108 | }, |
109 | 109 | /** |
110 | 110 | * Propriedade: dados |
111 | - * | |
111 | + * | |
112 | 112 | * Dados que serao utilizados. Pode ser passado como parametro. |
113 | - * | |
113 | + * | |
114 | 114 | * Default: {false} |
115 | 115 | */ |
116 | 116 | dados : false, |
117 | 117 | /** |
118 | 118 | * Propriedade: titulo |
119 | - * | |
119 | + * | |
120 | 120 | * Título do gráfico. Se for vazio, será obtido do nome do tema selecionado |
121 | 121 | */ |
122 | 122 | titulo : "", |
123 | 123 | /** |
124 | 124 | * Propriedade: tipo |
125 | - * | |
125 | + * | |
126 | 126 | * Tipo de gráfico escolhido pelo usuário. |
127 | 127 | */ |
128 | 128 | tipo : "", |
129 | 129 | /** |
130 | 130 | * Propriedade: acumula |
131 | - * | |
131 | + * | |
132 | 132 | * Acumula os valores ao gerar o gráfico |
133 | - * | |
133 | + * | |
134 | 134 | * Type: {boolean} |
135 | - * | |
135 | + * | |
136 | 136 | * Default: {false} |
137 | 137 | */ |
138 | 138 | acumula : false, |
139 | 139 | /** |
140 | 140 | * Propriedade: relativa |
141 | - * | |
141 | + * | |
142 | 142 | * Utiliza valores relativos ao criar o gráfico |
143 | - * | |
143 | + * | |
144 | 144 | * Type: {boolean} |
145 | - * | |
145 | + * | |
146 | 146 | * Default: {false} |
147 | 147 | */ |
148 | 148 | relativa : false, |
149 | 149 | /** |
150 | 150 | * Propriedade: dadospuros |
151 | - * | |
151 | + * | |
152 | 152 | * Não faz nenhum tipo de processamento nos dados antes de gerar o gráfico |
153 | - * | |
153 | + * | |
154 | 154 | * Type: {boolean} |
155 | - * | |
155 | + * | |
156 | 156 | * Default: {false} |
157 | 157 | */ |
158 | 158 | dadospuros : false, |
... | ... | @@ -160,9 +160,9 @@ i3GEOF.graficointerativo1 = |
160 | 160 | h: "400px", |
161 | 161 | /** |
162 | 162 | * iniciaDicionario (depreciado na versao 6.0) |
163 | - * | |
163 | + * | |
164 | 164 | * Carrega o dicionário e chama a função que inicia a ferramenta |
165 | - * | |
165 | + * | |
166 | 166 | * O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script |
167 | 167 | */ |
168 | 168 | iniciaDicionario : function(parametros) { |
... | ... | @@ -171,25 +171,25 @@ i3GEOF.graficointerativo1 = |
171 | 171 | /** |
172 | 172 | * Configura o grafico conforme um objeto contendo parametros e opcionalmente os dados Alguns parametros possuem definicoes padrao, |
173 | 173 | * usadas quando o valor nao e passado |
174 | - * | |
174 | + * | |
175 | 175 | * Qualquer outro campo de formulario pode ter seu valor passado como parametro, desde que use o mesmo ID, excluindo-se do nome do |
176 | 176 | * ID o prefixo (codigo da janela) |
177 | - * | |
177 | + * | |
178 | 178 | * parametros {objeto} com os seguintes elementos: |
179 | - * | |
179 | + * | |
180 | 180 | * idjanela - id do grafico. Usado como prefixo para inserir os identificadores dos elementos DOM que fazem parte da interface do |
181 | 181 | * grafico. Se existir um elemento dom esse id, o grafico sera inserido nesse elemento |
182 | - * | |
182 | + * | |
183 | 183 | * tema - codigo do tema existente no mapa e que sera a fonte para os dados |
184 | - * | |
184 | + * | |
185 | 185 | * atualiza true|false - a janela sera atualizada na navegacao do mapa ou nao |
186 | - * | |
186 | + * | |
187 | 187 | * dados - dados que comporao o mapa. Caso nao existam, serao obtidos de tema |
188 | - * | |
188 | + * | |
189 | 189 | * acumula true|false - acumula os valores de cada elemento do grafico |
190 | - * | |
190 | + * | |
191 | 191 | * relativa true|false - utiliza valores relativos nos eixos |
192 | - * | |
192 | + * | |
193 | 193 | * dadospuros true|false - realiza ou nao processos de adequacao dos dados |
194 | 194 | */ |
195 | 195 | configura : function(parametros) { |
... | ... | @@ -231,6 +231,9 @@ i3GEOF.graficointerativo1 = |
231 | 231 | if (!parametros.h || parametros.h == undefined) { |
232 | 232 | i3GEOF.graficointerativo1.propJanelas[idjanela].h = i3GEOF.graficointerativo1.h; |
233 | 233 | } |
234 | + if (!parametros.tipo || parametros.tipo == undefined) { | |
235 | + i3GEOF.graficointerativo1.propJanelas[idjanela].tipo = i3GEOF.graficointerativo1.tipo; | |
236 | + } | |
234 | 237 | return idjanela; |
235 | 238 | }, |
236 | 239 | /** |
... | ... | @@ -325,7 +328,7 @@ i3GEOF.graficointerativo1 = |
325 | 328 | /** |
326 | 329 | * Retorna um objeto contendo os valores de todos os parametros utilizados no grafico de tal forma que um grafico possa ser |
327 | 330 | * renderizado novamente |
328 | - * | |
331 | + * | |
329 | 332 | * A funcao i3GEO.php.salvaMapaBanco utiliza retornaConfig e cria um objeto que ira armazenar os parametros de cada janela |
330 | 333 | */ |
331 | 334 | retornaConfig : function(idjanela) { |
... | ... | @@ -391,13 +394,13 @@ i3GEOF.graficointerativo1 = |
391 | 394 | }, |
392 | 395 | /** |
393 | 396 | * Function: inicia |
394 | - * | |
397 | + * | |
395 | 398 | * Inicia a ferramenta. É chamado por criaJanelaFlutuante |
396 | - * | |
399 | + * | |
397 | 400 | * Parametros: |
398 | - * | |
401 | + * | |
399 | 402 | * iddiv {String} - id do div que receberá o conteudo HTML da ferramenta |
400 | - * | |
403 | + * | |
401 | 404 | * dados {JSON} - dados para o gráfico (opcional) exemplo |
402 | 405 | * ["n;x","'Argentina';33796870","'Paraguay';4773464","'Brazil';151525400","'Chile';13772710"] |
403 | 406 | */ |
... | ... | @@ -413,10 +416,13 @@ i3GEOF.graficointerativo1 = |
413 | 416 | }; |
414 | 417 | // dados para o grafico |
415 | 418 | $i(idjanela + "i3GEOgraficointerativo1guia2").onclick = function() { |
416 | - if (i3GEOF.graficointerativo1.propJanelas[idjanela].tipo === "") { | |
419 | + if (i3GEOF.graficointerativo1.tipo == "" && i3GEOF.graficointerativo1.propJanelas[idjanela].tipo && i3GEOF.graficointerativo1.propJanelas[idjanela].tipo === "") { | |
417 | 420 | alert($trad(4, i3GEOF.graficointerativo1.dicionario)); |
418 | 421 | return; |
419 | 422 | } |
423 | + if (i3GEOF.graficointerativo1.propJanelas[idjanela].tipo == undefined || i3GEOF.graficointerativo1.propJanelas[idjanela].tipo === "") { | |
424 | + i3GEOF.graficointerativo1.propJanelas[idjanela].tipo = i3GEOF.graficointerativo1.tipo; | |
425 | + } | |
420 | 426 | i3GEO.guias.mostraGuiaFerramenta(idjanela + "i3GEOgraficointerativo1guia2", idjanela + "i3GEOgraficointerativo1guia"); |
421 | 427 | i3GEOF.graficointerativo1.configuraDados(idjanela); |
422 | 428 | $i(idjanela + "i3GEOgraficointerativo1Grafico").style.display = "none"; |
... | ... | @@ -504,11 +510,11 @@ i3GEOF.graficointerativo1 = |
504 | 510 | }, |
505 | 511 | /** |
506 | 512 | * Function: html |
507 | - * | |
513 | + * | |
508 | 514 | * Gera o código html para apresentação das opções da ferramenta |
509 | - * | |
515 | + * | |
510 | 516 | * Retorno: |
511 | - * | |
517 | + * | |
512 | 518 | * String com o código html |
513 | 519 | */ |
514 | 520 | html : function(idjanela) { |
... | ... | @@ -517,15 +523,15 @@ i3GEOF.graficointerativo1 = |
517 | 523 | }, |
518 | 524 | /** |
519 | 525 | * Function: iniciaJanelaFlutuante |
520 | - * | |
526 | + * | |
521 | 527 | * Cria a janela flutuante para controle da ferramenta. |
522 | - * | |
528 | + * | |
523 | 529 | * Parametro: |
524 | - * | |
530 | + * | |
525 | 531 | * parametros {obj} - parametros para o gráfico. Contem parametros utilizados para configurar o grafico e tambem pode conter |
526 | 532 | * os dados. Para compatibilidade, se nao contiver o item com chave chamada dados, sera considerado como sendo um objeto com apenas |
527 | 533 | * os dados estatisticos |
528 | - * | |
534 | + * | |
529 | 535 | */ |
530 | 536 | iniciaJanelaFlutuante : function(parametros) { |
531 | 537 | var minimiza, cabecalho, janela, divid, temp, titulo, idjanela; |
... | ... | @@ -648,7 +654,7 @@ i3GEOF.graficointerativo1 = |
648 | 654 | }, |
649 | 655 | /** |
650 | 656 | * Function: ativaFoco |
651 | - * | |
657 | + * | |
652 | 658 | * Refaz a interface da ferramenta quando a janela flutuante tem seu foco ativado |
653 | 659 | */ |
654 | 660 | ativaFoco : function(idjanela) { |
... | ... | @@ -679,7 +685,7 @@ i3GEOF.graficointerativo1 = |
679 | 685 | }, |
680 | 686 | /** |
681 | 687 | * Function: comboTemas |
682 | - * | |
688 | + * | |
683 | 689 | * Monta o combo para escolha do tema que será utilizado no gráfico |
684 | 690 | */ |
685 | 691 | comboTemas : function(idjanela) { |
... | ... | @@ -706,7 +712,7 @@ i3GEOF.graficointerativo1 = |
706 | 712 | }, |
707 | 713 | /** |
708 | 714 | * Function: ativaTipo |
709 | - * | |
715 | + * | |
710 | 716 | * Define a variável com o tipo de gráfico e mostra a guia2 |
711 | 717 | */ |
712 | 718 | ativaTipo : function(obj, idjanela) { |
... | ... | @@ -746,7 +752,7 @@ i3GEOF.graficointerativo1 = |
746 | 752 | }, |
747 | 753 | /** |
748 | 754 | * Function: configuraDados |
749 | - * | |
755 | + * | |
750 | 756 | * Configura o formulário para obtenção dos dados para cada tipo de gráfico |
751 | 757 | */ |
752 | 758 | configuraDados : function(idjanela) { |
... | ... | @@ -769,11 +775,11 @@ i3GEOF.graficointerativo1 = |
769 | 775 | }, |
770 | 776 | /** |
771 | 777 | * Function: comboItensSel |
772 | - * | |
778 | + * | |
773 | 779 | * Cria um combo para selecionar os itens do tema escolhido |
774 | - * | |
780 | + * | |
775 | 781 | * Veja: |
776 | - * | |
782 | + * | |
777 | 783 | * <i3GEO.util.comboItens> |
778 | 784 | */ |
779 | 785 | comboItensSel : function(idjanela) { |
... | ... | @@ -792,7 +798,7 @@ i3GEOF.graficointerativo1 = |
792 | 798 | i3GEOF.graficointerativo1.propJanelas[idjanela].dadosComboItens = retorno; |
793 | 799 | //para escolher o item de Y |
794 | 800 | var temp = retorno.dados.replace(idjanela + "i3GEOgraficointerativo1ComboXid",idjanela + "i3GEOgraficointerativo1ComboYid"); |
795 | - | |
801 | + | |
796 | 802 | $i(idjanela + "i3GEOgraficointerativo1ComboY").innerHTML = |
797 | 803 | "<div>" + temp + " <input title='" + $trad(33, i3GEOF.graficointerativo1.dicionario) |
798 | 804 | + "' class=digitar type=text size=20 id='" + idjanela |
... | ... | @@ -854,11 +860,11 @@ i3GEOF.graficointerativo1 = |
854 | 860 | }, |
855 | 861 | /** |
856 | 862 | * Function: obterDados |
857 | - * | |
863 | + * | |
858 | 864 | * Obtém os dados que serão utilizados no gráfico |
859 | - * | |
865 | + * | |
860 | 866 | * Veja: |
861 | - * | |
867 | + * | |
862 | 868 | * <GRAFICOSELECAO> |
863 | 869 | */ |
864 | 870 | obterDados : function(idjanela) { |
... | ... | @@ -994,11 +1000,11 @@ i3GEOF.graficointerativo1 = |
994 | 1000 | }, |
995 | 1001 | /** |
996 | 1002 | * Function: montaTabelaDados |
997 | - * | |
1003 | + * | |
998 | 1004 | * Monta a tabela com os dados que serão utilizados no gráfico |
999 | - * | |
1005 | + * | |
1000 | 1006 | * Parametro: |
1001 | - * | |
1007 | + * | |
1002 | 1008 | * retorno {JSON} - dados no formato JSON |
1003 | 1009 | */ |
1004 | 1010 | montaTabelaDados : function(idjanela, retorno) { |
... | ... | @@ -1057,7 +1063,7 @@ i3GEOF.graficointerativo1 = |
1057 | 1063 | }, |
1058 | 1064 | /** |
1059 | 1065 | * Function: tabela2csv |
1060 | - * | |
1066 | + * | |
1061 | 1067 | * Obtém os dados da tabela em CSV |
1062 | 1068 | */ |
1063 | 1069 | tabela2csv : function(idjanela) { |
... | ... | @@ -1076,7 +1082,7 @@ i3GEOF.graficointerativo1 = |
1076 | 1082 | }, |
1077 | 1083 | /** |
1078 | 1084 | * Function: tabela2dados |
1079 | - * | |
1085 | + * | |
1080 | 1086 | * Obtém os dados da tabela para compor o gráfico |
1081 | 1087 | */ |
1082 | 1088 | tabela2dados : function(idjanela) { |
... | ... | @@ -1199,7 +1205,7 @@ i3GEOF.graficointerativo1 = |
1199 | 1205 | }, |
1200 | 1206 | /** |
1201 | 1207 | * Function: excluilinha |
1202 | - * | |
1208 | + * | |
1203 | 1209 | * Exclui uma linha da tabela de dados |
1204 | 1210 | */ |
1205 | 1211 | excluilinha : function(celula) { |
... | ... | @@ -1211,7 +1217,7 @@ i3GEOF.graficointerativo1 = |
1211 | 1217 | }, |
1212 | 1218 | /** |
1213 | 1219 | * Function: corj |
1214 | - * | |
1220 | + * | |
1215 | 1221 | * Abre a janela para o usuário selecionar uma cor interativamente |
1216 | 1222 | */ |
1217 | 1223 | corj : function(obj) { |
... | ... | @@ -1219,7 +1225,7 @@ i3GEOF.graficointerativo1 = |
1219 | 1225 | }, |
1220 | 1226 | /** |
1221 | 1227 | * Function: ordenaColuna |
1222 | - * | |
1228 | + * | |
1223 | 1229 | * Ordena uma coluna da tabela |
1224 | 1230 | */ |
1225 | 1231 | ordenaColuna : function(coluna, cid) { | ... | ... |
ferramentas/imprimir/propriedades.htm
... | ... | @@ -16,16 +16,16 @@ body { |
16 | 16 | <body class="yui-skin-sam"> |
17 | 17 | <div id=guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;"> |
18 | 18 | <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;"> |
19 | - <li><a href="#ancora"><em><div id="guia1" style="text-align:center;font-size:10px;left:0px;" >Título</div></em></a></li> | |
20 | - <li><a href="#ancora"><em><div id="guia2" style="text-align:center;font-size:10px;left:0px;" >Legenda</div></em></a></li> | |
21 | - <li><a href="#ancora"><em><div id="guia3" style="text-align:center;font-size:10px;left:0px;" >Escala num.</div></em></a></li> | |
22 | - <li><a href="#ancora"><em><div id="guia5" style="text-align:center;font-size:10px;left:0px;" >Mapa</div></em></a></li> | |
23 | - <li><a href="#ancora"><em><div id="guia6" style="text-align:center;font-size:10px;left:0px;" >Fecha</div></em></a></li> | |
19 | + <li><div id="guia1" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Título</em></a></div></li> | |
20 | + <li><div id="guia2" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Legenda</em></a></div></li> | |
21 | + <li><div id="guia3" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Escala num.</em></a></div></li> | |
22 | + <li><div id="guia5" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Mapa</em></a></div></li> | |
23 | + <li><div id="guia6" style="text-align:center;font-size:10px;left:0px;" ><a href="#ancora"><em>Fecha</em></a></div></li> | |
24 | 24 | </ul> |
25 | 25 | </div> |
26 | 26 | <div id=geral style="left:0px;top:0px;"> |
27 | 27 | <div id=guia1obj style="display:block;text-align:left;position:relative;top:5px;left:0px"> |
28 | - <table class=lista width="250px"> | |
28 | + <table class=lista style="width:250px"> | |
29 | 29 | <tr> |
30 | 30 | <td>Texto</td> |
31 | 31 | <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.texto()" /></td> |
... | ... | @@ -33,58 +33,58 @@ body { |
33 | 33 | </tr> |
34 | 34 | <tr> |
35 | 35 | <td>Topo</td> |
36 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.topo()" /></td></td> | |
36 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.topo()" /></td> | |
37 | 37 | <td><input type=text class=digitar size=10 value="0" id=tituloTopo /></td> |
38 | 38 | </tr> |
39 | 39 | <tr> |
40 | 40 | <td>Esquerda</td> |
41 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.esquerda()" /></td></td> | |
41 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.esquerda()" /></td> | |
42 | 42 | <td><input type=text class=digitar size=10 value="0" id=tituloEsquerda /></td> |
43 | 43 | </tr> |
44 | 44 | <tr> |
45 | 45 | <td>Tamanho</td> |
46 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.tamanho()" /></td></td> | |
46 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.tamanho()" /></td> | |
47 | 47 | <td><input type=text class=digitar size=10 value="14" id=tituloTamanho /></td> |
48 | 48 | </tr> |
49 | 49 | <tr> |
50 | 50 | <td>Largura</td> |
51 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.largura()" /></td></td> | |
51 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.largura()" /></td> | |
52 | 52 | <td><input type=text class=digitar size=10 value="0" id=tituloLargura /></td> |
53 | 53 | </tr> |
54 | 54 | <tr> |
55 | 55 | <td>Cor do texto</td> |
56 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.cor()" /></td></td> | |
56 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.cor()" /></td> | |
57 | 57 | <td><input type=text class=digitar size=15 value="0,0,0" id=tituloCor /> |
58 | 58 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','tituloCor','rgb')" /> |
59 | 59 | </td> |
60 | 60 | </tr> |
61 | 61 | <tr> |
62 | 62 | <td>Cor do fundo</td> |
63 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.fundo()" /></td></td> | |
63 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.fundo()" /></td> | |
64 | 64 | <td><input type=text class=digitar size=15 value="255,255,255" id=tituloFundo /> |
65 | 65 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','tituloFundo','rgb')" /> |
66 | 66 | </td> |
67 | 67 | </tr> |
68 | 68 | <tr> |
69 | 69 | <td>Margem</td> |
70 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.padding()" /></td></td> | |
70 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.padding()" /></td> | |
71 | 71 | <td><input type=text class=digitar size=10 value="0" id=tituloPadding /></td> |
72 | - </tr> | |
72 | + </tr> | |
73 | 73 | <tr> |
74 | 74 | <td>Tamanho da borda</td> |
75 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.borda()" /></td></td> | |
75 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.borda()" /></td> | |
76 | 76 | <td><input type=text class=digitar size=10 value="0" id=tituloBorda /></td> |
77 | 77 | </tr> |
78 | 78 | <tr> |
79 | 79 | <td>Cor da borda</td> |
80 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.bordacor()" /></td></td> | |
80 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.bordacor()" /></td> | |
81 | 81 | <td><input type=text class=digitar size=10 value="0,0,0" id=tituloBordacor /> |
82 | 82 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','tituloBordacor','rgb')" /> |
83 | 83 | </td> |
84 | 84 | </tr> |
85 | 85 | <tr> |
86 | 86 | <td>Estilo da borda</td> |
87 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.bordaestilo()" /></td></td> | |
87 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objtitulo.bordaestilo()" /></td> | |
88 | 88 | <td><select id=tituloBordaestilo > |
89 | 89 | <option value=none >nenhuma</option> |
90 | 90 | <option value=solid >sólida</option> |
... | ... | @@ -96,56 +96,56 @@ body { |
96 | 96 | </table> |
97 | 97 | </div> |
98 | 98 | <div id=guia2obj style="display:none;text-align:left;position:relative;top:5px;left:0px"> |
99 | - <table class=lista width="250px"> | |
99 | + <table class=lista style="width:250px"> | |
100 | 100 | <tr> |
101 | 101 | <td>Topo</td> |
102 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.topo()" /></td></td> | |
102 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.topo()" /></td> | |
103 | 103 | <td><input type=text class=digitar size=10 value="20" id=legendaTopo /></td> |
104 | 104 | </tr> |
105 | 105 | <tr> |
106 | 106 | <td>Esquerda</td> |
107 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.esquerda()" /></td></td> | |
107 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.esquerda()" /></td> | |
108 | 108 | <td><input type=text class=digitar size=10 value="0" id=legendaEsquerda /></td> |
109 | 109 | </tr> |
110 | 110 | <tr> |
111 | 111 | <td>Largura</td> |
112 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.largura()" /></td></td> | |
112 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.largura()" /></td> | |
113 | 113 | <td><input type=text class=digitar size=10 value="150" id=legendaLargura /></td> |
114 | 114 | </tr> |
115 | 115 | <tr> |
116 | 116 | <td>Cor do texto</td> |
117 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.cor()" /></td></td> | |
117 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.cor()" /></td> | |
118 | 118 | <td><input type=text class=digitar size=15 value="0,0,0" id=legendaCor /> |
119 | 119 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','legendaCor','rgb')" /> |
120 | 120 | </td> |
121 | 121 | </tr> |
122 | 122 | <tr> |
123 | 123 | <td>Cor do fundo</td> |
124 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.fundo()" /></td></td> | |
124 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.fundo()" /></td> | |
125 | 125 | <td><input type=text class=digitar size=15 value="255,255,255" id=legendaFundo /> |
126 | 126 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','legendaFundo','rgb')" /> |
127 | 127 | </td> |
128 | 128 | </tr> |
129 | 129 | <tr> |
130 | 130 | <td>Margem</td> |
131 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.padding()" /></td></td> | |
131 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.padding()" /></td> | |
132 | 132 | <td><input type=text class=digitar size=10 value="0" id=legendaPadding /></td> |
133 | - </tr> | |
133 | + </tr> | |
134 | 134 | <tr> |
135 | 135 | <td>Tamanho da borda</td> |
136 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.borda()" /></td></td> | |
136 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.borda()" /></td> | |
137 | 137 | <td><input type=text class=digitar size=10 value="0" id=legendaBorda /></td> |
138 | 138 | </tr> |
139 | 139 | <tr> |
140 | 140 | <td>Cor da borda</td> |
141 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.bordacor()" /></td></td> | |
141 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.bordacor()" /></td> | |
142 | 142 | <td><input type=text class=digitar size=10 value="0,0,0" id=legendaBordacor /> |
143 | 143 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','legendaBordacor','rgb')" /> |
144 | 144 | </td> |
145 | 145 | </tr> |
146 | 146 | <tr> |
147 | 147 | <td>Estilo da borda</td> |
148 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.bordaestilo()" /></td></td> | |
148 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objlegenda.bordaestilo()" /></td> | |
149 | 149 | <td><select id=legendaBordaestilo > |
150 | 150 | <option value=none >nenhuma</option> |
151 | 151 | <option value=solid >sólida</option> |
... | ... | @@ -157,61 +157,61 @@ body { |
157 | 157 | </table> |
158 | 158 | </div> |
159 | 159 | <div id=guia3obj style="display:none;text-align:left;position:relative;top:5px;left:0px"> |
160 | - <table class=lista width="250px"> | |
160 | + <table class=lista style="width:250px"> | |
161 | 161 | <tr> |
162 | 162 | <td>Topo</td> |
163 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.topo()" /></td></td> | |
163 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.topo()" /></td> | |
164 | 164 | <td><input type=text class=digitar size=10 value="40" id=escalanumericaTopo /></td> |
165 | 165 | </tr> |
166 | 166 | <tr> |
167 | 167 | <td>Esquerda</td> |
168 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.esquerda()" /></td></td> | |
168 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.esquerda()" /></td> | |
169 | 169 | <td><input type=text class=digitar size=10 value="150" id=escalanumericaEsquerda /></td> |
170 | 170 | </tr> |
171 | 171 | <tr> |
172 | 172 | <td>Tamanho</td> |
173 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.tamanho()" /></td></td> | |
173 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.tamanho()" /></td> | |
174 | 174 | <td><input type=text class=digitar size=10 value="14" id=escalanumericaTamanho /></td> |
175 | 175 | </tr> |
176 | 176 | <tr> |
177 | 177 | <td>Largura</td> |
178 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.largura()" /></td></td> | |
178 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.largura()" /></td> | |
179 | 179 | <td><input type=text class=digitar size=10 value="0" id=escalanumericaLargura /></td> |
180 | 180 | </tr> |
181 | 181 | <tr> |
182 | 182 | <td>Cor do texto</td> |
183 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.cor()" /></td></td> | |
183 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.cor()" /></td> | |
184 | 184 | <td><input type=text class=digitar size=15 value="0,0,0" id=escalanumericaCor /> |
185 | 185 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','escalanumericacor','rgb')" /> |
186 | 186 | </td> |
187 | 187 | </tr> |
188 | 188 | <tr> |
189 | 189 | <td>Cor do fundo</td> |
190 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.fundo()" /></td></td> | |
190 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.fundo()" /></td> | |
191 | 191 | <td><input type=text class=digitar size=15 value="255,255,255" id=escalanumericaFundo /> |
192 | 192 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','escalanumericaFundo','rgb')" /> |
193 | 193 | </td> |
194 | 194 | </tr> |
195 | 195 | <tr> |
196 | 196 | <td>Margem</td> |
197 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.padding()" /></td></td> | |
197 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.padding()" /></td> | |
198 | 198 | <td><input type=text class=digitar size=10 value="0" id=escalanumericaPadding /></td> |
199 | - </tr> | |
199 | + </tr> | |
200 | 200 | <tr> |
201 | 201 | <td>Tamanho da borda</td> |
202 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.borda()" /></td></td> | |
202 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.borda()" /></td> | |
203 | 203 | <td><input type=text class=digitar size=10 value="0" id=escalanumericaBorda /></td> |
204 | 204 | </tr> |
205 | 205 | <tr> |
206 | 206 | <td>Cor da borda</td> |
207 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.bordacor()" /></td></td> | |
207 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.bordacor()" /></td> | |
208 | 208 | <td><input type=text class=digitar size=10 value="0,0,0" id=escalanumericaBordacor /> |
209 | 209 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','escalanumericaBordacor','rgb')" /> |
210 | 210 | </td> |
211 | 211 | </tr> |
212 | 212 | <tr> |
213 | 213 | <td>Estilo da borda</td> |
214 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.bordaestilo()" /></td></td> | |
214 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objescalanumerica.bordaestilo()" /></td> | |
215 | 215 | <td><select id=escalanumericaBordaestilo > |
216 | 216 | <option value=none >nenhuma</option> |
217 | 217 | <option value=solid >sólida</option> |
... | ... | @@ -223,49 +223,49 @@ body { |
223 | 223 | </table> |
224 | 224 | </div> |
225 | 225 | <div id=guia5obj style="display:none;text-align:left;position:relative;top:5px;left:0px"> |
226 | - <table class=lista width="250px"> | |
226 | + <table class=lista style="width:250px"> | |
227 | 227 | <tr> |
228 | 228 | <td>Topo</td> |
229 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.topo()" /></td></td> | |
229 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.topo()" /></td> | |
230 | 230 | <td><input type=text class=digitar size=10 value="20" id=mapaTopo /></td> |
231 | 231 | </tr> |
232 | 232 | <tr> |
233 | 233 | <td>Esquerda</td> |
234 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.esquerda()" /></td></td> | |
234 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.esquerda()" /></td> | |
235 | 235 | <td><input type=text class=digitar size=10 value="150" id=mapaEsquerda /></td> |
236 | 236 | </tr> |
237 | 237 | <tr> |
238 | 238 | <td>Largura</td> |
239 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.largura()" /></td></td> | |
239 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.largura()" /></td> | |
240 | 240 | <td><input type=text class=digitar size=10 value="0" id=mapaLargura /></td> |
241 | 241 | </tr> |
242 | 242 | <tr> |
243 | 243 | <td>Cor do fundo</td> |
244 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.fundo()" /></td></td> | |
244 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.fundo()" /></td> | |
245 | 245 | <td><input type=text class=digitar size=15 value="255,255,255" id=mapaFundo /> |
246 | 246 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','mapaFundo','rgb')" /> |
247 | 247 | </td> |
248 | 248 | </tr> |
249 | 249 | <tr> |
250 | 250 | <td>Margem</td> |
251 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.padding()" /></td></td> | |
251 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.padding()" /></td> | |
252 | 252 | <td><input type=text class=digitar size=10 value="0" id=mapaPadding /></td> |
253 | - </tr> | |
253 | + </tr> | |
254 | 254 | <tr> |
255 | 255 | <td>Tamanho da borda</td> |
256 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.borda()" /></td></td> | |
256 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.borda()" /></td> | |
257 | 257 | <td><input type=text class=digitar size=10 value="0" id=mapaBorda /></td> |
258 | 258 | </tr> |
259 | 259 | <tr> |
260 | 260 | <td>Cor da borda</td> |
261 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.bordacor()" /></td></td> | |
261 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.bordacor()" /></td> | |
262 | 262 | <td><input type=text class=digitar size=10 value="0,0,0" id=mapaBordacor /> |
263 | 263 | <img alt="aquarela.gif" style=cursor:pointer src='../../imagens/aquarela.gif' onclick="i3GEO.util.abreCor('','mapaBordacor','rgb')" /> |
264 | 264 | </td> |
265 | 265 | </tr> |
266 | 266 | <tr> |
267 | 267 | <td>Estilo da borda</td> |
268 | - <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.bordaestilo()" /></td></td> | |
268 | + <td><img src="../../imagens/tic.png" style="cursor:pointer" onclick="javascript:objmapa.bordaestilo()" /></td> | |
269 | 269 | <td><select id=mapaBordaestilo > |
270 | 270 | <option value=none >nenhuma</option> |
271 | 271 | <option value=solid >sólida</option> |
... | ... | @@ -281,7 +281,7 @@ body { |
281 | 281 | </div> |
282 | 282 | <script type="text/javascript" src="../../classesjs/i3geo.js"> </script> |
283 | 283 | <script>i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo";</script> |
284 | -<script language="JavaScript" type="text/javascript" src="propriedades.js"></script> | |
284 | +<script type="text/javascript" src="propriedades.js"></script> | |
285 | 285 | |
286 | 286 | </body> |
287 | 287 | </html> |
288 | 288 | \ No newline at end of file | ... | ... |
ferramentas/legenda/index.js
... | ... | @@ -1019,7 +1019,7 @@ i3GEOF.legenda = { |
1019 | 1019 | var p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&opcao=pegaparametros&tema="+i3GEOF.legenda.tema+"&classe="+i3GEOF.legenda.classe, |
1020 | 1020 | cp = new cpaint(); |
1021 | 1021 | cp.set_response_type("JSON"); |
1022 | - cp.call(p,"pegaParametrosMapa",i3GEOF.legenda.montaEditor); | |
1022 | + cp.call(p,"pegaParametrosMapa",i3GEOF.legenda.montaEditor); | |
1023 | 1023 | }, |
1024 | 1024 | /* |
1025 | 1025 | Function: simbU |
... | ... | @@ -1073,7 +1073,7 @@ i3GEOF.legenda = { |
1073 | 1073 | else{ |
1074 | 1074 | p += "&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.extentTotal); |
1075 | 1075 | } |
1076 | - | |
1076 | + | |
1077 | 1077 | if (item == "") |
1078 | 1078 | {i3GEO.janela.tempoMsg($trad(81,i3GEOF.legenda.dicionario));return;} |
1079 | 1079 | i3GEOF.legenda.aguarde.visibility = "visible"; |
... | ... | @@ -1509,8 +1509,8 @@ i3GEOF.legenda = { |
1509 | 1509 | new YAHOO.widget.Button( |
1510 | 1510 | "i3GEOlegendaGraficoPizza", |
1511 | 1511 | {onclick:{fn: function(){ |
1512 | - var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo/index.js.php"; | |
1513 | - i3GEO.util.scriptTag(js,"i3GEOF.legenda.iniciaGraficoPizza()","i3GEOF.graficointerativo_script"); | |
1512 | + var js = i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php"; | |
1513 | + i3GEO.util.scriptTag(js,"i3GEOF.legenda.iniciaGraficoPizza()","i3GEOF.graficointerativo1_script"); | |
1514 | 1514 | } |
1515 | 1515 | }} |
1516 | 1516 | ); |
... | ... | @@ -1531,8 +1531,8 @@ i3GEOF.legenda = { |
1531 | 1531 | "dados":i3GEOF.legenda.dadosGrafico |
1532 | 1532 | } |
1533 | 1533 | }; |
1534 | - i3GEOF.graficointerativo.tipo = "pizza2d"; | |
1535 | - i3GEOF.graficointerativo.criaJanelaFlutuante(dados); | |
1534 | + i3GEOF.graficointerativo1.tipo = "pizza_1"; | |
1535 | + i3GEOF.graficointerativo1.iniciaJanelaFlutuante(dados); | |
1536 | 1536 | }, |
1537 | 1537 | /* |
1538 | 1538 | Function: aplicaProcessos | ... | ... |
ferramentas/metaestat/templates/semguias_lateral.php
... | ... | @@ -59,6 +59,12 @@ $dadosmapa = dadosmapa("../../../"); |
59 | 59 | vertical-align: middle; |
60 | 60 | } |
61 | 61 | </style> |
62 | +<script src="../../../classesjs/i3geo.js"></script> | |
63 | +<script src="../index.js"></script> | |
64 | +<script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
65 | +<script src="lib/configbasicoi3geo.js" ></script> | |
66 | +<script src="../dicionario.js" ></script> | |
67 | +<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
62 | 68 | </head> |
63 | 69 | <body id="i3geo" > |
64 | 70 | <table width="100%" border="0" cellpadding="0" cellspacing="0" class="banner"> |
... | ... | @@ -131,12 +137,7 @@ $dadosmapa = dadosmapa("../../../"); |
131 | 137 | <!-- utilizado pelo seletor de colourramp --> |
132 | 138 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
133 | 139 | |
134 | -<script src="../../../classesjs/i3geo.js"></script> | |
135 | -<script src="../index.js"></script> | |
136 | -<script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
137 | -<script src="lib/configbasicoi3geo.js" ></script> | |
138 | -<script src="../dicionario.js" ></script> | |
139 | -<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
140 | + | |
140 | 141 | <script> |
141 | 142 | i3GEO.finalizaAPI = '$i("guia1obj").style.height = 20 + i3GEO.parametros.h+"px";'; |
142 | 143 | i3GEO.barraDeBotoes.OFFSET = 7; | ... | ... |
ferramentas/metaestat/templates/semguias_lateral_google.php
... | ... | @@ -59,6 +59,12 @@ $dadosmapa = dadosmapa("../../../"); |
59 | 59 | vertical-align: middle; |
60 | 60 | } |
61 | 61 | </style> |
62 | +<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
63 | +<script src="../../../classesjs/i3geo.js"></script> | |
64 | +<script src="../index.js"></script> | |
65 | +<script src="lib/configgmi3geo.js" ></script> | |
66 | +<script src="../dicionario.js" ></script> | |
67 | +<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
62 | 68 | </head> |
63 | 69 | <body id="i3geo" > |
64 | 70 | <table width="100%" border="0" cellpadding="0" cellspacing="0" class="banner"> |
... | ... | @@ -132,12 +138,7 @@ $dadosmapa = dadosmapa("../../../"); |
132 | 138 | </table> |
133 | 139 | <!-- utilizado pelo seletor de colourramp --> |
134 | 140 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
135 | -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
136 | -<script src="../../../classesjs/i3geo.js"></script> | |
137 | -<script src="../index.js"></script> | |
138 | -<script src="lib/configgmi3geo.js" ></script> | |
139 | -<script src="../dicionario.js" ></script> | |
140 | -<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
141 | + | |
141 | 142 | <script> |
142 | 143 | //i3GEO.finalizaAPI = '$i("guia1obj").style.height = 20 + i3GEO.parametros.h+"px";'; |
143 | 144 | i3GEO.finalizaAPI = function(){ | ... | ... |
ferramentas/metaestat/templates/semguias_lateral_google_noite.php
... | ... | @@ -59,6 +59,12 @@ $dadosmapa = dadosmapa("../../../"); |
59 | 59 | vertical-align: middle; |
60 | 60 | } |
61 | 61 | </style> |
62 | +<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
63 | +<script src="../../../classesjs/i3geo.js"></script> | |
64 | +<script src="../index.js"></script> | |
65 | +<script src="lib/configgmi3geo.js" ></script> | |
66 | +<script src="../dicionario.js" ></script> | |
67 | +<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
62 | 68 | </head> |
63 | 69 | <body id="i3geo" > |
64 | 70 | <table width="100%" border="0" cellpadding="0" cellspacing="0" class="banner"> |
... | ... | @@ -132,12 +138,7 @@ $dadosmapa = dadosmapa("../../../"); |
132 | 138 | </table> |
133 | 139 | <!-- utilizado pelo seletor de colourramp --> |
134 | 140 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
135 | -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
136 | -<script src="../../../classesjs/i3geo.js"></script> | |
137 | -<script src="../index.js"></script> | |
138 | -<script src="lib/configgmi3geo.js" ></script> | |
139 | -<script src="../dicionario.js" ></script> | |
140 | -<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
141 | + | |
141 | 142 | <script> |
142 | 143 | //i3GEO.finalizaAPI = '$i("guia1obj").style.height = 20 + i3GEO.parametros.h+"px";'; |
143 | 144 | i3GEO.finalizaAPI = function(){ | ... | ... |
ferramentas/metaestat/templates/simples_fixa.php
... | ... | @@ -60,6 +60,12 @@ $dadosmapa = dadosmapa("../../../"); |
60 | 60 | vertical-align: middle; |
61 | 61 | } |
62 | 62 | </style> |
63 | + <script src="../../../classesjs/i3geo.js"></script> | |
64 | + <script src="../index.js"></script> | |
65 | + <script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
66 | + <script src="lib/configbasicoi3geo.js"></script> | |
67 | + <script src="../dicionario.js"></script> | |
68 | + <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
63 | 69 | </head> |
64 | 70 | <body id="i3geo"> |
65 | 71 | <table width="100%" border="0" cellpadding="0" cellspacing="0" |
... | ... | @@ -151,12 +157,7 @@ $dadosmapa = dadosmapa("../../../"); |
151 | 157 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" |
152 | 158 | onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
153 | 159 | |
154 | - <script src="../../../classesjs/i3geo.js"></script> | |
155 | - <script src="../index.js"></script> | |
156 | - <script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
157 | - <script src="lib/configbasicoi3geo.js"></script> | |
158 | - <script src="../dicionario.js"></script> | |
159 | - <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
160 | + | |
160 | 161 | <script> |
161 | 162 | i3GEO.barraDeBotoes.OFFSET = 7; |
162 | 163 | i3GEO.barraDeBotoes.defBotao("localizar").funcaoonclick = function(){ | ... | ... |
ferramentas/metaestat/templates/simples_fixa_google.php
... | ... | @@ -60,6 +60,12 @@ $dadosmapa = dadosmapa("../../../"); |
60 | 60 | vertical-align: middle; |
61 | 61 | } |
62 | 62 | </style> |
63 | +<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
64 | + <script src="../../../classesjs/i3geo.js"></script> | |
65 | + <script src="../index.js"></script> | |
66 | + <script src="lib/configgmi3geo.js"></script> | |
67 | + <script src="../dicionario.js"></script> | |
68 | + <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
63 | 69 | </head> |
64 | 70 | <body id="i3geo"> |
65 | 71 | <table width="100%" border="0" cellpadding="0" cellspacing="0" |
... | ... | @@ -99,8 +105,8 @@ $dadosmapa = dadosmapa("../../../"); |
99 | 105 | <td class=tdbranca> |
100 | 106 | <table width=100%> |
101 | 107 | <tr> |
102 | - | |
103 | - | |
108 | + | |
109 | + | |
104 | 110 | <td class=tdbranca style="width: 20%;"> |
105 | 111 | <div id=seletorIdiomas ></div> |
106 | 112 | </td> |
... | ... | @@ -155,12 +161,7 @@ $dadosmapa = dadosmapa("../../../"); |
155 | 161 | <!-- utilizado pelo seletor de colourramp --> |
156 | 162 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" |
157 | 163 | onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
158 | -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
159 | - <script src="../../../classesjs/i3geo.js"></script> | |
160 | - <script src="../index.js"></script> | |
161 | - <script src="lib/configgmi3geo.js"></script> | |
162 | - <script src="../dicionario.js"></script> | |
163 | - <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
164 | + | |
164 | 165 | <script> |
165 | 166 | i3GEO.barraDeBotoes.OFFSET = -10; |
166 | 167 | i3GEO.barraDeBotoes.defBotao("localizar").funcaoonclick = function(){ | ... | ... |
ferramentas/metaestat/templates/simples_fixa_google_noite.php
... | ... | @@ -60,6 +60,12 @@ $dadosmapa = dadosmapa("../../../"); |
60 | 60 | vertical-align: middle; |
61 | 61 | } |
62 | 62 | </style> |
63 | +<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
64 | + <script src="../../../classesjs/i3geo.js"></script> | |
65 | + <script src="../index.js"></script> | |
66 | + <script src="lib/configgmi3geo.js"></script> | |
67 | + <script src="../dicionario.js"></script> | |
68 | + <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
63 | 69 | </head> |
64 | 70 | <body id="i3geo"> |
65 | 71 | <table width="100%" border="0" cellpadding="0" cellspacing="0" |
... | ... | @@ -99,8 +105,8 @@ $dadosmapa = dadosmapa("../../../"); |
99 | 105 | <td class=tdbranca> |
100 | 106 | <table width=100%> |
101 | 107 | <tr> |
102 | - | |
103 | - | |
108 | + | |
109 | + | |
104 | 110 | <td class=tdbranca style="width: 20%;"> |
105 | 111 | <div id=seletorIdiomas ></div> |
106 | 112 | </td> |
... | ... | @@ -155,12 +161,7 @@ $dadosmapa = dadosmapa("../../../"); |
155 | 161 | <!-- utilizado pelo seletor de colourramp --> |
156 | 162 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" |
157 | 163 | onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
158 | -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
159 | - <script src="../../../classesjs/i3geo.js"></script> | |
160 | - <script src="../index.js"></script> | |
161 | - <script src="lib/configgmi3geo.js"></script> | |
162 | - <script src="../dicionario.js"></script> | |
163 | - <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
164 | + | |
164 | 165 | <script> |
165 | 166 | i3GEO.barraDeBotoes.OFFSET = -10; |
166 | 167 | i3GEO.barraDeBotoes.defBotao("localizar").funcaoonclick = function(){ | ... | ... |
ferramentas/metaestat/templates/simples_lateral.php
... | ... | @@ -59,6 +59,12 @@ $dadosmapa = dadosmapa("../../../"); |
59 | 59 | vertical-align: middle; |
60 | 60 | } |
61 | 61 | </style> |
62 | +<script src="../../../classesjs/i3geo.js"></script> | |
63 | +<script src="../index.js"></script> | |
64 | +<script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
65 | +<script src="lib/configbasicoi3geo.js" ></script> | |
66 | +<script src="../dicionario.js" ></script> | |
67 | +<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
62 | 68 | </head> |
63 | 69 | <body id="i3geo" > |
64 | 70 | <table width="100%" border="0" cellpadding="0" cellspacing="0" class="banner"> |
... | ... | @@ -146,12 +152,7 @@ $dadosmapa = dadosmapa("../../../"); |
146 | 152 | <!-- utilizado pelo seletor de colourramp --> |
147 | 153 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
148 | 154 | |
149 | -<script src="../../../classesjs/i3geo.js"></script> | |
150 | -<script src="../index.js"></script> | |
151 | -<script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
152 | -<script src="lib/configbasicoi3geo.js" ></script> | |
153 | -<script src="../dicionario.js" ></script> | |
154 | -<link rel="stylesheet" type="text/css" href="lib/default.css"> | |
155 | + | |
155 | 156 | <script> |
156 | 157 | i3GEO.barraDeBotoes.OFFSET = 7; |
157 | 158 | i3GEO.barraDeBotoes.defBotao("localizar").funcaoonclick = function(){ | ... | ... |
ferramentas/metaestat/templates/simples_movel.php
... | ... | @@ -60,6 +60,12 @@ $dadosmapa = dadosmapa("../../../"); |
60 | 60 | vertical-align: middle; |
61 | 61 | } |
62 | 62 | </style> |
63 | + <script src="../../../classesjs/i3geo.js"></script> | |
64 | + <script src="../index.js"></script> | |
65 | + <script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
66 | + <script src="lib/configbasicoi3geo.js"></script> | |
67 | + <script src="../dicionario.js"></script> | |
68 | + <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
63 | 69 | </head> |
64 | 70 | <body id="i3geo"> |
65 | 71 | <table width="100%" border="0" cellpadding="0" cellspacing="0" |
... | ... | @@ -185,12 +191,7 @@ $dadosmapa = dadosmapa("../../../"); |
185 | 191 | <input type=hidden value="" id="listaColourRampAnaliseMetaestat" |
186 | 192 | onchange="i3GEOF.metaestat.analise.aplicaColourRamp()" /> |
187 | 193 | |
188 | - <script src="../../../classesjs/i3geo.js"></script> | |
189 | - <script src="../index.js"></script> | |
190 | - <script src="../../../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
191 | - <script src="lib/configbasicoi3geo.js"></script> | |
192 | - <script src="../dicionario.js"></script> | |
193 | - <link rel="stylesheet" type="text/css" href="lib/default.css"> | |
194 | + | |
194 | 195 | <script> |
195 | 196 | i3GEO.barraDeBotoes.OFFSET = 7; |
196 | 197 | i3GEO.barraDeBotoes.defBotao("localizar").funcaoonclick = function(){ | ... | ... |
ferramentas/navegarquivos/index.js
... | ... | @@ -31,7 +31,7 @@ Classe: i3GEOF.navegarquivos |
31 | 31 | |
32 | 32 | */ |
33 | 33 | i3GEOF.navegarquivos = { |
34 | - //ao concluir, o nome do arquivo será retornado para esse objeto atribuindo o resultado ao atributo value | |
34 | + //ao concluir, o nome do arquivo ser� retornado para esse objeto atribuindo o resultado ao atributo value | |
35 | 35 | retornarPara: "", |
36 | 36 | //guarda o objeto TV |
37 | 37 | arvore: "", |
... | ... | @@ -161,7 +161,7 @@ i3GEOF.navegarquivos = { |
161 | 161 | i3GEO.arvoreDeTemas.LOCAPLIC = i3GEO.configura.locaplic; |
162 | 162 | } |
163 | 163 | var temp = function(retorno){ |
164 | - var drives,iglt,ig,drive,tempNode,prefixo = ""; | |
164 | + var drives,iglt,ig,drive,tempNode; | |
165 | 165 | drives = i3GEO.arvoreDeTemas.DRIVES; |
166 | 166 | if(drives == undefined || drives == "" || drives.length === 0){ |
167 | 167 | drives = retorno.data.drives; | ... | ... |
ferramentas/saiku/saiku-server/tomcat/webapps/ROOT/index.html
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | <!-- Saiku CSS --> |
31 | 31 | <link rel="stylesheet" href="css/saiku/src/styles.css" type="text/css"> |
32 | 32 | <link rel="shortcut icon" href="favicon.ico"> |
33 | - | |
33 | +<link type="text/css" href="js/saiku/plugins/CCC_Chart/tipsy.css" rel="stylesheet" /> | |
34 | 34 | </head> |
35 | 35 | <body> |
36 | 36 | <div id="header" class="hide" style="display: none"></div> |
... | ... | @@ -122,7 +122,7 @@ |
122 | 122 | |
123 | 123 | <script type="text/javascript" src="js/saiku/plugins/CCC_Chart/jquery.tipsy.js"></script> |
124 | 124 | <script type="text/javascript" src="js/saiku/plugins/CCC_Chart/tipsy.js"></script> |
125 | - <link type="text/css" href="js/saiku/plugins/CCC_Chart/tipsy.css" rel="stylesheet" /> | |
125 | + | |
126 | 126 | <script type="text/javascript" src="js/saiku/plugins/CCC_Chart/plugin.js"></script> |
127 | 127 | |
128 | 128 | <script type="text/javascript" src="js/ace/ace.js" charset="utf-8"></script> | ... | ... |
ferramentas/saiku/saiku-server/tomcat/webapps/ROOT/js/jquery/jquery.colourPicker.js
... | ... | @@ -124,7 +124,7 @@ Use it like this: <select name="colour"><?php gwsc(); ?></select>. |
124 | 124 | |
125 | 125 | @exampleJS: |
126 | 126 | jQuery('#jquery-colour-picker-example select').colourPicker({ |
127 | - ico: WEBROOT + 'aFramework/Modules/Base/gfx/jquery.colourPicker.gif', | |
127 | + ico: WEBROOT + 'aFramework/Modules/Base/gfx/jquery.colourPicker.gif', | |
128 | 128 | title: false |
129 | 129 | }); |
130 | 130 | ***/ |
... | ... | @@ -145,7 +145,7 @@ jQuery.fn.colourPicker = function (conf) { |
145 | 145 | var g = hex.substr(2, 2); |
146 | 146 | var b = hex.substr(4, 2); |
147 | 147 | |
148 | - return 0.212671 * r + 0.715160 * g + 0.072169 * b < 0.5 ? 'ffffff' : '000000' | |
148 | + return 0.212671 * r + 0.715160 * g + 0.072169 * b < 0.5 ? 'ffffff' : '000000'; | |
149 | 149 | }; |
150 | 150 | |
151 | 151 | // Add the colour-picker dialogue if not added |
... | ... | @@ -176,16 +176,16 @@ jQuery.fn.colourPicker = function (conf) { |
176 | 176 | var hex = option.val(); |
177 | 177 | var title = option.text(); |
178 | 178 | |
179 | - loc += '<li><a href="#" title="' | |
180 | - + title | |
181 | - + '" rel="' | |
182 | - + hex | |
183 | - + '" style="background: #' | |
184 | - + hex | |
185 | - + '; colour: ' | |
186 | - + hexInvert(hex) | |
187 | - + ';">' | |
188 | - + title | |
179 | + loc += '<li><a href="#" title="' | |
180 | + + title | |
181 | + + '" rel="' | |
182 | + + hex | |
183 | + + '" style="background: #' | |
184 | + + hex | |
185 | + + '; colour: ' | |
186 | + + hexInvert(hex) | |
187 | + + ';">' | |
188 | + + title | |
189 | 189 | + '</a></li>'; |
190 | 190 | }); |
191 | 191 | |
... | ... | @@ -208,8 +208,8 @@ jQuery.fn.colourPicker = function (conf) { |
208 | 208 | var heading = config.title ? '<h2>' + config.title + '</h2>' : ''; |
209 | 209 | |
210 | 210 | colourPicker.html(heading + '<ul>' + loc + '</ul>').css({ |
211 | - position: 'absolute', | |
212 | - left: iconPos.left + 'px', | |
211 | + position: 'absolute', | |
212 | + left: iconPos.left + 'px', | |
213 | 213 | top: iconPos.top + 'px' |
214 | 214 | }).show(config.speed); |
215 | 215 | ... | ... |
ferramentas/saiku/saiku-server/tomcat/webapps/ROOT/js/saiku/plugins/CCC_Chart/plugin.js
... | ... | @@ -32,7 +32,7 @@ var Chart = Backbone.View.extend({ |
32 | 32 | hasProcessed: null, |
33 | 33 | |
34 | 34 | getChartProperties: function(chartName) { |
35 | - var self = this; | |
35 | + //var self = this; | |
36 | 36 | var ret = []; |
37 | 37 | _.each(ChartProperties, function(property) { |
38 | 38 | if (property.ChartObject == chartName) { |
... | ... | @@ -217,7 +217,7 @@ var Chart = Backbone.View.extend({ |
217 | 217 | }, |
218 | 218 | |
219 | 219 | export_button: function(event) { |
220 | - var self = this; | |
220 | + //var self = this; | |
221 | 221 | $target = $(event.target).hasClass('button') ? $(event.target) : $(event.target).parent(); |
222 | 222 | |
223 | 223 | var self = this; | ... | ... |
ferramentas/tabela/template_mst.html
1 | 1 | <div id='{{{idjanela}}}' 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><em><div id='{{{idjanela}}}i3GEOtabelaguia6' style='text-align: center; left: 0px;'> | |
4 | - <img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'> | |
5 | - </div></em></a></li> | |
6 | - <li><a><em><div id='{{{idjanela}}}i3GEOtabelaguia1' style='text-align: center; left: 0px;'>{{{registros}}}</div></em></a></li> | |
7 | - <li><a><em><div id='{{{idjanela}}}i3GEOtabelaguia3' style='text-align: center; left: 0px;'>{{{estatisticas}}}</div></em></a></li> | |
8 | - <li><a><em><div id='{{{idjanela}}}i3GEOtabelaguia5' style='text-align: center; left: 0px;'>{{{relat}}}</div></em></a></li> | |
3 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia6' style='text-align: center; left: 0px;'> | |
4 | + <a><em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'></em></a> | |
5 | + </div></li> | |
6 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia1' style='text-align: center; left: 0px;'><a><em>{{{registros}}}</em></a></div></li> | |
7 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia3' style='text-align: center; left: 0px;'><a><em>{{{estatisticas}}}</em></a></div></li> | |
8 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia5' style='text-align: center; left: 0px;'><a><em>{{{relat}}}</em></a></div></li> | |
9 | 9 | </ul> |
10 | 10 | </div> |
11 | 11 | <br> | ... | ... |