Commit bf7e5dc564ceb25a73cfe69a2a62f200d60d93fa
1 parent
76418d45
Exists in
master
and in
7 other branches
Ajustes nos estilos
Showing
4 changed files
with
71 additions
and
59 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/menu.html
... | ... | @@ -17,6 +17,11 @@ |
17 | 17 | position: relative; |
18 | 18 | top: -2px; |
19 | 19 | } |
20 | + a { | |
21 | + text-decoration: none; | |
22 | + color: navy; | |
23 | + font-size: 12px; | |
24 | + } | |
20 | 25 | </style> |
21 | 26 | </head> |
22 | 27 | <body class=" yui-skin-sam" style="background-color:white;text-align:left;"> |
... | ... | @@ -38,12 +43,12 @@ |
38 | 43 | html: "<a href='../testainstal.php' target='principal'>Testar a instalação do i3geo (testainstal.php)</a>", |
39 | 44 | type: "html", |
40 | 45 | enableHighlight: false, |
41 | - | |
46 | + | |
42 | 47 | },{ |
43 | 48 | html: "<a href='../init/remover.php' target='principal'>Remover a tela inicial de apresentação do i3Geo</a>", |
44 | 49 | type: "html", |
45 | 50 | enableHighlight: false, |
46 | - | |
51 | + | |
47 | 52 | } |
48 | 53 | ]},{ |
49 | 54 | html: "Controle de acesso e usuários</a>", |
... | ... | @@ -53,17 +58,17 @@ |
53 | 58 | html: "<a href='html/operacoes.html' target='principal'>Controle de operações</a>", |
54 | 59 | type: "html", |
55 | 60 | enableHighlight: false, |
56 | - | |
61 | + | |
57 | 62 | },{ |
58 | 63 | html: "<a href='html/usuarios.html' target='principal'>Cadastro de usuários e relação com papéis</a>", |
59 | 64 | type: "html", |
60 | 65 | enableHighlight: false, |
61 | - | |
66 | + | |
62 | 67 | },{ |
63 | 68 | html: "<a href='html/gruposusuarios.html' target='principal'>Cadastro de grupos e relação com usuários</a>", |
64 | 69 | type: "html", |
65 | 70 | enableHighlight: false, |
66 | - | |
71 | + | |
67 | 72 | } |
68 | 73 | ]},{ |
69 | 74 | html: "Metadados estatísticos", |
... | ... | @@ -73,57 +78,57 @@ |
73 | 78 | html: "<a href='http://i3geo.com.br/i3geosaude/docs/index.php?conteudo=fluxograma.html' target='principal'>Documentação (baseada no i3GeoSaúde)</a>", |
74 | 79 | type: "html", |
75 | 80 | enableHighlight: false, |
76 | - | |
81 | + | |
77 | 82 | },{ |
78 | 83 | html: "<a href='html/estat_variavel.html' target='principal'>Cadastro principal de variáveis</a>", |
79 | 84 | type: "html", |
80 | 85 | enableHighlight: false, |
81 | - | |
86 | + | |
82 | 87 | },{ |
83 | 88 | html: "<a href='html/estat_mapa.html' target='principal'>Cadastro de mapas para publicação</a>", |
84 | 89 | type: "html", |
85 | 90 | enableHighlight: false, |
86 | - | |
91 | + | |
87 | 92 | },{ |
88 | 93 | html: "<a href='html/estat_unidade_medida.html' target='principal'>Cadastro de unidades de medida</a>", |
89 | 94 | type: "html", |
90 | 95 | enableHighlight: false, |
91 | - | |
96 | + | |
92 | 97 | },{ |
93 | 98 | html: "<a href='html/estat_tipo_periodo.html' target='principal'>Cadastro de tipos de períodos de tempo</a>", |
94 | 99 | type: "html", |
95 | 100 | enableHighlight: false, |
96 | - | |
101 | + | |
97 | 102 | },{ |
98 | 103 | html: "<a href='html/estat_conexao.html' target='principal'>Cadastro de conexões com banco de dados</a>", |
99 | 104 | type: "html", |
100 | 105 | enableHighlight: false, |
101 | - | |
106 | + | |
102 | 107 | },{ |
103 | 108 | html: "<a href='html/estat_tipo_regiao.html' target='principal'>Cadastro de tabelas com regiões geográficas</a>", |
104 | 109 | type: "html", |
105 | 110 | enableHighlight: false, |
106 | - | |
111 | + | |
107 | 112 | },{ |
108 | 113 | html: "<a href='html/estat_fonteinfo.html' target='principal'>Cadastro de fontes de informação</a>", |
109 | 114 | type: "html", |
110 | 115 | enableHighlight: false, |
111 | - | |
116 | + | |
112 | 117 | },{ |
113 | 118 | html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de banco de dados, upload de SHP e CSV</a>", |
114 | 119 | type: "html", |
115 | 120 | enableHighlight: false, |
116 | - | |
121 | + | |
117 | 122 | },{ |
118 | 123 | html: "<a href='xmlmetaestatogc.php' target='principal'>Ver xml com a lista de serviços WMS originados do sistema de metadados estatísticos</a>", |
119 | 124 | type: "html", |
120 | 125 | enableHighlight: false, |
121 | - | |
126 | + | |
122 | 127 | },{ |
123 | 128 | html: "<a href='rssmapas.php' target='principal'>Ver RSS com a lista de mapas cadastrados</a>", |
124 | 129 | type: "html", |
125 | 130 | enableHighlight: false, |
126 | - | |
131 | + | |
127 | 132 | } |
128 | 133 | ]},{ |
129 | 134 | html: "Enviar arquivo para o servidor", |
... | ... | @@ -133,17 +138,17 @@ |
133 | 138 | html: "<a href='html/subirshapefile.html' target='principal'>Shape file</a>", |
134 | 139 | type: "html", |
135 | 140 | enableHighlight: false, |
136 | - | |
141 | + | |
137 | 142 | },{ |
138 | 143 | html: "<a href='html/estat_editor.html' target='principal'>Gerenciador de tabelas de dados estatísticos (upload de SHP e CSV)</a>", |
139 | 144 | type: "html", |
140 | 145 | enableHighlight: false, |
141 | - | |
146 | + | |
142 | 147 | },{ |
143 | 148 | html: "<a href='html/subirsimbolo.html' target='principal'>Upload de imagem para uso como símbolo</a>", |
144 | 149 | type: "html", |
145 | 150 | enableHighlight: false, |
146 | - | |
151 | + | |
147 | 152 | } |
148 | 153 | ]},{ |
149 | 154 | html: "Editor de mapfiles", |
... | ... | @@ -153,32 +158,32 @@ |
153 | 158 | html: "<a href='html/editormapfile.html' target='principal'>Edição de mapfiles</a>", |
154 | 159 | type: "html", |
155 | 160 | enableHighlight: false, |
156 | - | |
161 | + | |
157 | 162 | },{ |
158 | 163 | html: "<a href='html/menus.html' target='principal'>Edição da lista de menus</a>", |
159 | 164 | type: "html", |
160 | 165 | enableHighlight: false, |
161 | - | |
166 | + | |
162 | 167 | },{ |
163 | 168 | html: "<a href='html/arvore.html' target='principal'>Árvore de temas</a>", |
164 | 169 | type: "html", |
165 | 170 | enableHighlight: false, |
166 | - | |
171 | + | |
167 | 172 | },{ |
168 | 173 | html: "<a href='html/subirsimbolo.html' target='principal'>Upload de imagem para uso como símbolo</a>", |
169 | 174 | type: "html", |
170 | 175 | enableHighlight: false, |
171 | - | |
176 | + | |
172 | 177 | },{ |
173 | 178 | html: "<a href='rssgrupos.php' target='principal'>Ver RSS com os grupos, subgrupos e temas</a>", |
174 | 179 | type: "html", |
175 | 180 | enableHighlight: false, |
176 | - | |
181 | + | |
177 | 182 | },{ |
178 | 183 | html: "<a href='rsscomentariostemas.php' target='principal'>Ver RSS com os comentários sobre os temas</a>", |
179 | 184 | type: "html", |
180 | 185 | enableHighlight: false, |
181 | - | |
186 | + | |
182 | 187 | } |
183 | 188 | ]},{ |
184 | 189 | html: "Links para mapas", |
... | ... | @@ -188,12 +193,12 @@ |
188 | 193 | html: "<a href='html/mapas.html' target='principal'>Edição dos links</a>", |
189 | 194 | type: "html", |
190 | 195 | enableHighlight: false, |
191 | - | |
196 | + | |
192 | 197 | },{ |
193 | 198 | html: "<a href='xmlmapas.php' target='principal'>XML com a lista de mapas</a>", |
194 | 199 | type: "html", |
195 | 200 | enableHighlight: false, |
196 | - | |
201 | + | |
197 | 202 | } |
198 | 203 | ]},{ |
199 | 204 | html: "Edição dos menus de adição de temas", |
... | ... | @@ -203,12 +208,12 @@ |
203 | 208 | html: "<a href='html/arvore.html' target='principal'>Editar a árvore completa dos menus</a>", |
204 | 209 | type: "html", |
205 | 210 | enableHighlight: false, |
206 | - | |
211 | + | |
207 | 212 | },{ |
208 | 213 | html: "<a href='html/menus.html' target='principal'>Editar a lista de menus</a>", |
209 | 214 | type: "html", |
210 | 215 | enableHighlight: false, |
211 | - | |
216 | + | |
212 | 217 | } |
213 | 218 | ]},{ |
214 | 219 | html: "Edição das tabelas auxiliares", |
... | ... | @@ -218,12 +223,12 @@ |
218 | 223 | html: "<a href='html/perfis.html' target='principal'>Editar a lista de perfis</a>", |
219 | 224 | type: "html", |
220 | 225 | enableHighlight: false, |
221 | - | |
226 | + | |
222 | 227 | },{ |
223 | 228 | html: "<a href='html/tags.html' target='principal'>Editar a lista de tags (palavras-chave)</a>", |
224 | 229 | type: "html", |
225 | 230 | enableHighlight: false, |
226 | - | |
231 | + | |
227 | 232 | } |
228 | 233 | ]},{ |
229 | 234 | html: "Atlas", |
... | ... | @@ -233,7 +238,7 @@ |
233 | 238 | html: "<a href='html/atlas.html' target='principal'>Edição dos atlas</a>", |
234 | 239 | type: "html", |
235 | 240 | enableHighlight: false, |
236 | - | |
241 | + | |
237 | 242 | } |
238 | 243 | ]},{ |
239 | 244 | html: "Web services e links para download", |
... | ... | @@ -243,22 +248,22 @@ |
243 | 248 | html: "<a href='html/webservices.html' target='principal'>Edição do cadastro</a>", |
244 | 249 | type: "html", |
245 | 250 | enableHighlight: false, |
246 | - | |
251 | + | |
247 | 252 | },{ |
248 | 253 | html: "<a href='xmlservicosws.php' target='principal'>Ver xml com a lista de serviços WS (webservices convencionais)</a>", |
249 | 254 | type: "html", |
250 | 255 | enableHighlight: false, |
251 | - | |
256 | + | |
252 | 257 | },{ |
253 | 258 | html: "<a href='xmlservicoswms.php' target='principal'>Ver xml com a lista de serviços WMS</a>", |
254 | 259 | type: "html", |
255 | 260 | enableHighlight: false, |
256 | - | |
261 | + | |
257 | 262 | },{ |
258 | 263 | html: "<a href='xmlgeorss.php' target='principal'>Ver xml com a lista de serviços Geo RSS</a>", |
259 | 264 | type: "html", |
260 | 265 | enableHighlight: false, |
261 | - | |
266 | + | |
262 | 267 | } |
263 | 268 | ]},{ |
264 | 269 | html: "Sistemas especiais de identificação", |
... | ... | @@ -268,23 +273,23 @@ |
268 | 273 | html: "<a href='html/identifica.html' target='principal'>Edição dos sistemas</a>", |
269 | 274 | type: "html", |
270 | 275 | enableHighlight: false, |
271 | - | |
276 | + | |
272 | 277 | } |
273 | 278 | ]},{ |
274 | 279 | html: "Sistemas que adicionam camadas", |
275 | 280 | type: "html", |
276 | - | |
281 | + | |
277 | 282 | children:[ |
278 | 283 | { |
279 | 284 | html: "<a href='html/sistemas.html' target='principal'>Edição dos sistemas", |
280 | 285 | type: "html", |
281 | 286 | enableHighlight: false, |
282 | - | |
287 | + | |
283 | 288 | },{ |
284 | 289 | html: "<a href='xmlsistemas.php' target='principal'>Ver xml com a lista de sistemas que adicionam temas especiais", |
285 | 290 | type: "html", |
286 | 291 | enableHighlight: false, |
287 | - | |
292 | + | |
288 | 293 | } |
289 | 294 | ]},{ |
290 | 295 | html: "Configuração dos serviços OGC", |
... | ... | @@ -294,7 +299,7 @@ |
294 | 299 | html: "<a href='html/ogcws.html' target='principal'>Edição</a>", |
295 | 300 | type: "html", |
296 | 301 | enableHighlight: false, |
297 | - | |
302 | + | |
298 | 303 | } |
299 | 304 | ]},{ |
300 | 305 | html: "Outras opções", |
... | ... | @@ -304,27 +309,27 @@ |
304 | 309 | html: "<a href='php/estatisticas.php' target='principal'>Estatísticas</a>", |
305 | 310 | type: "html", |
306 | 311 | enableHighlight: false, |
307 | - | |
312 | + | |
308 | 313 | },{ |
309 | 314 | html: "<a href='php/upgradebanco46_47.php' target='principal'>Upgrade do Banco de administração - Adiciona as tabelas e colunas necessárias à versão atual do i3Geo e que não existiam nas versões anteriores à 4.7. Apenas usuários cadastrados em ms_configura na variável $i3geomaster podem realizar essa operação</a>", |
310 | 315 | type: "html", |
311 | 316 | enableHighlight: false, |
312 | - | |
317 | + | |
313 | 318 | },{ |
314 | 319 | html: "<a href='php/sqlite.php' target='principal'>Descrição do banco padrão (SQLITE)</a>", |
315 | 320 | type: "html", |
316 | 321 | enableHighlight: false, |
317 | - | |
322 | + | |
318 | 323 | },{ |
319 | 324 | html: "<a href='php/criabanco.php' target='principal'>Criar banco de dados - apenas usuários cadatsrados em ms_configura na variável $i3geomaster podem realizar essa operação</a>", |
320 | 325 | type: "html", |
321 | 326 | enableHighlight: false, |
322 | - | |
327 | + | |
323 | 328 | },{ |
324 | 329 | html: "<a href='../geraminiatura.php' target='principal'>Gera as miniaturas (thumbnails) para os temas existentes no diretório i3geo/temas</a>", |
325 | 330 | type: "html", |
326 | 331 | enableHighlight: false, |
327 | - | |
332 | + | |
328 | 333 | } |
329 | 334 | ]}]; |
330 | 335 | var tree = new YAHOO.widget.TreeView("arvore",propriedades); | ... | ... |
classesjs/classe_barradebotoes.js
... | ... | @@ -60,12 +60,16 @@ i3GEO.barraDeBotoes = { |
60 | 60 | |
61 | 61 | Tipo de barra. |
62 | 62 | |
63 | - Por padrão, utiliza a biblioteca YUI para construir a barra, opcionalmente pode-se utilizar o tipo "olho de peixe". | |
63 | + Por padrão, utiliza a biblioteca YUI para construir a barra, opcionalmente pode-se utilizar outro tipo. | |
64 | 64 | |
65 | 65 | O tipo emlinha insere os botões em um elemento html qualquer já existente na página. Nesse caso a barra |
66 | 66 | não é iniciada automaticamente, sendo necessário usar a função |
67 | + | |
67 | 68 | i3GEO.barraDeBotoes.inicializaBarra("","",false,0,0,onde) |
68 | 69 | |
70 | + Caso o parâmetro "onde" seja omitido ou o o elemento HTML com esse ID não for encontrado, será criado um elemento do tipo DIV | |
71 | + no contexto do mapa | |
72 | + | |
69 | 73 | Tipo: |
70 | 74 | {string} |
71 | 75 | ... | ... |
ferramentas/metaestat/index.js
... | ... | @@ -1119,12 +1119,13 @@ i3GEOF.metaestat = { |
1119 | 1119 | ], |
1120 | 1120 | n = dados.length; |
1121 | 1121 | ins = '' + |
1122 | - '<br><p class="paragrafo" >'+$trad(8,i3GEOF.metaestat.dicionario)+'</p>' + | |
1123 | - "<select id='i3geoCartoComboTipoRep' style='box-shadow:0 1px 5px gray;width:"+(i3GEOF.metaestat.LARGURA - 20)+"px' onchange=''>"; | |
1122 | + '<p class="paragrafo" >'+$trad(8,i3GEOF.metaestat.dicionario)+'</p>' + | |
1123 | + "<div class=styled-select style='"+(i3GEOF.metaestat.LARGURA - 30)+"px;'>" + | |
1124 | + "<select id='i3geoCartoComboTipoRep' onchange=''>"; | |
1124 | 1125 | for(i=0;i<n;i++){ |
1125 | 1126 | ins += "<option value='"+dados[i].codigo+"'>"+dados[i].nome+"</option>"; |
1126 | 1127 | } |
1127 | - ins += "</select>"; | |
1128 | + ins += "</select></div>"; | |
1128 | 1129 | if(onde){ |
1129 | 1130 | onde.innerHTML = ins; |
1130 | 1131 | //i3GEOF.metaestat.classes.botaoAdicionarCamada(); |
... | ... | @@ -1143,11 +1144,12 @@ i3GEOF.metaestat = { |
1143 | 1144 | var n = dados.length, |
1144 | 1145 | ins = '<p class="paragrafo" >'+$trad(9,i3GEOF.metaestat.dicionario)+'</p>', |
1145 | 1146 | i; |
1146 | - ins += "<select id='i3geoCartoComboTipoClassificacao' style='width:"+(i3GEOF.metaestat.LARGURA - 20)+"px' onchange='i3GEOF.metaestat.classes.comboTipoClassificacaoOnchange(this)'><option value=''>---</option>"; | |
1147 | + ins += "<div class=styled-select style='"+(i3GEOF.metaestat.LARGURA - 30)+"px;'>"; | |
1148 | + ins += "<select id='i3geoCartoComboTipoClassificacao' onchange='i3GEOF.metaestat.classes.comboTipoClassificacaoOnchange(this)'><option value=''>---</option>"; | |
1147 | 1149 | for(i=0;i<n;i++){ |
1148 | 1150 | ins += "<option title='"+dados[i].observacao+"' value='"+dados[i].id_classificacao+"'>"+dados[i].nome+"</option>"; |
1149 | 1151 | } |
1150 | - ins += "</select>"; | |
1152 | + ins += "</select></div>"; | |
1151 | 1153 | //{"id_classificacao":"1","nome":"Pela media","id_medida_variavel":"1","observacao":""} |
1152 | 1154 | if(onde){ |
1153 | 1155 | onde.innerHTML = ins; |
... | ... | @@ -1178,11 +1180,12 @@ i3GEOF.metaestat = { |
1178 | 1180 | var n = dados.length, |
1179 | 1181 | ins = '<p class="paragrafo" >'+$trad(13,i3GEOF.metaestat.dicionario)+'</p>', |
1180 | 1182 | i; |
1181 | - ins += "<select id='i3geoCartoComboRegioesMedidasVariavel' style='width:"+(i3GEOF.metaestat.LARGURA - 20)+"px' ><option value=''>---</option>"; | |
1183 | + ins += "<div class=styled-select style='"+(i3GEOF.metaestat.LARGURA - 30)+"px;'>"; | |
1184 | + ins += "<select id='i3geoCartoComboRegioesMedidasVariavel' ><option value=''>---</option>"; | |
1182 | 1185 | for(i=0;i<n;i++){ |
1183 | 1186 | ins += "<option title='"+dados[i].observacao+"' value='"+dados[i].codigo_tipo_regiao+"'>"+dados[i].nome_tipo_regiao+"</option>"; |
1184 | 1187 | } |
1185 | - ins += "</select>"; | |
1188 | + ins += "</select></div>"; | |
1186 | 1189 | if(onde){ |
1187 | 1190 | onde.innerHTML = ins; |
1188 | 1191 | } |
... | ... | @@ -1785,7 +1788,7 @@ i3GEOF.metaestat = { |
1785 | 1788 | i3GEOF.metaestat.ID_MEDIDA_VARIAVEL = $i("i3geoCartoComboMedidaVariavelEditor").value; |
1786 | 1789 | }, |
1787 | 1790 | /** |
1788 | - * Calcula os intervalos de classe com base na t�cnica de quartis | |
1791 | + * Calcula os intervalos de classe com base na tecnica de quartis | |
1789 | 1792 | * Altera uma classificacao ja existente |
1790 | 1793 | * E necessario definir as cores das classes. Caso o usuario nao as tenha escolhido, e aberta a janela para escolha |
1791 | 1794 | * Executa admin/php/metaestat.php?funcao=calculaClassificacao&tipo=quartil |
... | ... | @@ -2249,7 +2252,7 @@ i3GEOF.metaestat = { |
2249 | 2252 | if(filho === false && i3GEOF.metaestat.MULTIPARAMETROS === false){ |
2250 | 2253 | oc = "i3GEOF.metaestat.comum.adicionaCamada()"; |
2251 | 2254 | } |
2252 | - ins = "<p class=paragrafo >"+titulo+"</p>"; | |
2255 | + ins = "<br><p class=paragrafo >"+titulo+"</p>"; | |
2253 | 2256 | if(i3GEOF.metaestat.MULTIPARAMETROS === false){ |
2254 | 2257 | ins += "<select id='combo"+idcombo+"' style='background:beige;width:"+(i3GEOF.metaestat.LARGURA - 20)+"px' onchange="+oc+" ><option value=''>---</option>"; |
2255 | 2258 | for(i=0;i<n;i++){ |
... | ... | @@ -2652,7 +2655,7 @@ i3GEOF.metaestat = { |
2652 | 2655 | if(mostraIconedown == "sim"){ |
2653 | 2656 | largura = largura - 19; |
2654 | 2657 | } |
2655 | - ins += "<select id='"+idcombo+"' style='box-shadow:0 1px 5px gray;width:"+largura+"px' onchange='"+stronchange+"'><option value=''>---</option>"; | |
2658 | + ins += "<div class=styled-select style='float:left;width:"+largura+"px;'><select style='height:22px;' id='"+idcombo+"' onchange='"+stronchange+"'><option value=''>---</option>"; | |
2656 | 2659 | for(i=0;i<n;i++){ |
2657 | 2660 | if(!filtroesquema || (filtroesquema != "" && dados[i].esquemadb != filtroesquema)){ |
2658 | 2661 | if(i3GEOF.metaestat.ID_MEDIDA_VARIAVEL === dados[i].id_medida_variavel){ |
... | ... | @@ -2664,7 +2667,7 @@ i3GEOF.metaestat = { |
2664 | 2667 | ins += "<option "+selecionado+" value='"+dados[i].id_medida_variavel+"'>"+dados[i].nomemedida+"</option>"; |
2665 | 2668 | } |
2666 | 2669 | } |
2667 | - ins += "</select>"; | |
2670 | + ins += "</select></div>"; | |
2668 | 2671 | if(mostraIconeprop == "sim"){ |
2669 | 2672 | ins += "<img class='ticPropriedades2' src='"+i3GEO.configura.locaplic+"/imagens/visual/default/branco.gif' style='height:14px;position:relative;cursor:pointer;left:5px;top:4px;' onclick='i3GEOF.metaestat.classes.inicia()' title='"+$trad(18,i3GEOF.metaestat.dicionario)+"'/>"; |
2670 | 2673 | } |
... | ... | @@ -2683,7 +2686,7 @@ i3GEOF.metaestat = { |
2683 | 2686 | opcoesMedidasVariavel: function(codigo_variavel){ |
2684 | 2687 | var onde = $i("i3geoCartoMedidasVariavel"), |
2685 | 2688 | temp = function(dados){ |
2686 | - var ins = '<p class="paragrafo" >'+$trad(2,i3GEOF.metaestat.dicionario)+'</p>'; | |
2689 | + var ins = '<br><p class="paragrafo" >'+$trad(2,i3GEOF.metaestat.dicionario)+'</p>'; | |
2687 | 2690 | ins += i3GEOF.metaestat.principal.comboMedidasVariavel(dados,"i3geoCartoComboMedidasVariavel","i3GEOF.metaestat.principal.comboMedidaVariavelOnchange(this)"); |
2688 | 2691 | if(onde){ |
2689 | 2692 | onde.innerHTML = ins; | ... | ... |