From 4e36b58aa2701c3750a9c4b747a9194f2df0a1ef Mon Sep 17 00:00:00 2001 From: edmarmoretti Date: Thu, 17 Aug 2017 20:26:37 -0300 Subject: [PATCH] Aplicação do padrão de título de janela na ferramenta de navegação GoogleMaps --- ferramentas/storymap/index.js | 29 +++++++++++++++++------------ ferramentas/storymap/template_mst.html | 19 ++++++++++++------- ferramentas/tme/index.js | 2 +- ferramentas/tme/templateLista_mst.html | 30 +++++++++++------------------- ferramentas/tme/template_mst.html | 3 +-- js/janela.js | 2 +- js/navega.js | 16 +++++++++++++--- 7 files changed, 56 insertions(+), 45 deletions(-) diff --git a/ferramentas/storymap/index.js b/ferramentas/storymap/index.js index 5527b76..f6f75ec 100755 --- a/ferramentas/storymap/index.js +++ b/ferramentas/storymap/index.js @@ -123,19 +123,24 @@ i3GEOF.storymap = } $i(iddiv).innerHTML = i3GEOF.storymap.html(); if (!$i("i3GEOFstoComboCabecaSel")) { - i3GEO.janela.comboCabecalhoTemasBs("i3GEOFstoComboCabeca", "i3GEOFstoComboCabecaSel", "storymap", "ligadosComTabela",function(evt){ - var botao = evt.target; - if (botao) { - if (botao.value != "") { - i3GEO.mapa.ativaTema(botao.value); - i3GEOF.storymap.tema = botao.value; - $i(iddiv).innerHTML = ""; - i3GEOF.storymap.inicia(iddiv); - } else { - $i(iddiv).innerHTML = ""; + i3GEO.janela.comboCabecalhoTemasBs( + "i3GEOFstoComboCabeca", + "i3GEOFstoComboCabecaSel", + "storymap", + "ligadosComTabela", + function(evt){ + var botao = evt.target; + if (botao) { + if (botao.value != "") { + i3GEO.mapa.ativaTema(botao.value); + i3GEOF.storymap.tema = botao.value; + $i(iddiv).innerHTML = ""; + i3GEOF.storymap.inicia(iddiv); + } else { + $i(iddiv).innerHTML = ""; + } } - } - }); + }); } if (i3GEO.login.verificaCookieLogin() === true && i3GEO.parametros.editor === "sim") { $(".i3GEOstorymap").find(".hidden").removeClass("hidden"); diff --git a/ferramentas/storymap/template_mst.html b/ferramentas/storymap/template_mst.html index 989da81..e05fc7f 100755 --- a/ferramentas/storymap/template_mst.html +++ b/ferramentas/storymap/template_mst.html @@ -1,5 +1,10 @@
-
+ +
+ playlist_add_check +
+ +
@@ -12,37 +17,37 @@
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/ferramentas/tme/index.js b/ferramentas/tme/index.js index 990d57a..1abc7ae 100755 --- a/ferramentas/tme/index.js +++ b/ferramentas/tme/index.js @@ -462,7 +462,7 @@ i3GEOF.tme = + url + ""; - $i("i3GEOTMEresultado").innerHTML = ins; + $("#i3GEOTMEresultado").removeClass("hidden").html(ins); $i("i3GEOTMEresultado").scrollIntoView(true); }; diff --git a/ferramentas/tme/templateLista_mst.html b/ferramentas/tme/templateLista_mst.html index f9b6425..d65aec3 100755 --- a/ferramentas/tme/templateLista_mst.html +++ b/ferramentas/tme/templateLista_mst.html @@ -1,19 +1,11 @@ - - - - {{#linhas}} - - - - - {{/linhas}} -
-
- -
-
{{{item}}}
\ No newline at end of file + {{#linhas}} +
+ +
+{{/linhas}} diff --git a/ferramentas/tme/template_mst.html b/ferramentas/tme/template_mst.html index e5db4ad..49fa30e 100755 --- a/ferramentas/tme/template_mst.html +++ b/ferramentas/tme/template_mst.html @@ -2,8 +2,7 @@
playlist_add_check
- -
+ Google maps", - idgoogle + "Google maps
", + idgoogle, + false, + "hd", + "", + "", + "", + false, + "", + "", + "", + "", + "68" ); temp = function() { -- libgit2 0.21.2