Commit 6f559d375af1452d10340e140a8633735a376867
1 parent
4a219fdc
Exists in
master
and in
7 other branches
Novas miniaturas para a página inicial na versão 7
Showing
32 changed files
with
18 additions
and
27 deletions
Show diff stats
admin/admin.db
No preview for this file type
5.27 KB
5.27 KB
5.27 KB
16.1 KB
39.3 KB
49.3 KB
5.83 KB
69.9 KB
36.9 KB
40.2 KB
86.3 KB
14.2 KB
29.8 KB
50.7 KB
27.7 KB
21.6 KB
21.2 KB
8.42 KB
11.7 KB
1.97 KB
42 KB
8.51 KB
77.5 KB
52.8 KB
91.3 KB
28.7 KB
17.7 KB
14.8 KB
8.22 KB
init/index.js
... | ... | @@ -112,13 +112,6 @@ botoesIni.push({ |
112 | 112 | "fa": "bar-chart", |
113 | 113 | "atalho": false |
114 | 114 | },{ |
115 | - "img":"../imagens/gvsig.jpg", | |
116 | - "href":"../pacotes/gvsig/gvsig2mapfile/upload.htm", | |
117 | - "titulo":$trad(26,g_traducao_init), | |
118 | - "subtitulo": "", | |
119 | - "fa": "upload", | |
120 | - "atalho": false | |
121 | -},{ | |
122 | 115 | "img":"insert-link.png", |
123 | 116 | "href":"../geradordelinks.htm", |
124 | 117 | "titulo":$trad(13,g_traducao_init), |
... | ... | @@ -126,13 +119,6 @@ botoesIni.push({ |
126 | 119 | "fa": "link", |
127 | 120 | "atalho": false |
128 | 121 | },{ |
129 | - "img":"atlas.png", | |
130 | - "href":"../atlas", | |
131 | - "titulo":$trad(27,g_traducao_init), | |
132 | - "subtitulo": "", | |
133 | - "fa": "list", | |
134 | - "atalho": false | |
135 | -},{ | |
136 | 122 | "img":"folder-image.png", |
137 | 123 | "href":"../exemplos", |
138 | 124 | "titulo":$trad(14,g_traducao_init), |
... | ... | @@ -146,21 +132,21 @@ botoesIni.push({ |
146 | 132 | "subtitulo": "", |
147 | 133 | "fa": "wrench" |
148 | 134 | },{ |
149 | - "img":"accessories-dictionary.png", | |
135 | + "img":"guiamigracao.png", | |
150 | 136 | "href":"../guia_de_migracao.txt", |
151 | 137 | "titulo":$trad(17,g_traducao_init), |
152 | 138 | "subtitulo": "", |
153 | 139 | "fa": "book", |
154 | 140 | "atalho": false |
155 | 141 | },{ |
156 | - "img":"accessories-dictionary.png", | |
142 | + "img":"docapi.png", | |
157 | 143 | "href":"../documentacao", |
158 | 144 | "titulo":$trad(24,g_traducao_init), |
159 | 145 | "subtitulo": "", |
160 | 146 | "fa": "book", |
161 | 147 | "atalho": false |
162 | 148 | },{ |
163 | - "img":"accessories-dictionary.png", | |
149 | + "img":"gvsigtraining.png", | |
164 | 150 | "href":"http://moodle.gvsig-training.com/course/view.php?id=11", |
165 | 151 | "titulo":$trad(28,g_traducao_init), |
166 | 152 | "subtitulo": "", |
... | ... | @@ -207,7 +193,7 @@ function mostraBotoes(){ |
207 | 193 | for(i=0;i<n;i++){ |
208 | 194 | texto = '<div class="r" ><div class="ri" ><a target=_blank href="'+botoesIni[i].href+'" ><img style="max-height:77px;" src="'+botoesIni[i].img+'" /><br><br>'+botoesIni[i].titulo+'</a>'; |
209 | 195 | if(botoesIni[i].subtitulo){ |
210 | - texto += botoesIni[i].subtitulo; | |
196 | + //texto += botoesIni[i].subtitulo; | |
211 | 197 | } |
212 | 198 | texto += '</div></div>'; |
213 | 199 | ins.push(texto); |
... | ... | @@ -215,6 +201,7 @@ function mostraBotoes(){ |
215 | 201 | $i("botoes").innerHTML = ins.join(""); |
216 | 202 | $i("conteudo").style.height = i3GEO.util.getScrollHeight() + "px"; |
217 | 203 | } |
204 | +//TODO um dia, remover as imagens da pasta init e deixar apenas as da pasta init/imagens | |
218 | 205 | function mostraBotoesBT(template,men){ |
219 | 206 | $i("mensagemLogin").innerHTML = men; |
220 | 207 | $i("jumbotron").innerHTML = "<img src='../imagens/i3Geo_bigTransp.png' style='float:left;width:80px;margin:5px;' /><p>"+$trad(35,g_traducao_init)+"</p>"; |
... | ... | @@ -224,6 +211,7 @@ function mostraBotoesBT(template,men){ |
224 | 211 | //i3GEO.barraDeBotoes.ATIVA = false; |
225 | 212 | var atalhos = [], ins = [],i,n = botoesIni.length; |
226 | 213 | for(i=0;i<n;i++){ |
214 | + botoesIni[i].img = "imagens/"+botoesIni[i].img; | |
227 | 215 | ins.push(Mustache.render(template, botoesIni[i])); |
228 | 216 | if(botoesIni[i].atalho){ |
229 | 217 | atalhos.push(Mustache.render('<a href="{{{href}}}" target="_blank" class="btn btn-raised">{{{titulo}}}</a>', botoesIni[i])); | ... | ... |
init/nindex.php
... | ... | @@ -76,9 +76,9 @@ define ( "ONDEI3GEO", ".." ); |
76 | 76 | #bandeiras { |
77 | 77 | width: 100px; |
78 | 78 | text-align: left; |
79 | - position: absolute; | |
80 | - left: 0.2cm; | |
81 | - z-index: 10; | |
79 | + //position: absolute; | |
80 | + //left: 0.2cm; | |
81 | + //z-index: 10; | |
82 | 82 | } |
83 | 83 | </style> |
84 | 84 | </head> |
... | ... | @@ -87,7 +87,7 @@ define ( "ONDEI3GEO", ".." ); |
87 | 87 | <nav class="navbar navbar-fixed-top navbar-inverse"> |
88 | 88 | <div class="container"> |
89 | 89 | <div class="navbar-header"> |
90 | - <div id="bandeiras"></div> | |
90 | + | |
91 | 91 | <p class="pull-right visible-xs" style="padding:0px;"> |
92 | 92 | <button type="button" class="navbar-toggle collapsed" data-toggle="offcanvas"> |
93 | 93 | <i class="fa fa-chevron-left"></i><i class="fa fa-chevron-right"></i> |
... | ... | @@ -100,7 +100,10 @@ define ( "ONDEI3GEO", ".." ); |
100 | 100 | </div> |
101 | 101 | <div id="navbar" class="collapse navbar-collapse"> |
102 | 102 | <ul class="nav navbar-nav"> |
103 | - <li class="active"><a href="#"><i class="fa fa-home"></i></i></a></li> | |
103 | + <li><a href="#"><div class="fa" id="bandeiras"></div></a></li> | |
104 | + </ul> | |
105 | + <ul class="nav navbar-nav pull-right"> | |
106 | + <li><a href="#"><i class="fa fa-home fa-2x"></i></i></a></li> | |
104 | 107 | </ul> |
105 | 108 | </div> |
106 | 109 | <!-- /.nav-collapse --> |
... | ... | @@ -112,9 +115,9 @@ define ( "ONDEI3GEO", ".." ); |
112 | 115 | <div class="container"> |
113 | 116 | |
114 | 117 | <div class="row row-offcanvas row-offcanvas-right"> |
115 | - | |
118 | + <div id="mensagemLogin"> | |
119 | + </div> | |
116 | 120 | <div class="col-xs-12 col-sm-9"> |
117 | - <div id="mensagemLogin" class="alert alert-danger"></div> | |
118 | 121 | <div class="jumbotron" id="jumbotron"> |
119 | 122 | </div> |
120 | 123 | <div class="row" id="botoes"></div> |
... | ... | @@ -165,7 +168,7 @@ define ( "ONDEI3GEO", ".." ); |
165 | 168 | ?> |
166 | 169 | <script> |
167 | 170 | $(document).ready(function(){ |
168 | - var template = '<div class="col-xs-6 col-lg-4"><div class="panel panel-default"><div class="panel-body" style="height: 250px;"><div class="thumbnail" style="height:90px;"><img class="img-rounded" style="max-height:77px;" src="{{{img}}}" /></div><h4>{{{titulo}}}</h4><p>{{{subtitulo}}}</p></div><div class="panel-footer text-right" style="border:0px;background-color:white;"><p><a class="btn btn-primary btn-raised" href="{{{href}}}" role="button" target="_blank" >Abrir <i class="fa fa-{{{fa}}}" aria-hidden="true" ></i></a></p></div></div></div>'; | |
171 | + var template = '<div class="col-xs-6 col-lg-4"><div class="panel panel-default"><div class="panel-body" style="height: 250px;"><div class="thumbnail" style="height:90px;"><img class="img-rounded" style="height: 100%; width: 100%" src="{{{img}}}" /></div><h4>{{{titulo}}}</h4><p>{{{subtitulo}}}</p></div><div class="panel-footer text-right" style="border:0px;background-color:white;"><p><a class="btn btn-primary btn-raised" href="{{{href}}}" role="button" target="_blank" >Abrir <i class="fa fa-{{{fa}}}" aria-hidden="true" ></i></a></p></div></div></div>'; | |
169 | 172 | <?php |
170 | 173 | if ($i3geomaster [0] ["usuario"] == "admin" && $i3geomaster [0] ["senha"] == "admin") { |
171 | 174 | echo "var men = $" . "trad(19,g_traducao_init);"; |
... | ... | @@ -173,7 +176,7 @@ define ( "ONDEI3GEO", ".." ); |
173 | 176 | echo "var men = '';"; |
174 | 177 | } |
175 | 178 | ?> |
176 | - mostraBotoesBT(template, men); | |
179 | + mostraBotoesBT(template, '<div class="col-xs-12 col-sm-12"><div class="alert alert-danger">' + men + '</div></div>'); | |
177 | 180 | }); |
178 | 181 | </script> |
179 | 182 | </body> | ... | ... |