Commit bfc9a130dfdaf4a4c24dc6a39a68a0cd54e6ec72
1 parent
ed85ba7d
Exists in
master
and in
7 other branches
Atualização admin1
Showing
12 changed files
with
192 additions
and
45 deletions
Show diff stats
admin/html/admin.css
... | ... | @@ -9,6 +9,7 @@ |
9 | 9 | width: 100%; |
10 | 10 | text-align: left; |
11 | 11 | background-color: #4682b4; |
12 | + display: none; | |
12 | 13 | } |
13 | 14 | .yui-button#okcancel_checkboxOK button { |
14 | 15 | background: url(../../imagens/oxygen/16x16/document-save.png) 5% 50% no-repeat; |
... | ... | @@ -246,6 +247,7 @@ select{ |
246 | 247 | margin: 0px auto; |
247 | 248 | box-shadow: 0px 8px 10px 0px #888; |
248 | 249 | padding: 15px |
250 | + | |
249 | 251 | } |
250 | 252 | |
251 | 253 | .fundoPonto { |
... | ... | @@ -258,6 +260,7 @@ select{ |
258 | 260 | |
259 | 261 | .cabecalhoGeral { |
260 | 262 | margin: 0px; |
263 | + display: none; | |
261 | 264 | } |
262 | 265 | |
263 | 266 | .yui-skin-sam .yui-panel .bd { | ... | ... |
admin/html/estat_editor.html
... | ... | @@ -22,9 +22,7 @@ body { |
22 | 22 | |
23 | 23 | </head> |
24 | 24 | <body class=" yui-skin-sam fundoPonto"> |
25 | - <div class="bordaSuperior"> </div> | |
26 | 25 | <div class="mascaraPrincipal" id="divGeral"> |
27 | - <div id=cabecalhoPrincipal></div> | |
28 | 26 | <h1> |
29 | 27 | {{{estatEditor}}} <img src="../imagens/04.png" style="cursor: pointer" |
30 | 28 | id=botaoAjuda /> | ... | ... |
admin/html/gruposusuarios.html
... | ... | @@ -22,9 +22,7 @@ body { |
22 | 22 | </head> |
23 | 23 | <body class=" yui-skin-sam fundoPonto"> |
24 | 24 | <center> |
25 | - <div class="bordaSuperior"> </div> | |
26 | 25 | <div class="mascaraPrincipal" id="divGeral"> |
27 | - <div id=cabecalhoPrincipal></div> | |
28 | 26 | <h1> |
29 | 27 | {{{gruposusuarios}}} <img |
30 | 28 | src="../imagens/04.png" style="cursor: pointer" id=botaoAjuda /> | ... | ... |
admin/html/subirshapefile.html
... | ... | @@ -21,11 +21,9 @@ body { |
21 | 21 | <script type="text/javascript" src="../dicionario/core.js"></script> |
22 | 22 | <link rel="stylesheet" type="text/css" href="admin.css"> |
23 | 23 | </head> |
24 | -<body class=" yui-skin-sam fundoPonto"> | |
24 | +<body class=" yui-skin-sam fundoPonto" style="background: none"> | |
25 | 25 | <center> |
26 | - <div class="bordaSuperior"> </div> | |
27 | 26 | <div class="mascaraPrincipal" id="divGeral"> |
28 | - <div id=cabecalhoPrincipal></div> | |
29 | 27 | <div id="formulario" style="display: none"> |
30 | 28 | <div id="conteudo" style="width: 500px"></div> |
31 | 29 | </div> | ... | ... |
admin/html/subirsimbolo.html
... | ... | @@ -22,11 +22,9 @@ body { |
22 | 22 | <script type="text/javascript" src="../dicionario/core.js"></script> |
23 | 23 | <link rel="stylesheet" type="text/css" href="admin.css"> |
24 | 24 | </head> |
25 | -<body class=" yui-skin-sam fundoPonto"> | |
25 | +<body class=" yui-skin-sam fundoPonto" style="background-color: white;"> | |
26 | 26 | <center> |
27 | - <div class="bordaSuperior"> </div> | |
28 | 27 | <div class="mascaraPrincipal" id="divGeral"> |
29 | - <div id=cabecalhoPrincipal></div> | |
30 | 28 | <div id="formulario" style="display: none"> |
31 | 29 | <div id="conteudo" style="width: 500px"></div> |
32 | 30 | </div> | ... | ... |
admin/js/core.js
... | ... | @@ -88,20 +88,22 @@ function cabecalhoMetaestat(id,excluir){ |
88 | 88 | ins += "<div id='i3GEONomeLogin' style=width:100%; > Login: "+u+"</div>"; |
89 | 89 | ins += "</fieldset>"; |
90 | 90 | temp = $i(id); |
91 | - temp.innerHTML = ins; | |
92 | - for(i=0;i<n;i++){ | |
93 | - if(excluir === "principal" && botoes[i].link) | |
94 | - {botoes[i].link = "html/"+botoes[i].link;} | |
95 | - if(botoes[i].id !== excluir){ | |
96 | - botao = new YAHOO.widget.Button(botoes[i].id); | |
97 | - botao.addClass("abrir150"); | |
98 | - if(botoes[i].link){ | |
99 | - eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){window.location = \''+botoes[i].link+'\';}'); | |
100 | - } | |
101 | - else{ | |
102 | - eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){'+botoes[i].js+';}'); | |
103 | - } | |
91 | + if(temp){ | |
92 | + temp.innerHTML = ins; | |
93 | + for(i=0;i<n;i++){ | |
94 | + if(excluir === "principal" && botoes[i].link) | |
95 | + {botoes[i].link = "html/"+botoes[i].link;} | |
96 | + if(botoes[i].id !== excluir){ | |
97 | + botao = new YAHOO.widget.Button(botoes[i].id); | |
98 | + botao.addClass("abrir150"); | |
99 | + if(botoes[i].link){ | |
100 | + eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){window.location = \''+botoes[i].link+'\';}'); | |
101 | + } | |
102 | + else{ | |
103 | + eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){'+botoes[i].js+';}'); | |
104 | + } | |
104 | 105 | |
106 | + } | |
105 | 107 | } |
106 | 108 | } |
107 | 109 | try{ |
... | ... | @@ -184,20 +186,22 @@ function cabecalhoGeral(id,excluir,prefixo){ |
184 | 186 | ins += "<div id='i3GEONomeLogin' style=width:100%; > Login: "+u+"</div>"; |
185 | 187 | ins += "</fieldset>"; |
186 | 188 | temp = $i(id); |
187 | - temp.innerHTML = ins; | |
188 | - for(i=0;i<n;i++){ | |
189 | - if(excluir === "principal" && botoes[i].link) | |
190 | - {botoes[i].link = "html/"+botoes[i].link;} | |
191 | - if(botoes[i].id !== excluir){ | |
192 | - botao = new YAHOO.widget.Button(botoes[i].id); | |
193 | - botao.addClass("abrir150"); | |
194 | - if(botoes[i].link){ | |
195 | - eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){window.location = \''+botoes[i].link+'\';}'); | |
196 | - } | |
197 | - else{ | |
198 | - eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){'+botoes[i].js+';}'); | |
199 | - } | |
189 | + if(temp){ | |
190 | + temp.innerHTML = ins; | |
191 | + for(i=0;i<n;i++){ | |
192 | + if(excluir === "principal" && botoes[i].link) | |
193 | + {botoes[i].link = "html/"+botoes[i].link;} | |
194 | + if(botoes[i].id !== excluir){ | |
195 | + botao = new YAHOO.widget.Button(botoes[i].id); | |
196 | + botao.addClass("abrir150"); | |
197 | + if(botoes[i].link){ | |
198 | + eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){window.location = \''+botoes[i].link+'\';}'); | |
199 | + } | |
200 | + else{ | |
201 | + eval('$i("'+botoes[i].id+'-button'+'").onclick = function(){'+botoes[i].js+';}'); | |
202 | + } | |
200 | 203 | |
204 | + } | |
201 | 205 | } |
202 | 206 | } |
203 | 207 | try{ | ... | ... |
admin/js/estat_editor.js
... | ... | @@ -583,11 +583,11 @@ i3GEOadmin.editor = { |
583 | 583 | '<p class="paragrafo" >Nome da tabela (não utilize caracteres incompatíveis com o banco de dados, como -, acentos ou espaços em branco):<br>' + |
584 | 584 | '<input class=digitar type="text" size=40 id="tabelaDestino" name="tabelaDestino" style="top:0px;left:0px;cursor:pointer;"> ' + |
585 | 585 | 'Ou escolha uma tabela existente no banco de dados: ' + |
586 | - '<div class='styled-select'><select onchange="javascript:$i(tabelaDestino).value = this.value;">' + | |
586 | + '<div class=styled-select ><select onchange="javascript:$i(tabelaDestino).value = this.value;">' + | |
587 | 587 | i3GEOadmin.editor.tabela.optionsTabela + |
588 | 588 | '</select></div>' + |
589 | 589 | '<p class="paragrafo" >Tipo de operação:</p>' + |
590 | - '<div class='styled-select'><select id=i3GEOtipoOperacao name=tipoOperacao >' + | |
590 | + '<div class=styled-select ><select id=i3GEOtipoOperacao name=tipoOperacao >' + | |
591 | 591 | '<option value=criar >Criar a tabela nova e incluir registros do SHP</option>' + |
592 | 592 | '<option value=incluir >Adicionar novos registros</option>' + |
593 | 593 | '<option value=apagar >Apagar dados atuais e incluir do SHP</option>' + |
... | ... | @@ -600,7 +600,7 @@ i3GEOadmin.editor = { |
600 | 600 | '</fieldset>' + |
601 | 601 | '<fieldset class=subbloco >' + |
602 | 602 | '<legend>Projeção</legend>' + |
603 | - '<p class="paragrafo" >Se voc� n�o escolheu o arquivo PRJ escolha o código da projeção (SRID) do arquivo</p>' + | |
603 | + '<p class="paragrafo" >Se voce nao escolheu o arquivo PRJ escolha o código da projeção (SRID) do arquivo</p>' + | |
604 | 604 | '<input class=digitar type="text" value="4326" size=20 id="insrid" name="insrid" style="top:0px;left:0px;cursor:pointer;float:left;margin-right:10px;"><div id=selInSrid ></div>' + |
605 | 605 | '<p class="paragrafo" >Projetar o arquivo para (deixe em branco se você não quiser aplicar nenhuma transformação de projeção):</p>' + |
606 | 606 | '<input class=digitar type="text" value="" size=20 id="outsrid" name="outsrid" style="top:0px;left:0px;cursor:pointer;float:left;margin-right:10px;"><div id=selOutSrid ></div>' + |
... | ... | @@ -667,7 +667,7 @@ i3GEOadmin.editor = { |
667 | 667 | '<p class="paragrafo" >CSV (Não utilize separador de milhar e utilize ponto como separador de casas decimais ou a importação poderá não ocorrer): <br><br><input type="file" size=22 name="i3GEOuploadcsv" style="top:0px;left:0px;cursor:pointer;"></p>' + |
668 | 668 | '<p class="paragrafo" >Nome da nova tabela (não utilize caracteres incompatíveis com o banco de dados, como -, acentos ou espaços em branco):<br><input class=digitar type="text" size=20 id="tabelaDestinocsv" name="tabelaDestinocsv" style="top:0px;left:0px;cursor:pointer;"> ' + |
669 | 669 | 'Ou escolha da lista: ' + |
670 | - '<div class='styled-select'><select onchange="javascript:$i(tabelaDestinocsv).value = this.value;">' + | |
670 | + '<div class=styled-select ><select onchange="javascript:$i(tabelaDestinocsv).value = this.value;">' + | |
671 | 671 | i3GEOadmin.editor.tabela.optionsTabela + |
672 | 672 | '</select></div>' + |
673 | 673 | '</fieldset>' + |
... | ... | @@ -675,7 +675,7 @@ i3GEOadmin.editor = { |
675 | 675 | '<p class="paragrafo" >Comentário:</p>' + |
676 | 676 | '<textarea name="comentarioCsv" rows="5" cols="70" ></textarea>' + |
677 | 677 | '<p class="paragrafo" >Tipo de operação:</p>' + |
678 | - '<div class='styled-select'><select id=i3GEOtipoOperacaocsv name=tipoOperacao >' + | |
678 | + '<div class=styled-select ><select id=i3GEOtipoOperacaocsv name=tipoOperacao >' + | |
679 | 679 | '<option value=criar >Criar a tabela nova e incluir registros do CSV</option>' + |
680 | 680 | '<option value=incluir >Adicionar novos registros</option>' + |
681 | 681 | '<option value=apagar >Apagar dados atuais e incluir do CSV</option>' + | ... | ... |
admin1/head.js
... | ... | @@ -72,7 +72,7 @@ menuPrincipal = [ |
72 | 72 | },{ |
73 | 73 | html: "<a href='" + i3GEO.configura.locaplic + "/admin1/usuarios/cadastro/index.php' >"+$trad("cadastroUsuario",i3GEOadmin.menup.dicionario)+"</a>" |
74 | 74 | },{ |
75 | - html: "<a href='html/gruposusuarios.html' >"+$trad("cadastroGrupos",i3GEOadmin.menup.dicionario)+"</a>" | |
75 | + html: "<a href='" + i3GEO.configura.locaplic + "/admin1/usuarios/grupos/index.php' >"+$trad("cadastroGrupos",i3GEOadmin.menup.dicionario)+"</a>" | |
76 | 76 | } |
77 | 77 | ]},{ |
78 | 78 | html: $trad("metadadosEstatisticos",i3GEOadmin.menup.dicionario), |
... | ... | @@ -101,11 +101,11 @@ menuPrincipal = [ |
101 | 101 | type: "html", |
102 | 102 | children:[ |
103 | 103 | { |
104 | - html: "<a href='html/subirshapefile.html' >"+$trad("enviarShp",i3GEOadmin.menup.dicionario)+"</a>" | |
104 | + html: "<a href='" + i3GEO.configura.locaplic + "/admin1/upload/arquivo/index.php' >"+$trad("enviarShp",i3GEOadmin.menup.dicionario)+"</a>" | |
105 | 105 | },{ |
106 | - html: "<a href='html/estat_editor.html' >"+$trad("gerenciaBd",i3GEOadmin.menup.dicionario)+"</a>" | |
106 | + html: "<a href='" + i3GEO.configura.locaplic + "/admin1/upload/banco/index.php' >"+$trad("gerenciaBd",i3GEOadmin.menup.dicionario)+"</a>" | |
107 | 107 | },{ |
108 | - html: "<a href='html/subirsimbolo.html' >"+$trad("uploadSimbolo",i3GEOadmin.menup.dicionario)+"</a>" | |
108 | + html: "<a href='" + i3GEO.configura.locaplic + "/admin1/upload/simbolo/index.php' >"+$trad("uploadSimbolo",i3GEOadmin.menup.dicionario)+"</a>" | |
109 | 109 | } |
110 | 110 | ]},{ |
111 | 111 | html: $trad("editaMapfile",i3GEOadmin.menup.dicionario), | ... | ... |
... | ... | @@ -0,0 +1,37 @@ |
1 | +<?php | |
2 | +define ( ONDEI3GEO, "../../.." ); | |
3 | +include (dirname ( __FILE__ ) . "/../../../ms_configura.php"); | |
4 | +error_reporting ( 0 ); | |
5 | +include "../../head.php"; | |
6 | +?> | |
7 | +<div class="container-fluid"> | |
8 | + <div class="row"> | |
9 | + <ol class="breadcrumb"> | |
10 | + <li><a href="../../init/index.php">i3Geo</a></li> | |
11 | + <li><a href="../../index.php">Admin</a></li> | |
12 | + <li>Upload</li> | |
13 | + <li class="active">Arquivos</li> | |
14 | + </ol> | |
15 | + </div> | |
16 | + | |
17 | +</div> | |
18 | +<div class="container-fluid"> | |
19 | + <div class="row"> | |
20 | + <iframe src="../../../admin/html/subirshapefile.html" style="width:100%; height:5000px;border:none; scrolling:no; frameborder:0; marginheight:0; marginwidth:0;" ></iframe> | |
21 | +</div> | |
22 | +</div> | |
23 | +<script> | |
24 | + $(document).ready(function(){ | |
25 | + //vem de admin1/index.js | |
26 | + iniciaMenuPrincipal(); | |
27 | + $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { | |
28 | + event.preventDefault(); | |
29 | + event.stopPropagation(); | |
30 | + $(this).parent().siblings().removeClass('open'); | |
31 | + $(this).parent().toggleClass('open'); | |
32 | + }); | |
33 | + $.material.init(); | |
34 | + }); | |
35 | +</script> | |
36 | +</body> | |
37 | +</html> | ... | ... |
... | ... | @@ -0,0 +1,37 @@ |
1 | +<?php | |
2 | +define ( ONDEI3GEO, "../../.." ); | |
3 | +include (dirname ( __FILE__ ) . "/../../../ms_configura.php"); | |
4 | +error_reporting ( 0 ); | |
5 | +include "../../head.php"; | |
6 | +?> | |
7 | +<div class="container-fluid"> | |
8 | + <div class="row"> | |
9 | + <ol class="breadcrumb"> | |
10 | + <li><a href="../../init/index.php">i3Geo</a></li> | |
11 | + <li><a href="../../index.php">Admin</a></li> | |
12 | + <li>Upload</li> | |
13 | + <li class="active">para o banco de dados</li> | |
14 | + </ol> | |
15 | + </div> | |
16 | + | |
17 | +</div> | |
18 | +<div class="container-fluid"> | |
19 | + <div class="row"> | |
20 | + <iframe src="../../../admin/html/estat_editor.html" style="width:100%; height:5000px;border:none; scrolling:no; frameborder:0; marginheight:0; marginwidth:0;" ></iframe> | |
21 | +</div> | |
22 | +</div> | |
23 | +<script> | |
24 | + $(document).ready(function(){ | |
25 | + //vem de admin1/index.js | |
26 | + iniciaMenuPrincipal(); | |
27 | + $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { | |
28 | + event.preventDefault(); | |
29 | + event.stopPropagation(); | |
30 | + $(this).parent().siblings().removeClass('open'); | |
31 | + $(this).parent().toggleClass('open'); | |
32 | + }); | |
33 | + $.material.init(); | |
34 | + }); | |
35 | +</script> | |
36 | +</body> | |
37 | +</html> | ... | ... |
... | ... | @@ -0,0 +1,37 @@ |
1 | +<?php | |
2 | +define ( ONDEI3GEO, "../../.." ); | |
3 | +include (dirname ( __FILE__ ) . "/../../../ms_configura.php"); | |
4 | +error_reporting ( 0 ); | |
5 | +include "../../head.php"; | |
6 | +?> | |
7 | +<div class="container-fluid"> | |
8 | + <div class="row"> | |
9 | + <ol class="breadcrumb"> | |
10 | + <li><a href="../../init/index.php">i3Geo</a></li> | |
11 | + <li><a href="../../index.php">Admin</a></li> | |
12 | + <li>Upload</li> | |
13 | + <li class="active">símbolo</li> | |
14 | + </ol> | |
15 | + </div> | |
16 | + | |
17 | +</div> | |
18 | +<div class="container-fluid"> | |
19 | + <div class="row"> | |
20 | + <iframe src="../../../admin/html/subirsimbolo.html" style="width:100%; height:5000px;border:none; scrolling:no; frameborder:0; marginheight:0; marginwidth:0;" ></iframe> | |
21 | +</div> | |
22 | +</div> | |
23 | +<script> | |
24 | + $(document).ready(function(){ | |
25 | + //vem de admin1/index.js | |
26 | + iniciaMenuPrincipal(); | |
27 | + $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { | |
28 | + event.preventDefault(); | |
29 | + event.stopPropagation(); | |
30 | + $(this).parent().siblings().removeClass('open'); | |
31 | + $(this).parent().toggleClass('open'); | |
32 | + }); | |
33 | + $.material.init(); | |
34 | + }); | |
35 | +</script> | |
36 | +</body> | |
37 | +</html> | ... | ... |
... | ... | @@ -0,0 +1,37 @@ |
1 | +<?php | |
2 | +define ( ONDEI3GEO, "../../.." ); | |
3 | +include (dirname ( __FILE__ ) . "/../../../ms_configura.php"); | |
4 | +error_reporting ( 0 ); | |
5 | +include "../../head.php"; | |
6 | +?> | |
7 | +<div class="container-fluid"> | |
8 | + <div class="row"> | |
9 | + <ol class="breadcrumb"> | |
10 | + <li><a href="../../init/index.php">i3Geo</a></li> | |
11 | + <li><a href="../../index.php">Admin</a></li> | |
12 | + <li>Usuários</li> | |
13 | + <li class="active">Grupos</li> | |
14 | + </ol> | |
15 | + </div> | |
16 | + | |
17 | +</div> | |
18 | +<div class="container-fluid"> | |
19 | + <div class="row"> | |
20 | + <iframe src="../../../admin/html/gruposusuarios.html" style="width:100%; height:5000px;border:none; scrolling:no; frameborder:0; marginheight:0; marginwidth:0;" ></iframe> | |
21 | +</div> | |
22 | +</div> | |
23 | +<script> | |
24 | + $(document).ready(function(){ | |
25 | + //vem de admin1/index.js | |
26 | + iniciaMenuPrincipal(); | |
27 | + $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { | |
28 | + event.preventDefault(); | |
29 | + event.stopPropagation(); | |
30 | + $(this).parent().siblings().removeClass('open'); | |
31 | + $(this).parent().toggleClass('open'); | |
32 | + }); | |
33 | + $.material.init(); | |
34 | + }); | |
35 | +</script> | |
36 | +</body> | |
37 | +</html> | ... | ... |