Commit ade338a4b3a925a5e797ecbe5d1cad7fee1b2806
1 parent
8e305bee
Exists in
master
and in
7 other branches
Ajustes nos estilos dos botões
Showing
5 changed files
with
47 additions
and
21 deletions
Show diff stats
css/corrigeyui_geral.css
@@ -227,6 +227,11 @@ td.ygtvcell { | @@ -227,6 +227,11 @@ td.ygtvcell { | ||
227 | width: 150px; | 227 | width: 150px; |
228 | } | 228 | } |
229 | 229 | ||
230 | +.rodar100 .first-child button { | ||
231 | + background: url(../imagens/oxygen/16x16/run-build.png) 5% 50% no-repeat; | ||
232 | + width: 100px; | ||
233 | +} | ||
234 | + | ||
230 | .enviar .first-child button { | 235 | .enviar .first-child button { |
231 | background: url(../imagens/oxygen/16x16/svn-commit.png) 5% 50% no-repeat; | 236 | background: url(../imagens/oxygen/16x16/svn-commit.png) 5% 50% no-repeat; |
232 | width: 250px; | 237 | width: 250px; |
@@ -242,3 +247,7 @@ td.ygtvcell { | @@ -242,3 +247,7 @@ td.ygtvcell { | ||
242 | width: 150px; | 247 | width: 150px; |
243 | } | 248 | } |
244 | 249 | ||
250 | +.abrir100 .first-child button { | ||
251 | + background: url(../imagens/oxygen/16x16/task-delegate.png) 5% 50% no-repeat; | ||
252 | + width: 100px; | ||
253 | +} |
ferramentas/inserexy2/index.js
@@ -122,10 +122,11 @@ i3GEOF.inserexy = { | @@ -122,10 +122,11 @@ i3GEOF.inserexy = { | ||
122 | i3GEO.util.mensagemAjuda("i3GEOinserexymen2",$i("i3GEOinserexymen2").innerHTML); | 122 | i3GEO.util.mensagemAjuda("i3GEOinserexymen2",$i("i3GEOinserexymen2").innerHTML); |
123 | i3GEO.util.mensagemAjuda("i3GEOinserexymen3",$i("i3GEOinserexymen3").innerHTML); | 123 | i3GEO.util.mensagemAjuda("i3GEOinserexymen3",$i("i3GEOinserexymen3").innerHTML); |
124 | 124 | ||
125 | - new YAHOO.widget.Button( | 125 | + b = new YAHOO.widget.Button( |
126 | "i3GEOinserexybotaodd", | 126 | "i3GEOinserexybotaodd", |
127 | {onclick:{fn: i3GEOF.inserexy.inserirdd}} | 127 | {onclick:{fn: i3GEOF.inserexy.inserirdd}} |
128 | ); | 128 | ); |
129 | + b.addClass("rodar"); | ||
129 | b = new YAHOO.widget.Button( | 130 | b = new YAHOO.widget.Button( |
130 | "i3GEOinserexybotaocriatema", | 131 | "i3GEOinserexybotaocriatema", |
131 | {onclick:{fn: i3GEOF.inserexy.criatemaeditavel}} | 132 | {onclick:{fn: i3GEOF.inserexy.criatemaeditavel}} |
@@ -137,26 +138,31 @@ i3GEOF.inserexy = { | @@ -137,26 +138,31 @@ i3GEOF.inserexy = { | ||
137 | ); | 138 | ); |
138 | b.addClass("abrir"); | 139 | b.addClass("abrir"); |
139 | 140 | ||
140 | - new YAHOO.widget.Button( | 141 | + b = new YAHOO.widget.Button( |
141 | "i3GEOinserexybotao2", | 142 | "i3GEOinserexybotao2", |
142 | {onclick:{fn: i3GEOF.inserexy.inserir}} | 143 | {onclick:{fn: i3GEOF.inserexy.inserir}} |
143 | ); | 144 | ); |
144 | - new YAHOO.widget.Button( | 145 | + b.addClass("rodar"); |
146 | + b = new YAHOO.widget.Button( | ||
145 | "i3GEOinserexybotao6", | 147 | "i3GEOinserexybotao6", |
146 | {onclick:{fn: i3GEOF.inserexy.colar}} | 148 | {onclick:{fn: i3GEOF.inserexy.colar}} |
147 | ); | 149 | ); |
148 | - new YAHOO.widget.Button( | 150 | + b.addClass("rodar"); |
151 | + b = new YAHOO.widget.Button( | ||
149 | "i3GEOinserexybotao3", | 152 | "i3GEOinserexybotao3", |
150 | {onclick:{fn: i3GEOF.inserexy.wkt}} | 153 | {onclick:{fn: i3GEOF.inserexy.wkt}} |
151 | ); | 154 | ); |
152 | - new YAHOO.widget.Button( | 155 | + b.addClass("rodar"); |
156 | + b = new YAHOO.widget.Button( | ||
153 | "i3GEOinserexybotao4", | 157 | "i3GEOinserexybotao4", |
154 | {onclick:{fn: i3GEOF.inserexy.criaPol}} | 158 | {onclick:{fn: i3GEOF.inserexy.criaPol}} |
155 | ); | 159 | ); |
156 | - new YAHOO.widget.Button( | 160 | + b.addClass("rodar"); |
161 | + b = new YAHOO.widget.Button( | ||
157 | "i3GEOinserexybotao5", | 162 | "i3GEOinserexybotao5", |
158 | {onclick:{fn: i3GEOF.inserexy.criaLin}} | 163 | {onclick:{fn: i3GEOF.inserexy.criaLin}} |
159 | ); | 164 | ); |
165 | + b.addClass("rodar"); | ||
160 | i3GEOF.inserexy.ativaFoco(); | 166 | i3GEOF.inserexy.ativaFoco(); |
161 | i3GEOF.inserexy.montaComboLocal(); | 167 | i3GEOF.inserexy.montaComboLocal(); |
162 | i3GEO.util.radioEpsg( | 168 | i3GEO.util.radioEpsg( |
ferramentas/tabela/dicionario.js
@@ -51,7 +51,7 @@ i3GEOF.tabela.dicionario = { | @@ -51,7 +51,7 @@ i3GEOF.tabela.dicionario = { | ||
51 | es : "" | 51 | es : "" |
52 | } ], | 52 | } ], |
53 | "atvsel" : [ { | 53 | "atvsel" : [ { |
54 | - pt : "Ativa a seleção", | 54 | + pt : "Selecionar", |
55 | en : "", | 55 | en : "", |
56 | es : "" | 56 | es : "" |
57 | } ], | 57 | } ], |
@@ -61,7 +61,7 @@ i3GEOF.tabela.dicionario = { | @@ -61,7 +61,7 @@ i3GEOF.tabela.dicionario = { | ||
61 | es : "" | 61 | es : "" |
62 | } ], | 62 | } ], |
63 | "limpsel" : [ { | 63 | "limpsel" : [ { |
64 | - pt : "Limpa a seleção", | 64 | + pt : "Limpar", |
65 | en : "", | 65 | en : "", |
66 | es : "" | 66 | es : "" |
67 | } ], | 67 | } ], |
@@ -71,7 +71,7 @@ i3GEOF.tabela.dicionario = { | @@ -71,7 +71,7 @@ i3GEOF.tabela.dicionario = { | ||
71 | es : "" | 71 | es : "" |
72 | } ], | 72 | } ], |
73 | "criatema" : [ { | 73 | "criatema" : [ { |
74 | - pt : "Cria um tema novo", | 74 | + pt : "Criar tema", |
75 | en : "", | 75 | en : "", |
76 | es : "" | 76 | es : "" |
77 | } ], | 77 | } ], |
ferramentas/tabela/index.js
@@ -48,7 +48,7 @@ i3GEOF.tabela = | @@ -48,7 +48,7 @@ i3GEOF.tabela = | ||
48 | * iddiv {String} - id do div que receberá o conteudo HTML da ferramenta | 48 | * iddiv {String} - id do div que receberá o conteudo HTML da ferramenta |
49 | */ | 49 | */ |
50 | inicia : function(iddiv, idjanela) { | 50 | inicia : function(iddiv, idjanela) { |
51 | - var onButtonClick = function(p_sType, p_aArgs, botao) { | 51 | + var b,onButtonClick = function(p_sType, p_aArgs, botao) { |
52 | var oMenuItem = p_aArgs[1]; | 52 | var oMenuItem = p_aArgs[1]; |
53 | if (oMenuItem) { | 53 | if (oMenuItem) { |
54 | if (oMenuItem.value != "") { | 54 | if (oMenuItem.value != "") { |
@@ -105,35 +105,39 @@ i3GEOF.tabela = | @@ -105,35 +105,39 @@ i3GEOF.tabela = | ||
105 | } | 105 | } |
106 | }, idjanela + "i3GEOtabelaagrupamento", ""); | 106 | }, idjanela + "i3GEOtabelaagrupamento", ""); |
107 | }; | 107 | }; |
108 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao2", { | 108 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao2", { |
109 | onclick : { | 109 | onclick : { |
110 | fn : function() { | 110 | fn : function() { |
111 | i3GEOF.tabela.ativaSelecao(idjanela); | 111 | i3GEOF.tabela.ativaSelecao(idjanela); |
112 | } | 112 | } |
113 | } | 113 | } |
114 | }); | 114 | }); |
115 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao3", { | 115 | + b.addClass("rodar100"); |
116 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao3", { | ||
116 | onclick : { | 117 | onclick : { |
117 | fn : function() { | 118 | fn : function() { |
118 | i3GEOF.tabela.limpaSelecao(idjanela); | 119 | i3GEOF.tabela.limpaSelecao(idjanela); |
119 | } | 120 | } |
120 | } | 121 | } |
121 | }); | 122 | }); |
122 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao6", { | 123 | + b.addClass("rodar100"); |
124 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao6", { | ||
123 | onclick : { | 125 | onclick : { |
124 | fn : function() { | 126 | fn : function() { |
125 | i3GEOF.tabela.criaNovoTema(idjanela); | 127 | i3GEOF.tabela.criaNovoTema(idjanela); |
126 | } | 128 | } |
127 | } | 129 | } |
128 | }); | 130 | }); |
129 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotaoLista", { | 131 | + b.addClass("rodar100"); |
132 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotaoLista", { | ||
130 | onclick : { | 133 | onclick : { |
131 | fn : function() { | 134 | fn : function() { |
132 | i3GEOF.tabela.pegaRegistros(idjanela); | 135 | i3GEOF.tabela.pegaRegistros(idjanela); |
133 | } | 136 | } |
134 | } | 137 | } |
135 | }); | 138 | }); |
136 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelaGraficoI", { | 139 | + b.addClass("rodar100"); |
140 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelaGraficoI", { | ||
137 | onclick : { | 141 | onclick : { |
138 | fn : function() { | 142 | fn : function() { |
139 | i3GEO.mapa.ativaTema(i3GEOF.tabela.propJanelas[idjanela].tema); | 143 | i3GEO.mapa.ativaTema(i3GEOF.tabela.propJanelas[idjanela].tema); |
@@ -141,41 +145,46 @@ i3GEOF.tabela = | @@ -141,41 +145,46 @@ i3GEOF.tabela = | ||
141 | } | 145 | } |
142 | } | 146 | } |
143 | }); | 147 | }); |
148 | + b.addClass("rodar100"); | ||
144 | $i(idjanela + "i3GEOtabelabotaoLista-button").style.minHeight = "1em"; | 149 | $i(idjanela + "i3GEOtabelabotaoLista-button").style.minHeight = "1em"; |
145 | $i(idjanela + "i3GEOtabelabotaoLista-button").style.padding = "0px 15px"; | 150 | $i(idjanela + "i3GEOtabelabotaoLista-button").style.padding = "0px 15px"; |
146 | $i(idjanela + "i3GEOtabelabotaoLista-button").style.lineHeight = "1.3"; | 151 | $i(idjanela + "i3GEOtabelabotaoLista-button").style.lineHeight = "1.3"; |
147 | $i(idjanela + "i3GEOtabelabotaoLista").style.position = "relative"; | 152 | $i(idjanela + "i3GEOtabelabotaoLista").style.position = "relative"; |
148 | $i(idjanela + "i3GEOtabelabotaoLista").style.top = "2px"; | 153 | $i(idjanela + "i3GEOtabelabotaoLista").style.top = "2px"; |
149 | 154 | ||
150 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao4", { | 155 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao4", { |
151 | onclick : { | 156 | onclick : { |
152 | fn : function() { | 157 | fn : function() { |
153 | i3GEOF.tabela.estatistica(idjanela); | 158 | i3GEOF.tabela.estatistica(idjanela); |
154 | } | 159 | } |
155 | } | 160 | } |
156 | }); | 161 | }); |
162 | + b.addClass("abrir"); | ||
157 | 163 | ||
158 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao7", { | 164 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao7", { |
159 | onclick : { | 165 | onclick : { |
160 | fn : function() { | 166 | fn : function() { |
161 | i3GEOF.tabela.relatorioTabela(idjanela); | 167 | i3GEOF.tabela.relatorioTabela(idjanela); |
162 | } | 168 | } |
163 | } | 169 | } |
164 | }); | 170 | }); |
165 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao5", { | 171 | + b.addClass("abrir"); |
172 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotao5", { | ||
166 | onclick : { | 173 | onclick : { |
167 | fn : function() { | 174 | fn : function() { |
168 | i3GEOF.tabela.relatorioTexto(idjanela); | 175 | i3GEOF.tabela.relatorioTexto(idjanela); |
169 | } | 176 | } |
170 | } | 177 | } |
171 | }); | 178 | }); |
172 | - new YAHOO.widget.Button(idjanela + "i3GEOtabelabotaoVinculos", { | 179 | + b.addClass("abrir"); |
180 | + b = new YAHOO.widget.Button(idjanela + "i3GEOtabelabotaoVinculos", { | ||
173 | onclick : { | 181 | onclick : { |
174 | fn : function() { | 182 | fn : function() { |
175 | i3GEOF.tabela.vinculos.iniciaJanelaFlutuante(); | 183 | i3GEOF.tabela.vinculos.iniciaJanelaFlutuante(); |
176 | } | 184 | } |
177 | } | 185 | } |
178 | }); | 186 | }); |
187 | + b.addClass("abrir100"); | ||
179 | i3GEO.util.mensagemAjuda(idjanela + "i3GEOtabelamen1", $i(idjanela + "i3GEOtabelamen1").innerHTML); | 188 | i3GEO.util.mensagemAjuda(idjanela + "i3GEOtabelamen1", $i(idjanela + "i3GEOtabelamen1").innerHTML); |
180 | 189 | ||
181 | if (i3GEO.parametros.r.toLowerCase() !== "sim") { | 190 | if (i3GEO.parametros.r.toLowerCase() !== "sim") { |
@@ -234,7 +243,7 @@ i3GEOF.tabela = | @@ -234,7 +243,7 @@ i3GEOF.tabela = | ||
234 | + "/ajuda_usuario.php?idcategoria=5&idajuda=39' > </a>"; | 243 | + "/ajuda_usuario.php?idcategoria=5&idajuda=39' > </a>"; |
235 | janela = | 244 | janela = |
236 | i3GEO.janela.cria( | 245 | i3GEO.janela.cria( |
237 | - "500px", | 246 | + "550px", |
238 | "400px", | 247 | "400px", |
239 | "", | 248 | "", |
240 | "", | 249 | "", |
ferramentas/tabela/template_mst.html
@@ -100,7 +100,7 @@ | @@ -100,7 +100,7 @@ | ||
100 | <div id='{{{idjanela}}}i3GEOtabelaguia5obj' style='width: 95%; display: none; padding-left: 5px;'> | 100 | <div id='{{{idjanela}}}i3GEOtabelaguia5obj' style='width: 95%; display: none; padding-left: 5px;'> |
101 | <p class='paragrafo'>{{{itensrel}}}: | 101 | <p class='paragrafo'>{{{itensrel}}}: |
102 | <p class='paragrafo'> | 102 | <p class='paragrafo'> |
103 | - <div id='{{{idjanela}}}i3GEOtabelaitensrelatorio' class='digitar' style='text-align: left; overflow: auto; height: 100px'></div> | 103 | + <div id='{{{idjanela}}}i3GEOtabelaitensrelatorio' class='digitar' style='text-align: left; overflow: auto; height: 80px'></div> |
104 | <br> | 104 | <br> |
105 | 105 | ||
106 | <p class='paragrafo'>{{{itensagr}}}: | 106 | <p class='paragrafo'>{{{itensagr}}}: |
@@ -122,6 +122,8 @@ | @@ -122,6 +122,8 @@ | ||
122 | {{{incestat}}} <br> | 122 | {{{incestat}}} <br> |
123 | <p class='paragrafo'> | 123 | <p class='paragrafo'> |
124 | <input id='{{{idjanela}}}i3GEOtabelabotao7' size='30' type='button' value='{{{relat}}}' /> | 124 | <input id='{{{idjanela}}}i3GEOtabelabotao7' size='30' type='button' value='{{{relat}}}' /> |
125 | + <br> | ||
126 | + <p class='paragrafo'> | ||
125 | <input id='{{{idjanela}}}i3GEOtabelabotao5' size='25' type='button' value='{{{relattext}}}' /> | 127 | <input id='{{{idjanela}}}i3GEOtabelabotao5' size='25' type='button' value='{{{relattext}}}' /> |
126 | <form method='post' style='display: none' id='{{{idjanela}}}i3GEOtabelarelatorio' action='{{{locaplic}}}/ferramentas/tabela/relatorio.php' target='_blank'> | 128 | <form method='post' style='display: none' id='{{{idjanela}}}i3GEOtabelarelatorio' action='{{{locaplic}}}/ferramentas/tabela/relatorio.php' target='_blank'> |
127 | <input type='hidden' id='{{{idjanela}}}i3GEOtabelaarearelh' name='arearel' value='nao' /> | 129 | <input type='hidden' id='{{{idjanela}}}i3GEOtabelaarearelh' name='arearel' value='nao' /> |