Commit 161df25a577ff27e1b930f692fd0aadd89cf944c
1 parent
1d7752a1
Exists in
master
and in
7 other branches
Ticket #557
Showing
3 changed files
with
24 additions
and
0 deletions
Show diff stats
classesjs/classe_arvoredecamadas.js
| @@ -147,6 +147,18 @@ i3GEO.arvoreDeCamadas = { | @@ -147,6 +147,18 @@ i3GEO.arvoreDeCamadas = { | ||
| 147 | */ | 147 | */ |
| 148 | ARRASTARORDEM: true, | 148 | ARRASTARORDEM: true, |
| 149 | /* | 149 | /* |
| 150 | + Propriedade: REFRESH | ||
| 151 | + | ||
| 152 | + Mostra ou não a opção que permite atualizar a árvore | ||
| 153 | + | ||
| 154 | + Default: | ||
| 155 | + {true} | ||
| 156 | + | ||
| 157 | + Type: | ||
| 158 | + {boolean} | ||
| 159 | + */ | ||
| 160 | + REFRESH: true, | ||
| 161 | + /* | ||
| 150 | Propriedade: ARRASTARLIXEIRA | 162 | Propriedade: ARRASTARLIXEIRA |
| 151 | 163 | ||
| 152 | Ativa a opção de arrastar um tema para a lixeria quando se quer removê-lo do mapa. | 164 | Ativa a opção de arrastar um tema para a lixeria quando se quer removê-lo do mapa. |
| @@ -712,6 +724,9 @@ i3GEO.arvoreDeCamadas = { | @@ -712,6 +724,9 @@ i3GEO.arvoreDeCamadas = { | ||
| 712 | estilo = function(i){ | 724 | estilo = function(i){ |
| 713 | return " onmouseout='javascript:this.className = \""+i+" iconeMini iconeGuiaMovelMouseOut\";' onmouseover='javascript:this.className = \""+i+" iconeMini iconeGuiaMovelMouseOver\";' class='"+i+" iconeMini iconeGuiaMovelMouseOut' src='"+imb+"' style='cursor:pointer;text-align:left' "; | 725 | return " onmouseout='javascript:this.className = \""+i+" iconeMini iconeGuiaMovelMouseOut\";' onmouseover='javascript:this.className = \""+i+" iconeMini iconeGuiaMovelMouseOver\";' class='"+i+" iconeMini iconeGuiaMovelMouseOut' src='"+imb+"' style='cursor:pointer;text-align:left' "; |
| 714 | }; | 726 | }; |
| 727 | + if(this.REFRESH === true){ | ||
| 728 | + ins += "<img "+estilo("refresh")+" onclick='i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)' title='Refresh' id='i3geo_refresh'/>"; | ||
| 729 | + } | ||
| 715 | if(this.ARRASTARLIXEIRA === true) | 730 | if(this.ARRASTARLIXEIRA === true) |
| 716 | {ins += "<img "+estilo("i3geo_lixeira")+" onclick='i3GEO.arvoreDeCamadas.dialogo.excluir();' id='i3geo_lixeira' title='"+$trad("t2")+"' />";} | 731 | {ins += "<img "+estilo("i3geo_lixeira")+" onclick='i3GEO.arvoreDeCamadas.dialogo.excluir();' id='i3geo_lixeira' title='"+$trad("t2")+"' />";} |
| 717 | if(this.FILTRAR === true) | 732 | if(this.FILTRAR === true) |
css/botoes2.css
| @@ -489,6 +489,15 @@ | @@ -489,6 +489,15 @@ | ||
| 489 | width:18px; | 489 | width:18px; |
| 490 | height:18px; | 490 | height:18px; |
| 491 | } | 491 | } |
| 492 | +#i3geo_refresh | ||
| 493 | +{ | ||
| 494 | + background-image:URL('../imagens/visual/default/sprite.png'); | ||
| 495 | + background-repeat: no-repeat; | ||
| 496 | + background-position: 0px -2205px; | ||
| 497 | + width:18px; | ||
| 498 | + height:18px; | ||
| 499 | + cursor:pointer; | ||
| 500 | +} | ||
| 492 | .upload | 501 | .upload |
| 493 | { | 502 | { |
| 494 | background-image:URL('../imagens/visual/default/sprite.png'); | 503 | background-image:URL('../imagens/visual/default/sprite.png'); |
imagens/visual/default/sprite.png