Commit adf5b5fb3dea7b95c7526a0696662b6528b718e1
1 parent
68f5d70b
Exists in
master
and in
7 other branches
Conversão da ferramenta Centróide para Bootstrap
Showing
2 changed files
with
16 additions
and
18 deletions
Show diff stats
ferramentas/centroide/index.js
| ... | ... | @@ -147,11 +147,6 @@ i3GEOF.centroide = { |
| 147 | 147 | }, |
| 148 | 148 | t2: function(){ |
| 149 | 149 | i3GEO.util.proximoAnterior("i3GEOF.centroide.t2()","","","i3GEOF.centroide.t3","i3GEOcentroideresultado",true,"i3GEOF.centroide_rodape"); |
| 150 | - var b = new YAHOO.widget.Button( | |
| 151 | - "i3GEOcentroidebotao1", | |
| 152 | - {onclick:{fn: i3GEOF.centroide.criacentroide}} | |
| 153 | - ); | |
| 154 | - b.addClass("rodar"); | |
| 155 | 150 | }, |
| 156 | 151 | /* |
| 157 | 152 | Function: criacentroide |
| ... | ... | @@ -199,7 +194,6 @@ i3GEOF.centroide = { |
| 199 | 194 | "i3GEOcentroidetemasComSel", |
| 200 | 195 | function(retorno){ |
| 201 | 196 | $i("i3GEOcentroideSelTemas").innerHTML = retorno.dados; |
| 202 | - $i("i3GEOcentroideSelTemas").style.display = "block"; | |
| 203 | 197 | if ($i("i3GEOcentroidetemasComSel")){ |
| 204 | 198 | $i("i3GEOcentroidetemasComSel").onchange = function(){ |
| 205 | 199 | i3GEO.mapa.ativaTema($i("i3GEOcentroidetemasComSel").value); |
| ... | ... | @@ -214,7 +208,10 @@ i3GEOF.centroide = { |
| 214 | 208 | "", |
| 215 | 209 | false, |
| 216 | 210 | "selecionados", |
| 217 | - " " | |
| 211 | + " ", | |
| 212 | + false, | |
| 213 | + true, | |
| 214 | + "form-control comboTema" | |
| 218 | 215 | ); |
| 219 | 216 | } |
| 220 | 217 | }; | ... | ... |
ferramentas/centroide/template_mst.html
| 1 | -<div style='padding: 5px; background-color: #F2F2F2; top: 0px; left: 0px; display: block; width: 98%; 'id='i3GEOcentroideresultado'> | |
| 1 | +<div class='container-fluid' id='i3GEOcentroideresultado'> | |
| 2 | 2 | <div id='i3GEOFgradeDePontost0'> |
| 3 | - <img class='i3GeoExemploImg' src='{{{locaplic}}}/ferramentas/centroide/exemplo.png' /> | |
| 4 | - <p class='paragrafo'>{{{ajuda}}} | |
| 3 | + <img class="img-rounded pull-left" style="margin: 5px; width: 40px;" src='{{{locaplic}}}/ferramentas/centroide/exemplo.png' /> | |
| 4 | + <h5>{{{ajuda}}}</h5> | |
| 5 | 5 | </div> |
| 6 | 6 | <div id='i3GEOF.centroide.t1'> |
| 7 | - <p class='paragrafo'>{{{selecionaTema}}}</p> | |
| 8 | - <div id='i3GEOcentroideSelTemas' class='styled-select'></div> | |
| 7 | + <div style="width: 100%;" class='form-group label-fixed condensed'> | |
| 8 | + <label class="control-label" for="">{{{selecionaTema}}}</label> | |
| 9 | + <div style="width: 100%;" class="input-group"> | |
| 10 | + <div id='i3GEOcentroideSelTemas'></div> | |
| 11 | + </div> | |
| 12 | + </div> | |
| 9 | 13 | </div> |
| 10 | 14 | <div id='i3GEOF.centroide.t3'> |
| 11 | - <p class='paragrafo'>{{{ajuda2}}} | |
| 12 | - <br> | |
| 13 | - <br> | |
| 14 | - <input id='i3GEOcentroidebotao1' type='button' value='{{{criaCentroide}}}' /> | |
| 15 | -</div> | |
| 15 | + <h5>{{{ajuda2}}}</h5> | |
| 16 | + <button onclick="i3GEOF.centroide.criacentroide()" class='btn btn-primary btn-sm btn-raised'>{{{criaCentroide}}}</button> | |
| 17 | + </div> | |
| 16 | 18 | </div> |
| 17 | -<div style='top: 10px; left: 0px; display: block; width: 98%; color: red' id='i3GEOcentroidefim'></div> | |
| 18 | 19 | \ No newline at end of file | ... | ... |