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