From b7d5f361ee8d66029cd32755960908ee5a6bd9e9 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Mon, 30 Jan 2012 02:17:09 +0000 Subject: [PATCH] --- admin/admin.db | Bin 75776 -> 0 bytes documentacao/manual_de_usuario_do_i3geo.odt | Bin 6313887 -> 0 bytes ferramentas/legenda/index.js.php | 42 ++++++++++++++++++++++++------------------ 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/admin/admin.db b/admin/admin.db index 4e5b0f9..397914f 100644 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/documentacao/manual_de_usuario_do_i3geo.odt b/documentacao/manual_de_usuario_do_i3geo.odt index 2112d26..c00a7e2 100644 Binary files a/documentacao/manual_de_usuario_do_i3geo.odt and b/documentacao/manual_de_usuario_do_i3geo.odt differ diff --git a/ferramentas/legenda/index.js.php b/ferramentas/legenda/index.js.php index 8a26ee2..1a0598c 100644 --- a/ferramentas/legenda/index.js.php +++ b/ferramentas/legenda/index.js.php @@ -145,40 +145,56 @@ i3GEOF.legenda = { new YAHOO.widget.Button( "i3GEOlegendabotao3", - {onclick:{fn: i3GEOF.legenda.adicionaConta}} + {onclick:{fn: i3GEOF.legenda.adicionaConta},width:"100px"} ); - + $i("i3GEOlegendabotao3-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotao15", {onclick:{fn: i3GEOF.legenda.adicionaOpacidade}} ); - + $i("i3GEOlegendabotao15-button").style.width = "200px"; + new YAHOO.widget.Button( + "i3GEOlegendabotaoRamp", + {onclick:{fn: function(){ + var tabela = $i("i3GEOlegendalegenda"); + var trs = tabela.getElementsByTagName("tr"); + var ncores = trs.length - 1; + i3GEO.util.abreColourRamp("","listaColourRamp",ncores); + }}} + ); + $i("i3GEOlegendabotaoRamp-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotao4", {onclick:{fn: i3GEOF.legenda.paleta}} ); - if(navm) - {$i("i3GEOlegendabotao4-button").style.width = "0px";} + + new YAHOO.widget.Button( "i3GEOlegendabotao5", {onclick:{fn: i3GEOF.legenda.simbU}} ); + $i("i3GEOlegendabotao5-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotao6", {onclick:{fn: i3GEOF.legenda.valorU}} ); + $i("i3GEOlegendabotao6-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotao7", {onclick:{fn: i3GEOF.legenda.representacao}} ); + $i("i3GEOlegendabotao7-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotao8", {onclick:{fn: i3GEOF.legenda.valorC}} ); + $i("i3GEOlegendabotao8-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotao9", {onclick:{fn: i3GEOF.legenda.valorQ}} ); + $i("i3GEOlegendabotao9-button").style.width = "200px"; + new YAHOO.widget.Button( "i3GEOlegendabotao10", {onclick:{fn: i3GEOF.legenda.aplicaEstilo}} @@ -187,6 +203,7 @@ i3GEOF.legenda = { "i3GEOlegendabotao17", {onclick:{fn: i3GEOF.legenda.alteraGeometriaTema}} ); + $i("i3GEOlegendabotao17-button").style.width = "200px"; new YAHOO.widget.Button( "i3GEOlegendabotaoSLDe", {onclick:{fn: function(){window.open(i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?funcao=tema2sld&tema="+i3GEOF.legenda.tema+"&g_sid="+i3GEO.configura.sid);}}} @@ -195,17 +212,6 @@ i3GEOF.legenda = { "i3GEOlegendabotaoSLDi", {onclick:{fn: function(){i3GEO.tema.dialogo.aplicarsld(i3GEOF.legenda.tema);}}} ); - new YAHOO.widget.Button( - "i3GEOlegendabotaoRamp", - {onclick:{fn: function(){ - var tabela = $i("i3GEOlegendalegenda"); - var trs = tabela.getElementsByTagName("tr"); - var ncores = trs.length - 1; - i3GEO.util.abreColourRamp("","listaColourRamp",ncores); - }}} - ); - if(navm) - {$i("i3GEOlegendabotaoRamp-button").style.width = "0px";} i3GEOF.legenda.ativaFoco(); i3GEOF.legenda.mostralegenda(); i3GEO.util.comboItens( @@ -249,10 +255,10 @@ i3GEOF.legenda = { '

' + '

' + '

' + - + '

Gerar cores

' + ' ' + ' ' + - ' ' + + ' ' + ' ' + -- libgit2 0.21.2
Gerar cores de:de:' + $inputText("","","i3GEOlegendaacori","",12,"0,0,0") + '