Commit d73dc4f34238ecc45aa7cda6e5088bf86bf43d5d
1 parent
07de107e
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
105 additions
and
48 deletions
Show diff stats
admin/admin.db
No preview for this file type
classesjs/classe_arvoredecamadas.js
... | ... | @@ -2098,17 +2098,15 @@ i3GEO.arvoreDeCamadas = { |
2098 | 2098 | estilo = navm ? "cursor:pointer;vertical-align:15%;" : "cursor:pointer;"; |
2099 | 2099 | html += "<input class=inputsb style='" |
2100 | 2100 | + estilo |
2101 | - //+ "' onmouseover=\"javascript:i3GEO.ajuda.mostraJanela('" | |
2102 | - //+ $trad("t3") | |
2103 | - //+ "','ligadesliga')\" onmouseout=\"javascript:i3GEO.ajuda.mostraJanela('')\" | |
2104 | 2101 | + "' type='checkbox' name=\"layer\" value='" |
2105 | 2102 | + tema.name |
2106 | 2103 | + "' " |
2104 | + + "id='"+tema.name+"ckbox'" | |
2107 | 2105 | + ck |
2108 | 2106 | + "onclick=\"" |
2109 | 2107 | + i3GEO.arvoreDeCamadas.ATIVATEMA |
2110 | 2108 | + "\"" |
2111 | - + " />"; | |
2109 | + + " /><label for='"+tema.name+"ckbox' ></label>"; | |
2112 | 2110 | // |
2113 | 2111 | // inclui icone do tema |
2114 | 2112 | // | ... | ... |
interface/openlayersdebug.htm
... | ... | @@ -4,22 +4,22 @@ |
4 | 4 | <meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile"> |
5 | 5 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
6 | 6 | <title>i3GEO - OpenLayers</title> |
7 | - <script src="../classesjs/i3geonaocompacto.js"></script> | |
8 | - <script src="../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
9 | - <link rel="stylesheet" type="text/css" href="../css/black.css"> | |
10 | - <style> | |
11 | - .olControlEditingToolbar1 div { | |
12 | - background-image: url(../mashups/openlayers.png); | |
13 | - background-repeat: no-repeat; | |
14 | - float: right; | |
15 | - right: 50px; | |
16 | - height: 29px; | |
17 | - margin: 2px; | |
18 | - width: 29px; | |
19 | - cursor: pointer; | |
20 | - top: 10px; | |
21 | - } | |
22 | - </style> | |
7 | +<script src="../classesjs/i3geonaocompacto.js"></script> | |
8 | +<script src="../pacotes/openlayers/OpenLayers2131.js.php"></script> | |
9 | +<link rel="stylesheet" type="text/css" href="../css/black.css"> | |
10 | +<style> | |
11 | +.olControlEditingToolbar1 div { | |
12 | + background-image: url(../mashups/openlayers.png); | |
13 | + background-repeat: no-repeat; | |
14 | + float: right; | |
15 | + right: 50px; | |
16 | + height: 29px; | |
17 | + margin: 2px; | |
18 | + width: 29px; | |
19 | + cursor: pointer; | |
20 | + top: 10px; | |
21 | +} | |
22 | +</style> | |
23 | 23 | </head> |
24 | 24 | <body id="i3geo" style='margin-left: 7px; background: white;'> |
25 | 25 | <!-- inclui o nome do usuario logado --> |
... | ... | @@ -72,12 +72,16 @@ |
72 | 72 | </table> |
73 | 73 | <table id="i3GEOlogoMarca" style='margin: 0px auto; box-shadow: 0 1px 13px gray; border-radius: 5px;'> |
74 | 74 | <tr> |
75 | - <td style="height: 30px"><div id=versaoi3geo></div> | |
75 | + <td style="height: 30px"> | |
76 | + <div id=versaoi3geo></div> | |
76 | 77 | <h2 style="font-weight: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento</h2> |
77 | - <h3 style="font-weight: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></td> | |
78 | + <h3 style="font-weight: normal; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3> | |
79 | + </td> | |
78 | 80 | </tr> |
79 | 81 | <tr> |
80 | - <td style="padding: 10px;"><img style="width: 560px; height: 81px" alt="" src='../imagens/logo_inicio.png'></td> | |
82 | + <td style="padding: 10px;"> | |
83 | + <img style="width: 560px; height: 81px" alt="" src='../imagens/logo_inicio.png'> | |
84 | + </td> | |
81 | 85 | </tr> |
82 | 86 | <tr> |
83 | 87 | <td> |
... | ... | @@ -88,40 +92,95 @@ |
88 | 92 | </tr> |
89 | 93 | </table> |
90 | 94 | |
91 | -<div id="i3GEOguiaMovel" style="visibility:hidden;position:absolute;display:block;border:0px solid white;text-align:left;z-index:2000;background-color:none"> | |
92 | - <div style="cursor:pointer;position:absolute;top:50%;margin-top: -65px;width:30px;z-index:5000; left:18px;"> | |
93 | - <img src='../imagens/openbars1.png' style="width: 48px; position: absolute; left: -16px; height: 418px; top: -160px;"> | |
94 | - <div id="iconeGuia_temas" ></div> | |
95 | - <div id="iconeGuia_adiciona" style="margin-top:3px;" ></div> | |
96 | - <div id="iconeGuia_legenda" style="margin-top:3px;"></div> | |
97 | - </div> | |
95 | + <div id="i3GEOguiaMovel" style="visibility: hidden; position: absolute; display: block; border: 0px solid white; text-align: left; z-index: 2000; background-color: none"> | |
96 | + <div style="cursor: pointer; position: absolute; top: 50%; margin-top: -65px; width: 30px; z-index: 5000; left: 18px;"> | |
97 | + <img src='../imagens/openbars1.png' style="width: 48px; position: absolute; left: -16px; height: 418px; top: -160px;"> | |
98 | + <div id="iconeGuia_temas"></div> | |
99 | + <div id="iconeGuia_adiciona" style="margin-top: 3px;"></div> | |
100 | + <div id="iconeGuia_legenda" style="margin-top: 3px;"></div> | |
101 | + </div> | |
98 | 102 | |
99 | - <!-- | |
103 | + <!-- | |
100 | 104 | <img id="i3GEOguiaMovelPuxador" onclick='i3GEO.guias.guiaMovel.abreFecha()' style='z-index:2;border:solid 0px white;left:0px;position:absolute;top:0px' width='0px' src='../imagens/openbars.png' > |
101 | 105 | --> |
102 | - <div id="i3GEOguiaMovelMolde" style="top:0px;box-shadow:0 2px 10px 0 #888888;position:absolute;display:none;border:0px solid white;text-align:left;z-index:1000;background-color:gray"> | |
103 | - <!-- | |
106 | + <div id="i3GEOguiaMovelMolde" style="top: 0px; box-shadow: 0 2px 10px 0 #888888; position: absolute; display: none; border: 0px solid white; text-align: left; z-index: 1000; background-color: gray"> | |
107 | + <!-- | |
104 | 108 | <div id="i3GEOguiaMovelIcones" style='overflow:none;left:0px;display:none;position:absolute;top:0px;text-align:center;height:0px;width:0px;border:solid 0px white;background-color:white' ></div> |
105 | 109 | --> |
106 | - <div id="i3GEOguiaMovelConteudo" style='top:10px;overflow:auto;display:none;position:absolute;border-color:gray;border-width:0px 0 0px 0px;left:0px;height:0px;background-color:white'> | |
107 | - <div id='guia1obj' style='display:none;' > | |
108 | - <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico --> | |
109 | - <div style='left:5px;top:10px;width:150px;' id=buscaRapida ></div> | |
110 | - <!-- Esta div acrescenta a lista de propriedades do mapa --> | |
111 | - <div id=listaPropriedades style='top:15px;' ></div> | |
112 | - <!-- Esta div acrescenta a lista de de camadas do tipo 'baselayers' específicas da interface Openlayers. Veja também a opção i3GEO.Interface.openlayers.GADGETS.LayerSwitcher --> | |
113 | - <div id=listaLayersBase style='top:15px;'></div> | |
114 | - <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> | |
115 | - <div id=listaTemas style='top:15px;'></div> | |
116 | - </div> | |
117 | - <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | |
118 | - <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | |
119 | - <!-- | |
110 | + <div id="i3GEOguiaMovelConteudo" style='top: 10px; overflow: auto; display: none; position: absolute; border-color: gray; border-width: 0px 0 0px 0px; left: 0px; height: 0px; background-color: white'> | |
111 | + <div id='guia1obj' style='display: none;'> | |
112 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico --> | |
113 | + <div style='left: 5px; top: 10px; width: 150px;' id=buscaRapida></div> | |
114 | + <!-- Esta div acrescenta a lista de propriedades do mapa --> | |
115 | + <div id=listaPropriedades style='top: 15px;'></div> | |
116 | + <!-- Esta div acrescenta a lista de de camadas do tipo 'baselayers' específicas da interface Openlayers. Veja também a opção i3GEO.Interface.openlayers.GADGETS.LayerSwitcher --> | |
117 | + <div id=listaLayersBase style='top: 15px;'></div> | |
118 | + <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> | |
119 | + <div id=listaTemas style='top: 15px;'></div> | |
120 | + </div> | |
121 | + <div id='guia2obj' style='display: none;'> | |
122 | + Aguarde... | |
123 | + <img alt="" src="../imagens/branco.gif" width=248 /> | |
124 | + </div> | |
125 | + <div id='guia4obj' style='display: none; text-align: left'> | |
126 | + <div id='legenda' style='text-align: left'></div> | |
127 | + </div> | |
128 | + <!-- | |
120 | 129 | <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> |
121 | 130 | --> |
131 | + </div> | |
122 | 132 | </div> |
123 | 133 | </div> |
124 | -</div> | |
134 | + <style> | |
135 | +#listaTemas input[type=radio], #listaTemas input[type=checkbox] { | |
136 | + display: none; | |
137 | +} | |
138 | + | |
139 | +#listaTemas input[type=radio]+label:before { | |
140 | + content: ""; | |
141 | + display: inline-block; | |
142 | + width: 15px; | |
143 | + height: 15px; | |
144 | + vertical-align: middle; | |
145 | + margin-right: 8px; | |
146 | + background-color: #aaa; | |
147 | + box-shadow: inset 0px 2px 2px rgba(0, 0, 0, .3); | |
148 | + border-radius: 8px; | |
149 | +} | |
150 | + | |
151 | +#listaTemas input[type=checkbox]+label:before { // | |
152 | + content: ""; | |
153 | + content: url("../imagens/gisicons/hide.png"); | |
154 | + display: inline-block; | |
155 | + vertical-align: middle; // | |
156 | + height: 26px; | |
157 | + text-align: left; | |
158 | + width: 24px; | |
159 | +} | |
160 | + | |
161 | +#listaTemas input[type=radio]:checked+label:before { | |
162 | + content: "\2022"; /* Bullet */ | |
163 | + color: white; | |
164 | + background-color: #666; | |
165 | + font-size: 1.8em; | |
166 | + text-align: center; | |
167 | + line-height: 14px; | |
168 | + text-shadow: 0px 0px 3px #eee; | |
169 | +} | |
170 | + | |
171 | +#listaTemas input[type=checkbox]:checked+label:before { // | |
172 | + content: ""; /* Tick */ | |
173 | + content: url("../imagens/gisicons/show.png"); | |
174 | + color: white; // | |
175 | + background-color: #666; | |
176 | + text-align: center; | |
177 | + line-height: 15px; // | |
178 | +} | |
179 | + | |
180 | +#listaTemas label { | |
181 | + margin-left: 0px; | |
182 | +} | |
183 | +</style> | |
125 | 184 | <script> |
126 | 185 | i3GEO.configura.locaplic = i3GEO.util.protocolo() + "://" |
127 | 186 | + window.location.host + "/i3geo"; | ... | ... |