Commit 04557b86b4b1545105b5b9174d2351b7008e816c

Authored by Edmar Moretti
1 parent bd90d624

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
@@ -195,5 +195,12 @@ g_traducao_init = @@ -195,5 +195,12 @@ g_traducao_init =
195 en : "", 195 en : "",
196 es : "" 196 es : ""
197 } 197 }
  198 + ],
  199 + 29 : [
  200 + {
  201 + pt : "- Considere uma doação!",
  202 + en : "",
  203 + es : ""
  204 + }
198 ] 205 ]
199 }; 206 };
init/index.php
@@ -62,8 +62,8 @@ body { @@ -62,8 +62,8 @@ body {
62 text-align: center; 62 text-align: center;
63 font-size: 0.6cm; 63 font-size: 0.6cm;
64 font-family: Verdana, Arial, Helvetica, sans-serif; 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 .r { 69 .r {
@@ -111,28 +111,34 @@ h1 { @@ -111,28 +111,34 @@ h1 {
111 a { 111 a {
112 margin: 0px auto; 112 margin: 0px auto;
113 text-decoration: none; 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 </style> 122 </style>
116 </head> 123 </head>
117 <body class=" yui-skin-sam "> 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;">&nbsp;</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 <?php 132 <?php
127 if($i3geomaster[0]["usuario"] == "admin" && $i3geomaster[0]["senha"] == "admin" ){ 133 if($i3geomaster[0]["usuario"] == "admin" && $i3geomaster[0]["senha"] == "admin" ){
128 echo "<p style='font-size:14px;color:red;margin-top:20px;'><script>document.write($"."trad(19,g_traducao_init));</script>"; 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 <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_users.js?style=gray"></script> 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 </div> 142 </div>
137 <div style="float: left"> 143 <div style="float: left">
138 <a href="#" class="r" style="width: 230px; height: 380px;"> 144 <a href="#" class="r" style="width: 230px; height: 380px;">
@@ -161,8 +167,7 @@ a { @@ -161,8 +167,7 @@ a {
161 </a> 167 </a>
162 </div> 168 </div>
163 </div> 169 </div>
164 - </div>  
165 - </center> 170 +
166 </body> 171 </body>
167 <script> 172 <script>
168 botoesIni = []; 173 botoesIni = [];
@@ -225,7 +230,8 @@ botoesIni.push({ @@ -225,7 +230,8 @@ botoesIni.push({
225 },{ 230 },{
226 "img":"../imagens/saiku_free_small.png", 231 "img":"../imagens/saiku_free_small.png",
227 "href":"../ferramentas/saiku/esquemaxml.php?locaplic="+window.location.href.replace("/init/index.php",""), 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 "img":"../imagens/gvsig.jpg", 236 "img":"../imagens/gvsig.jpg",
231 "href":"../pacotes/gvsig/gvsig2mapfile/upload.htm", 237 "href":"../pacotes/gvsig/gvsig2mapfile/upload.htm",
@@ -277,12 +283,11 @@ i3GEO.barraDeBotoes.ATIVA = false; @@ -277,12 +283,11 @@ i3GEO.barraDeBotoes.ATIVA = false;
277 function mostraBotoes(){ 283 function mostraBotoes(){
278 var ins = [],i,n = botoesIni.length,texto; 284 var ins = [],i,n = botoesIni.length,texto;
279 for(i=0;i<n;i++){ 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 ins.push(texto); 291 ins.push(texto);
287 } 292 }
288 $i("botoes").innerHTML = ins.join(""); 293 $i("botoes").innerHTML = ins.join("");