diff --git a/mapas/index.js b/mapas/index.js index ad2cb14..d20d78f 100755 --- a/mapas/index.js +++ b/mapas/index.js @@ -1,13 +1,3 @@ -function mostraBotoesBT(men){ - var html = ""; - //menu - i3GEO.configura = {"locaplic" : ".."}; - html = Mustache.to_html( - "{{#d}}" + $("#botoesTpl").html() + "{{/d}}", - {"d":botoesIni,"abrir" : $trad(36,g_traducao_init)} - ); - $("#botoesTpl").html(html); -} function mostraBotoesBT(){ var r, p; @@ -19,21 +9,15 @@ function mostraBotoesBT(){ d.mapas[i] = verificaMapa(d.mapas[i]); } html = Mustache.to_html( - "{{#mapas}}" + $("#botoesTpl").html() + "{{/mapas}}", + "{{#mapas}}" + $("#templateLista").html() + "{{/mapas}}", d ); - $("#botoesTpl").html(html); + $("#corpo").html(html); d.mapas.push({ "ID_MAPA": "topo", "NOME": "Topo" }); - //indice - html = Mustache.to_html( - "{{#mapas}}" + $("#indiceTpl").html() + "{{/mapas}}", - d - ); - $("#indice").html(html); $('[data-toggle="quadroQrcode"]').popover({ html: true, placement: "bottom", @@ -107,6 +91,10 @@ function verificaMapa(mapa){ mapa.subtitulo = html; return mapa; } +function mostraLinks(id){ + $(".modal-body").html($("#" + id).html()); + $("#modal").modal('show'); +} function alerta(texto,d){ if(!d){ d = 500; diff --git a/mapas/index.php b/mapas/index.php index b89b668..070c649 100755 --- a/mapas/index.php +++ b/mapas/index.php @@ -46,17 +46,6 @@ include "../init/head.php"; width: 100%; } -#indice .bs-docs-sidebar .nav>.active:focus>a, .bs-docs-sidebar .nav>.active:hover>a, - .bs-docs-sidebar .nav>.active>a { - background-color: transparent; - border-left-color: green; - border-left-style: solid; - border-left-width: 2px; - color: green; - font-weight: 700; - padding-left: 18px; -} - .panel-heading [data-toggle="collapse"]:after { font-family: 'FontAwesome'; content: "\f054"; @@ -103,75 +92,29 @@ include "../init/head.php"; } - - -
+ @@ -181,67 +124,55 @@ include "../init/head.php"; +