Commit 88f8f12b407996638a80bcaddca3e3f0c9c3240f
1 parent
1101229c
Exists in
master
and in
7 other branches
Inclusão de botão de teste na opção de definição de conexão no editor de mapfile…
…s. Alteração nos ícones das opções no editor de mapfiles
Showing
4 changed files
with
59 additions
and
52 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/catalogo/mapfile/conexao/local/index.js
| ... | ... | @@ -120,5 +120,9 @@ i3GEOadmin.conexaolocal = { |
| 120 | 120 | i3GEOadmin.core.mostraErro(data.status + " " +data.statusText); |
| 121 | 121 | } |
| 122 | 122 | ); |
| 123 | + }, | |
| 124 | + testa: function(codigo){ | |
| 125 | + i3GEOadmin.core.modalAguarde(true); | |
| 126 | + i3GEOadmin.teste.testaImg("../../../../..",codigo,"","",$("#modalGeral .modal-body")) | |
| 123 | 127 | } |
| 124 | 128 | }; |
| 125 | 129 | \ No newline at end of file | ... | ... |
admin/catalogo/mapfile/conexao/local/index.php
| 1 | 1 | <?php |
| 2 | -//TODO incluir opcao para listar os arquivos no servidor | |
| 3 | -//TODO incluir construtor de sql | |
| 4 | -define ( "ONDEI3GEO", "../../../../.." ); | |
| 2 | +// TODO incluir opcao para listar os arquivos no servidor | |
| 3 | +// TODO incluir construtor de sql | |
| 4 | +define("ONDEI3GEO", "../../../../.."); | |
| 5 | 5 | include ("exec.php"); |
| 6 | 6 | |
| 7 | 7 | include "../../../../head.php"; |
| 8 | -$codigo = filter_var ( $_GET ["codigo"], FILTER_SANITIZE_STRING ); | |
| 9 | -$id_tema = (int) $_GET ["id_tema"]; | |
| 8 | +$codigo = filter_var($_GET["codigo"], FILTER_SANITIZE_STRING); | |
| 9 | +$id_tema = (int) $_GET["id_tema"]; | |
| 10 | 10 | ?> |
| 11 | 11 | <div class="container-fluid migalha"> |
| 12 | - <div class="row"> | |
| 13 | - <div class="btn-group btn-breadcrumb"> | |
| 14 | - <a class="btn btn-default" href="../../../../../init/index.php"> | |
| 15 | - <span>i3Geo</span> | |
| 16 | - </a> | |
| 17 | - <a class="btn btn-default" href="../../../../index.php"> | |
| 18 | - <span>Admin</span> | |
| 19 | - </a> | |
| 20 | - <a class="btn btn-default" style="pointer-events: none"> | |
| 21 | - <span>Catálogo</span> | |
| 22 | - </a> | |
| 23 | - <a class="btn btn-default" href="../../index.php"> | |
| 24 | - <span>Mapfiles</span> | |
| 25 | - </a> | |
| 26 | - <a class="btn btn-default" href="../../opcoes/index.php?codigo=<?php echo $codigo; ?>&id_tema=<?php echo $id_tema; ?>"> | |
| 27 | - <span>Opções</span> | |
| 28 | - </a> | |
| 29 | - <a class="btn btn-default" style="pointer-events: none"> | |
| 30 | - <span><?php echo $codigo; ?></span> | |
| 31 | - </a> | |
| 32 | - <a class="btn btn-default" style="pointer-events: none"> | |
| 33 | - <span>Conexão local</span> | |
| 34 | - </a> | |
| 35 | - </div> | |
| 36 | - </div> | |
| 12 | + <div class="row"> | |
| 13 | + <div class="btn-group btn-breadcrumb"> | |
| 14 | + <a class="btn btn-default" href="../../../../../init/index.php"> | |
| 15 | + <span>i3Geo</span> | |
| 16 | + </a> | |
| 17 | + <a class="btn btn-default" href="../../../../index.php"> | |
| 18 | + <span>Admin</span> | |
| 19 | + </a> | |
| 20 | + <a class="btn btn-default" style="pointer-events: none"> | |
| 21 | + <span>Catálogo</span> | |
| 22 | + </a> | |
| 23 | + <a class="btn btn-default" href="../../index.php"> | |
| 24 | + <span>Mapfiles</span> | |
| 25 | + </a> | |
| 26 | + <a class="btn btn-default" href="../../opcoes/index.php?codigo=<?php echo $codigo; ?>&id_tema=<?php echo $id_tema; ?>"> | |
| 27 | + <span>Opções</span> | |
| 28 | + </a> | |
| 29 | + <a class="btn btn-default" style="pointer-events: none"> | |
| 30 | + <span><?php echo $codigo; ?></span> | |
| 31 | + </a> | |
| 32 | + <a class="btn btn-default" style="pointer-events: none"> | |
| 33 | + <span>Conexão local</span> | |
| 34 | + </a> | |
| 35 | + </div> | |
| 36 | + </div> | |
| 37 | 37 | </div> |
| 38 | 38 | <div class="container"> |
| 39 | - <div class="row center-block"> | |
| 40 | - <div class="col-md-12" id="titulo"> | |
| 41 | - <div class="well hidden" > | |
| 42 | - <h2><small>{{{conexaoLocal}}}</small></h2> | |
| 43 | - <blockquote>{{{conexaoLayerLocal}}}</blockquote> | |
| 44 | - <div class="clearfix"></div> | |
| 45 | - </div> | |
| 46 | - <div class="well hidden"> | |
| 47 | - <div id="corpo"> | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - </div> | |
| 51 | - </div> | |
| 39 | + <div class="row center-block"> | |
| 40 | + <div class="col-md-12" id="titulo"> | |
| 41 | + <div class="well hidden"> | |
| 42 | + <h2> | |
| 43 | + <small>{{{conexaoLocal}}}</small> | |
| 44 | + </h2> | |
| 45 | + <blockquote>{{{conexaoLayerLocal}}}</blockquote> | |
| 46 | + <div class="clearfix"></div> | |
| 47 | + <button onclick="i3GEOadmin.conexaolocal.testa('<?php echo $codigo; ?>')" href="javascript:void(0)" class="btn btn-primary" role="button" style="color:#008579;">{{{testaLayer}}}</button> | |
| 48 | + </div> | |
| 49 | + <div class="well hidden"> | |
| 50 | + <div id="corpo"></div> | |
| 51 | + </div> | |
| 52 | + </div> | |
| 53 | + </div> | |
| 52 | 54 | </div> |
| 53 | 55 | <?php |
| 54 | -include("templates/templateFormConexaoLocal.php"); | |
| 55 | -include("../../templates/templateTiposLayer.php"); | |
| 56 | -include("../../templates/templateTiposConexao.php"); | |
| 57 | -include("../../../../templates/templateOpcoesPublicado.php"); | |
| 56 | +include ("templates/templateFormConexaoLocal.php"); | |
| 57 | +include ("../../templates/templateTiposLayer.php"); | |
| 58 | +include ("../../templates/templateTiposConexao.php"); | |
| 59 | +include ("../../../../templates/templateOpcoesPublicado.php"); | |
| 58 | 60 | ?> |
| 59 | 61 | <script type="text/javascript" src="index.js"></script> |
| 62 | +<script type="text/javascript" src="../../teste/index.js"></script> | |
| 60 | 63 | <script type="text/javascript" src="../../../../dicionario/editormapfile.js"></script> |
| 61 | 64 | <script> |
| 62 | 65 | $(document).ready(function(){ | ... | ... |
admin/catalogo/mapfile/opcoes/templates/templateMaisOpcoes.php
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | <div class="row-content" > |
| 32 | 32 | <h4 class="list-group-item-heading"> |
| 33 | 33 | <a title="{{{testaLayer}}}" onclick="i3GEOadmin.opcoesmapfile.testa('{{codigo}}')" href="javascript:void(0)" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> |
| 34 | - <i class="material-icons md-18">send</i> | |
| 34 | + <i class="material-icons md-18">gavel</i> | |
| 35 | 35 | </a> |
| 36 | 36 | {{{testaLayer}}} |
| 37 | 37 | </h4> |
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | <div class="row-content" > |
| 43 | 43 | <h4 class="list-group-item-heading"> |
| 44 | 44 | <a title="{{{testarI3geo}}}" onclick="window.open('../../../../ms_criamapa.php?temasa={{codigo}}&layers={{codigo}}')" href="javascript:void(0)" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> |
| 45 | - <i class="material-icons md-18">send</i> | |
| 45 | + <i class="material-icons md-18">gavel</i> | |
| 46 | 46 | </a> |
| 47 | 47 | {{{testarI3geo}}} |
| 48 | 48 | </h4> |
| ... | ... | @@ -53,7 +53,7 @@ |
| 53 | 53 | <div class="row-content" > |
| 54 | 54 | <h4 class="list-group-item-heading"> |
| 55 | 55 | <a title="{{{editarI3geo}}}" onclick="window.open('../../../../admin/black_editor.php?temaEdicao={{codigo}}')" href="javascript:void(0)" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> |
| 56 | - <i class="material-icons md-18">more_horiz</i> | |
| 56 | + <i class="material-icons md-18">mode_edit</i> | |
| 57 | 57 | </a> |
| 58 | 58 | {{{editarI3geo}}} |
| 59 | 59 | <span id="helpBlock" class="help-block"> |
| ... | ... | @@ -67,7 +67,7 @@ |
| 67 | 67 | <div class="row-content" > |
| 68 | 68 | <h4 class="list-group-item-heading"> |
| 69 | 69 | <a title="{{{editorTxt}}}" href="../editor/index.php?codigo={{codigo}}&id_tema={{id_tema}}" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> |
| 70 | - <i class="material-icons md-18">more_horiz</i> | |
| 70 | + <i class="material-icons md-18">mode_edit</i> | |
| 71 | 71 | </a> |
| 72 | 72 | {{{editorTxt}}} |
| 73 | 73 | </h4> |
| ... | ... | @@ -78,7 +78,7 @@ |
| 78 | 78 | <div class="row-content"> |
| 79 | 79 | <h4 class="list-group-item-heading"> |
| 80 | 80 | <a title="{{{limpaCache}}}" onclick="i3GEOadmin.opcoesmapfile.limpaCacheDialogo('{{codigo}}')" href="javascript:void(0)" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> |
| 81 | - <i class="material-icons md-18">send</i> | |
| 81 | + <i class="material-icons md-18">clear_all</i> | |
| 82 | 82 | </a> |
| 83 | 83 | {{{limpaCache}}} |
| 84 | 84 | <span id="helpBlock" class="help-block"> | ... | ... |