Commit 04557b86b4b1545105b5b9174d2351b7008e816c
1 parent
bd90d624
Exists in
master
and in
7 other branches
Alteração no estilo da página de abertura
Showing
2 changed files
with
32 additions
and
20 deletions
Show diff stats
init/dicionario.js
init/index.php
... | ... | @@ -62,8 +62,8 @@ body { |
62 | 62 | text-align: center; |
63 | 63 | font-size: 0.6cm; |
64 | 64 | font-family: Verdana, Arial, Helvetica, sans-serif; |
65 | - background-color: white; | |
66 | - background-image: url(../imagens/i3geo1bw.jpg); | |
65 | + background-color: rgb(250,250,250); | |
66 | + maergin: auto; | |
67 | 67 | } |
68 | 68 | |
69 | 69 | .r { |
... | ... | @@ -111,28 +111,34 @@ h1 { |
111 | 111 | a { |
112 | 112 | margin: 0px auto; |
113 | 113 | text-decoration: none; |
114 | + font-size: 14px; | |
115 | +} | |
116 | +.borda { | |
117 | + background-color: #990000; | |
118 | + padding: 5px 0px 5px 0px; | |
119 | + text-align: left; | |
120 | + width: 100%; | |
114 | 121 | } |
115 | 122 | </style> |
116 | 123 | </head> |
117 | 124 | <body class=" yui-skin-sam "> |
125 | + <div class="borda"> | |
126 | + <div id="bandeiras"></div> | |
127 | + <div><a href="http://www.softwarepublico.gov.br" target="_blank" style="color:white;"><b>i3Geo</b></a></div> | |
128 | + </div> | |
118 | 129 | |
119 | - <center> | |
120 | - <div id="bandeiras"></div> | |
121 | - <div class="bordaSuperior" style="z-index: 1;"> </div> | |
122 | - | |
123 | - <div class="mascaraPrincipal" style="max-width: 718pt;"> | |
124 | - <div id="conteudo" style="position: relative; top: -10px; margin: 0 0 0.2cm 0.2cm;"> | |
125 | - <div style="margin-top: 0px;"> | |
130 | + <div id="conteudo" style="position: relative; top: -10px; margin:auto;max-width:1000px;left: 10px;"> | |
131 | + <div style="margin-top: 5px;"> | |
126 | 132 | <?php |
127 | 133 | if($i3geomaster[0]["usuario"] == "admin" && $i3geomaster[0]["senha"] == "admin" ){ |
128 | 134 | echo "<p style='font-size:14px;color:red;margin-top:20px;'><script>document.write($"."trad(19,g_traducao_init));</script>"; |
129 | 135 | } |
130 | 136 | ?> |
131 | - <div id="botoes"></div> | |
137 | + <div id="botoes" style=""></div> | |
132 | 138 | |
133 | - <a class="r"><table><tbody><tr><td> | |
139 | + <div class="r"><table><tbody><tr><td> | |
134 | 140 | <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_users.js?style=gray"></script> |
135 | - </td></tr></tbody></table></a> | |
141 | + </td></tr></tbody></table></div> | |
136 | 142 | </div> |
137 | 143 | <div style="float: left"> |
138 | 144 | <a href="#" class="r" style="width: 230px; height: 380px;"> |
... | ... | @@ -161,8 +167,7 @@ a { |
161 | 167 | </a> |
162 | 168 | </div> |
163 | 169 | </div> |
164 | - </div> | |
165 | - </center> | |
170 | + | |
166 | 171 | </body> |
167 | 172 | <script> |
168 | 173 | botoesIni = []; |
... | ... | @@ -225,7 +230,8 @@ botoesIni.push({ |
225 | 230 | },{ |
226 | 231 | "img":"../imagens/saiku_free_small.png", |
227 | 232 | "href":"../ferramentas/saiku/esquemaxml.php?locaplic="+window.location.href.replace("/init/index.php",""), |
228 | - "titulo":$trad(25,g_traducao_init) | |
233 | + "titulo":$trad(25,g_traducao_init), | |
234 | + "subtitulo": " <a target=_blank src='https://medium.com/@Meteorite_BI/so-people-who-land-on-our-community-download-page-will-notice-a-subtle-difference-when-they-click-1b61aca316c5' >"+$trad(29,g_traducao_init)+"</a>", | |
229 | 235 | },{ |
230 | 236 | "img":"../imagens/gvsig.jpg", |
231 | 237 | "href":"../pacotes/gvsig/gvsig2mapfile/upload.htm", |
... | ... | @@ -277,12 +283,11 @@ i3GEO.barraDeBotoes.ATIVA = false; |
277 | 283 | function mostraBotoes(){ |
278 | 284 | var ins = [],i,n = botoesIni.length,texto; |
279 | 285 | for(i=0;i<n;i++){ |
280 | - if(botoesIni[i].href === ""){ | |
281 | - texto = '<span class="r"><table ><tr><td><img src="'+botoesIni[i].img+'" /><br>'+botoesIni[i].titulo+'</a></td></tr></table></span>'; | |
282 | - } | |
283 | - else{ | |
284 | - texto = '<a target=_blank href="'+botoesIni[i].href+'" class="r"><table ><tr><td><img src="'+botoesIni[i].img+'" /><br>'+botoesIni[i].titulo+'</a></td></tr></table></a>'; | |
286 | + texto = '<div class="r" ><table ><tr><td><a target=_blank href="'+botoesIni[i].href+'" ><img src="'+botoesIni[i].img+'" /><br><br>'+botoesIni[i].titulo+'</a>'; | |
287 | + if(botoesIni[i].subtitulo){ | |
288 | + texto += botoesIni[i].subtitulo; | |
285 | 289 | } |
290 | + texto += '</td></tr></table></div>'; | |
286 | 291 | ins.push(texto); |
287 | 292 | } |
288 | 293 | $i("botoes").innerHTML = ins.join(""); | ... | ... |