Commit b7d5f361ee8d66029cd32755960908ee5a6bd9e9
1 parent
18837029
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
24 additions
and
18 deletions
Show diff stats
admin/admin.db
No preview for this file type
documentacao/manual_de_usuario_do_i3geo.odt
No preview for this file type
ferramentas/legenda/index.js.php
| ... | ... | @@ -145,40 +145,56 @@ i3GEOF.legenda = { |
| 145 | 145 | |
| 146 | 146 | new YAHOO.widget.Button( |
| 147 | 147 | "i3GEOlegendabotao3", |
| 148 | - {onclick:{fn: i3GEOF.legenda.adicionaConta}} | |
| 148 | + {onclick:{fn: i3GEOF.legenda.adicionaConta},width:"100px"} | |
| 149 | 149 | ); |
| 150 | - | |
| 150 | + $i("i3GEOlegendabotao3-button").style.width = "200px"; | |
| 151 | 151 | new YAHOO.widget.Button( |
| 152 | 152 | "i3GEOlegendabotao15", |
| 153 | 153 | {onclick:{fn: i3GEOF.legenda.adicionaOpacidade}} |
| 154 | 154 | ); |
| 155 | - | |
| 155 | + $i("i3GEOlegendabotao15-button").style.width = "200px"; | |
| 156 | + new YAHOO.widget.Button( | |
| 157 | + "i3GEOlegendabotaoRamp", | |
| 158 | + {onclick:{fn: function(){ | |
| 159 | + var tabela = $i("i3GEOlegendalegenda"); | |
| 160 | + var trs = tabela.getElementsByTagName("tr"); | |
| 161 | + var ncores = trs.length - 1; | |
| 162 | + i3GEO.util.abreColourRamp("","listaColourRamp",ncores); | |
| 163 | + }}} | |
| 164 | + ); | |
| 165 | + $i("i3GEOlegendabotaoRamp-button").style.width = "200px"; | |
| 156 | 166 | new YAHOO.widget.Button( |
| 157 | 167 | "i3GEOlegendabotao4", |
| 158 | 168 | {onclick:{fn: i3GEOF.legenda.paleta}} |
| 159 | 169 | ); |
| 160 | - if(navm) | |
| 161 | - {$i("i3GEOlegendabotao4-button").style.width = "0px";} | |
| 170 | + | |
| 171 | + | |
| 162 | 172 | new YAHOO.widget.Button( |
| 163 | 173 | "i3GEOlegendabotao5", |
| 164 | 174 | {onclick:{fn: i3GEOF.legenda.simbU}} |
| 165 | 175 | ); |
| 176 | + $i("i3GEOlegendabotao5-button").style.width = "200px"; | |
| 166 | 177 | new YAHOO.widget.Button( |
| 167 | 178 | "i3GEOlegendabotao6", |
| 168 | 179 | {onclick:{fn: i3GEOF.legenda.valorU}} |
| 169 | 180 | ); |
| 181 | + $i("i3GEOlegendabotao6-button").style.width = "200px"; | |
| 170 | 182 | new YAHOO.widget.Button( |
| 171 | 183 | "i3GEOlegendabotao7", |
| 172 | 184 | {onclick:{fn: i3GEOF.legenda.representacao}} |
| 173 | 185 | ); |
| 186 | + $i("i3GEOlegendabotao7-button").style.width = "200px"; | |
| 174 | 187 | new YAHOO.widget.Button( |
| 175 | 188 | "i3GEOlegendabotao8", |
| 176 | 189 | {onclick:{fn: i3GEOF.legenda.valorC}} |
| 177 | 190 | ); |
| 191 | + $i("i3GEOlegendabotao8-button").style.width = "200px"; | |
| 178 | 192 | new YAHOO.widget.Button( |
| 179 | 193 | "i3GEOlegendabotao9", |
| 180 | 194 | {onclick:{fn: i3GEOF.legenda.valorQ}} |
| 181 | 195 | ); |
| 196 | + $i("i3GEOlegendabotao9-button").style.width = "200px"; | |
| 197 | + | |
| 182 | 198 | new YAHOO.widget.Button( |
| 183 | 199 | "i3GEOlegendabotao10", |
| 184 | 200 | {onclick:{fn: i3GEOF.legenda.aplicaEstilo}} |
| ... | ... | @@ -187,6 +203,7 @@ i3GEOF.legenda = { |
| 187 | 203 | "i3GEOlegendabotao17", |
| 188 | 204 | {onclick:{fn: i3GEOF.legenda.alteraGeometriaTema}} |
| 189 | 205 | ); |
| 206 | + $i("i3GEOlegendabotao17-button").style.width = "200px"; | |
| 190 | 207 | new YAHOO.widget.Button( |
| 191 | 208 | "i3GEOlegendabotaoSLDe", |
| 192 | 209 | {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 = { |
| 195 | 212 | "i3GEOlegendabotaoSLDi", |
| 196 | 213 | {onclick:{fn: function(){i3GEO.tema.dialogo.aplicarsld(i3GEOF.legenda.tema);}}} |
| 197 | 214 | ); |
| 198 | - new YAHOO.widget.Button( | |
| 199 | - "i3GEOlegendabotaoRamp", | |
| 200 | - {onclick:{fn: function(){ | |
| 201 | - var tabela = $i("i3GEOlegendalegenda"); | |
| 202 | - var trs = tabela.getElementsByTagName("tr"); | |
| 203 | - var ncores = trs.length - 1; | |
| 204 | - i3GEO.util.abreColourRamp("","listaColourRamp",ncores); | |
| 205 | - }}} | |
| 206 | - ); | |
| 207 | - if(navm) | |
| 208 | - {$i("i3GEOlegendabotaoRamp-button").style.width = "0px";} | |
| 209 | 215 | i3GEOF.legenda.ativaFoco(); |
| 210 | 216 | i3GEOF.legenda.mostralegenda(); |
| 211 | 217 | i3GEO.util.comboItens( |
| ... | ... | @@ -249,10 +255,10 @@ i3GEOF.legenda = { |
| 249 | 255 | ' <p class=paragrafo ><input id=i3GEOlegendabotao3 type="button" value="Inclui número de ocorrências" title="incluir o número de ocorrências no nome de cada classe"></p>' + |
| 250 | 256 | ' <p class=paragrafo ><input id=i3GEOlegendabotao15 type="button" value="Aplica opacidade variável" title="aplicar opacidade nas classes existente, variando de 10 até 100"></p>' + |
| 251 | 257 | ' <p class=paragrafo ><input id=i3GEOlegendabotaoRamp type="button" size=15 value="Escolher paleta de cores" title="escolher e aplicar as variações de cores, entre dois extremos, nas classes existentes"></p>' + |
| 252 | - | |
| 258 | + ' <p class=paragrafo >Gerar cores</p>' + | |
| 253 | 259 | ' <table summary="" class=lista5 >' + |
| 254 | 260 | ' <tr>' + |
| 255 | - ' <td>Gerar cores de:</td>' + | |
| 261 | + ' <td>de:</td>' + | |
| 256 | 262 | ' <td>' + |
| 257 | 263 | $inputText("","","i3GEOlegendaacori","",12,"0,0,0") + |
| 258 | 264 | ' </td>' + | ... | ... |