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