Commit 4af571d081659a3800dae4853265ebc76a49f705
1 parent
3712b710
Exists in
master
and in
7 other branches
Correções na formatação da janela da ferramenta tabela de um tema
Showing
1 changed file
with
12 additions
and
6 deletions
Show diff stats
ferramentas/tabela/index.js.php
| ... | ... | @@ -160,12 +160,18 @@ i3GEOF.tabela = { |
| 160 | 160 | "i3GEOtabelabotao6", |
| 161 | 161 | {onclick:{fn: i3GEOF.tabela.criaNovoTema}} |
| 162 | 162 | ); |
| 163 | + new YAHOO.widget.Button( | |
| 164 | + "i3GEOtabelabotaoLista", | |
| 165 | + {onclick:{fn: i3GEOF.tabela.pegaRegistros}} | |
| 166 | + ); | |
| 163 | 167 | $i("i3GEOtabelabotao2-button").style.minHeight = "1em"; |
| 164 | 168 | $i("i3GEOtabelabotao2-button").style.padding = "0px 15px"; |
| 165 | 169 | $i("i3GEOtabelabotao3-button").style.minHeight = "1em"; |
| 166 | 170 | $i("i3GEOtabelabotao3-button").style.padding = "0px 15px"; |
| 167 | 171 | $i("i3GEOtabelabotao6-button").style.minHeight = "1em"; |
| 168 | 172 | $i("i3GEOtabelabotao6-button").style.padding = "0px 15px"; |
| 173 | + $i("i3GEOtabelabotaoLista-button").style.minHeight = "1em"; | |
| 174 | + $i("i3GEOtabelabotaoLista-button").style.padding = "0px 15px"; | |
| 169 | 175 | |
| 170 | 176 | new YAHOO.widget.Button( |
| 171 | 177 | "i3GEOtabelabotao4", |
| ... | ... | @@ -240,21 +246,21 @@ i3GEOF.tabela = { |
| 240 | 246 | ins += ' até'; |
| 241 | 247 | ins += $inputText("","","i3GEOtabelafim","",5,"20"); |
| 242 | 248 | ins += ' <img style=cursor:pointer onclick="i3GEOF.tabela.mais()" src="'+i3GEO.configura.locaplic+'/imagens/plus.gif" />'; |
| 243 | - ins += ' <span style=cursor:pointer onclick="i3GEOF.tabela.pegaRegistros()" ><img title="listar dados" src="'+i3GEO.configura.locaplic+'/imagens/tic.png" /> Listar</span>'; | |
| 249 | + ins += ' <input title="Atualiza a lista de registros" id=i3GEOtabelabotaoLista size=25 type=button value="Listar"/>'; | |
| 244 | 250 | ins += ' </div>'; |
| 245 | 251 | ins += ' <div id=i3GEOtabelaregistros style="position:relative;top:20px;left:0px;text-align:left;">'; |
| 246 | 252 | ins += ' </div>'; |
| 247 | 253 | ins += ' </div>'; |
| 248 | 254 | ins += ' <div id=i3GEOtabelaguia3obj style="display:none;width:99%;left:0px" >'; |
| 249 | - ins += ' <p class="paragrafo" >Item: <span id=i3GEOtabelaitensGuia3 ></span>'; | |
| 250 | - ins += ' Excluir dos cálculos o valor:'; | |
| 255 | + ins += ' <p class="paragrafo" >Item para aplicar os cálculos: <span id=i3GEOtabelaitensGuia3 ></span>'; | |
| 256 | + ins += ' <p class="paragrafo" >Excluir dos cálculos o valor:'; | |
| 251 | 257 | ins += $inputText("","","i3GEOtabelafiltro1","",5,""); |
| 252 | 258 | ins += ' <p class="paragrafo" ><input id=i3GEOtabelabotao4 size=30 type=button value="Calcular"/>'; |
| 253 | 259 | ins += ' <div id="i3GEOtabelaoperacoes" class=digitar style="text-align:left;position:relative;top:15px;left:0px;" >'; |
| 254 | 260 | ins += ' </div><br>'; |
| 255 | 261 | ins += ' <div id=i3GEOtabelamen1 style="position:relative;top:25px;left:0px;width:100%" >'; |
| 256 | - ins += ' <p class="paragrafo" >Para que as operações atuem apenas sobre os elementos selecionados, '; | |
| 257 | - ins += ' ative a seleção no mapa, para isso utilize, na guia "todos os registros"'; | |
| 262 | + ins += ' <p class="paragrafo" >Para que as operações atuem apenas sobre os elementos selecionados '; | |
| 263 | + ins += ' ative a seleção no mapa, para isso utilize, na guia "Registros"'; | |
| 258 | 264 | ins += ' a opção "Ativa a seleção"'; |
| 259 | 265 | ins += ' </div>'; |
| 260 | 266 | ins += ' </div>'; |
| ... | ... | @@ -428,7 +434,7 @@ i3GEOF.tabela = { |
| 428 | 434 | ins += "<tr><td></td><td></td><td></td>"; |
| 429 | 435 | n = retorno.data[0].itens.length; |
| 430 | 436 | for (i=0;i<n;i++) |
| 431 | - {ins += "<td style='background-color:yellow' ><img style=cursor:pointer onclick='i3GEOF.tabela.excluiColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/x.gif' title='excluir' /> <img style=cursor:pointer onclick='i3GEOF.tabela.ordenaColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /> "+retorno.data[0].itens[i]+"</td>";} | |
| 437 | + {ins += "<td style='background-color:yellow' ><img style=cursor:pointer onclick='i3GEOF.tabela.excluiColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/x.gif' title='excluir' /> <img style=cursor:pointer onclick='i3GEOF.tabela.ordenaColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /><br> "+retorno.data[0].itens[i]+"</td>";} | |
| 432 | 438 | ins += "</tr>"; |
| 433 | 439 | cor = "linha"; |
| 434 | 440 | n = retorno.data[1].registros.length; | ... | ... |