Commit f7e456fe952ed50a510f46d20f2033fe9c480a7b
1 parent
acc43f45
Exists in
master
and in
6 other branches
Inclusão de preview na lista de mapfiles do sistema de administração
Showing
3 changed files
with
9 additions
and
0 deletions
Show diff stats
admin/catalogo/mapfile/index.js
... | ... | @@ -352,5 +352,9 @@ Obtém a lista |
352 | 352 | aplicaFiltroPalavra: function(){ |
353 | 353 | var palavra = $("#filtroPrefixo").val(); |
354 | 354 | i3GEOadmin.mapfile.lista(palavra); |
355 | + }, | |
356 | + testa: function(codigo){ | |
357 | + i3GEOadmin.core.modalAguarde(true); | |
358 | + i3GEOadmin.teste.testaImg("../../..",codigo,"","",$("#modalGeral .modal-body")) | |
355 | 359 | } |
356 | 360 | }; |
357 | 361 | \ No newline at end of file | ... | ... |
admin/catalogo/mapfile/index.php
... | ... | @@ -123,6 +123,7 @@ include ("templates/templateFiltro.php"); |
123 | 123 | include ("templates/templateClonarTema.php"); |
124 | 124 | ?> |
125 | 125 | <script type="text/javascript" src="index.js"></script> |
126 | +<script type="text/javascript" src="teste/index.js"></script> | |
126 | 127 | <script type="text/javascript" src="../../dicionario/editormapfile.js"></script> |
127 | 128 | <script> |
128 | 129 | $(document).ready(function(){ | ... | ... |
admin/catalogo/mapfile/templates/templateLista.php
... | ... | @@ -7,6 +7,10 @@ |
7 | 7 | </a> |
8 | 8 | <span class="pull-right"> </span> |
9 | 9 | <!-- utiliza o codigo aqui pois o mapfile pode nao estar no banco --> |
10 | + <a title="{{{testaLayer}}}" href="javascript:void(0)" onclick="i3GEOadmin.mapfile.testa('{{codigo}}');" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> | |
11 | + <i class="material-icons md-18">gavel</i> | |
12 | + </a> | |
13 | + <span class="pull-right"> </span> | |
10 | 14 | <a title="{{{tituloTxt}}}" href="javascript:void(0)" onclick="i3GEOadmin.mapfile.editarDialogo('{{codigo}}');" class="pull-right btn btn-danger btn-fab btn-fab-mini" role="button"> |
11 | 15 | <i class="material-icons md-18">mode_edit</i> |
12 | 16 | </a> | ... | ... |