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,40 +145,56 @@ i3GEOF.legenda = { | ||
145 | 145 | ||
146 | new YAHOO.widget.Button( | 146 | new YAHOO.widget.Button( |
147 | "i3GEOlegendabotao3", | 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 | new YAHOO.widget.Button( | 151 | new YAHOO.widget.Button( |
152 | "i3GEOlegendabotao15", | 152 | "i3GEOlegendabotao15", |
153 | {onclick:{fn: i3GEOF.legenda.adicionaOpacidade}} | 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 | new YAHOO.widget.Button( | 166 | new YAHOO.widget.Button( |
157 | "i3GEOlegendabotao4", | 167 | "i3GEOlegendabotao4", |
158 | {onclick:{fn: i3GEOF.legenda.paleta}} | 168 | {onclick:{fn: i3GEOF.legenda.paleta}} |
159 | ); | 169 | ); |
160 | - if(navm) | ||
161 | - {$i("i3GEOlegendabotao4-button").style.width = "0px";} | 170 | + |
171 | + | ||
162 | new YAHOO.widget.Button( | 172 | new YAHOO.widget.Button( |
163 | "i3GEOlegendabotao5", | 173 | "i3GEOlegendabotao5", |
164 | {onclick:{fn: i3GEOF.legenda.simbU}} | 174 | {onclick:{fn: i3GEOF.legenda.simbU}} |
165 | ); | 175 | ); |
176 | + $i("i3GEOlegendabotao5-button").style.width = "200px"; | ||
166 | new YAHOO.widget.Button( | 177 | new YAHOO.widget.Button( |
167 | "i3GEOlegendabotao6", | 178 | "i3GEOlegendabotao6", |
168 | {onclick:{fn: i3GEOF.legenda.valorU}} | 179 | {onclick:{fn: i3GEOF.legenda.valorU}} |
169 | ); | 180 | ); |
181 | + $i("i3GEOlegendabotao6-button").style.width = "200px"; | ||
170 | new YAHOO.widget.Button( | 182 | new YAHOO.widget.Button( |
171 | "i3GEOlegendabotao7", | 183 | "i3GEOlegendabotao7", |
172 | {onclick:{fn: i3GEOF.legenda.representacao}} | 184 | {onclick:{fn: i3GEOF.legenda.representacao}} |
173 | ); | 185 | ); |
186 | + $i("i3GEOlegendabotao7-button").style.width = "200px"; | ||
174 | new YAHOO.widget.Button( | 187 | new YAHOO.widget.Button( |
175 | "i3GEOlegendabotao8", | 188 | "i3GEOlegendabotao8", |
176 | {onclick:{fn: i3GEOF.legenda.valorC}} | 189 | {onclick:{fn: i3GEOF.legenda.valorC}} |
177 | ); | 190 | ); |
191 | + $i("i3GEOlegendabotao8-button").style.width = "200px"; | ||
178 | new YAHOO.widget.Button( | 192 | new YAHOO.widget.Button( |
179 | "i3GEOlegendabotao9", | 193 | "i3GEOlegendabotao9", |
180 | {onclick:{fn: i3GEOF.legenda.valorQ}} | 194 | {onclick:{fn: i3GEOF.legenda.valorQ}} |
181 | ); | 195 | ); |
196 | + $i("i3GEOlegendabotao9-button").style.width = "200px"; | ||
197 | + | ||
182 | new YAHOO.widget.Button( | 198 | new YAHOO.widget.Button( |
183 | "i3GEOlegendabotao10", | 199 | "i3GEOlegendabotao10", |
184 | {onclick:{fn: i3GEOF.legenda.aplicaEstilo}} | 200 | {onclick:{fn: i3GEOF.legenda.aplicaEstilo}} |
@@ -187,6 +203,7 @@ i3GEOF.legenda = { | @@ -187,6 +203,7 @@ i3GEOF.legenda = { | ||
187 | "i3GEOlegendabotao17", | 203 | "i3GEOlegendabotao17", |
188 | {onclick:{fn: i3GEOF.legenda.alteraGeometriaTema}} | 204 | {onclick:{fn: i3GEOF.legenda.alteraGeometriaTema}} |
189 | ); | 205 | ); |
206 | + $i("i3GEOlegendabotao17-button").style.width = "200px"; | ||
190 | new YAHOO.widget.Button( | 207 | new YAHOO.widget.Button( |
191 | "i3GEOlegendabotaoSLDe", | 208 | "i3GEOlegendabotaoSLDe", |
192 | {onclick:{fn: function(){window.open(i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?funcao=tema2sld&tema="+i3GEOF.legenda.tema+"&g_sid="+i3GEO.configura.sid);}}} | 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,17 +212,6 @@ i3GEOF.legenda = { | ||
195 | "i3GEOlegendabotaoSLDi", | 212 | "i3GEOlegendabotaoSLDi", |
196 | {onclick:{fn: function(){i3GEO.tema.dialogo.aplicarsld(i3GEOF.legenda.tema);}}} | 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 | i3GEOF.legenda.ativaFoco(); | 215 | i3GEOF.legenda.ativaFoco(); |
210 | i3GEOF.legenda.mostralegenda(); | 216 | i3GEOF.legenda.mostralegenda(); |
211 | i3GEO.util.comboItens( | 217 | i3GEO.util.comboItens( |
@@ -249,10 +255,10 @@ i3GEOF.legenda = { | @@ -249,10 +255,10 @@ i3GEOF.legenda = { | ||
249 | ' <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>' + | 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 | ' <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>' + | 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 | ' <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>' + | 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 | ' <table summary="" class=lista5 >' + | 259 | ' <table summary="" class=lista5 >' + |
254 | ' <tr>' + | 260 | ' <tr>' + |
255 | - ' <td>Gerar cores de:</td>' + | 261 | + ' <td>de:</td>' + |
256 | ' <td>' + | 262 | ' <td>' + |
257 | $inputText("","","i3GEOlegendaacori","",12,"0,0,0") + | 263 | $inputText("","","i3GEOlegendaacori","",12,"0,0,0") + |
258 | ' </td>' + | 264 | ' </td>' + |