Commit 68f5d70b0078a16d0262cb9da383a01b40f195d9
1 parent
c51309e5
Exists in
master
and in
7 other branches
Conversão da ferramenta Agrupar para Bootstrap
Showing
2 changed files
with
28 additions
and
20 deletions
Show diff stats
ferramentas/agrupaelementos/index.js
| ... | ... | @@ -152,11 +152,6 @@ i3GEOF.agrupaElementos = { |
| 152 | 152 | }, |
| 153 | 153 | t3: function(){ |
| 154 | 154 | i3GEO.util.proximoAnterior("i3GEOF.agrupaElementos.t2()","","","i3GEOF.agrupaElementos.t3","i3GEOagrupaelementosresultado",true,"i3GEOF.agrupaElementos_rodape"); |
| 155 | - var b = new YAHOO.widget.Button( | |
| 156 | - "i3GEOagrupaelementosbotao1", | |
| 157 | - {onclick:{fn: i3GEOF.agrupaElementos.criaAgrupamento}} | |
| 158 | - ); | |
| 159 | - b.addClass("rodar"); | |
| 160 | 155 | }, |
| 161 | 156 | /* |
| 162 | 157 | Function: criaAgrupamento |
| ... | ... | @@ -225,7 +220,10 @@ i3GEOF.agrupaElementos = { |
| 225 | 220 | "", |
| 226 | 221 | false, |
| 227 | 222 | "selecionados", |
| 228 | - " " | |
| 223 | + " ", | |
| 224 | + false, | |
| 225 | + true, | |
| 226 | + "form-control comboTema" | |
| 229 | 227 | ); |
| 230 | 228 | }, |
| 231 | 229 | /* |
| ... | ... | @@ -251,7 +249,10 @@ i3GEOF.agrupaElementos = { |
| 251 | 249 | } |
| 252 | 250 | }, |
| 253 | 251 | "i3GEOagrupaelementosSelItens", |
| 254 | - "" | |
| 252 | + "", | |
| 253 | + "", | |
| 254 | + "", | |
| 255 | + "form-control comboTema" | |
| 255 | 256 | ); |
| 256 | 257 | } |
| 257 | 258 | }; | ... | ... |
ferramentas/agrupaelementos/template_mst.html
| 1 | -<div style='padding: 5px; background-color: #F2F2F2; top: 0px; left: 0px; display: block; width: 98%;' id='i3GEOagrupaelementosresultado'> | |
| 1 | +<div class='container-fluid' id='i3GEOagrupaelementosresultado'> | |
| 2 | 2 | <div id='i3GEOFgradeDePontost0'> |
| 3 | - <img class='i3GeoExemploImg' src='{{{locaplic}}}/ferramentas/agrupaelementos/exemplo.png' /> | |
| 4 | - <p class='paragrafo'>{{{descricao}}} | |
| 5 | - <p class='paragrafo'>{{{descricao2}}} | |
| 6 | - <p class='paragrafo'>{{{descricao3}}} | |
| 3 | + <img class="img-rounded pull-left" style="margin: 5px; width: 40px;" src='{{{locaplic}}}/ferramentas/agrupaelementos/exemplo.png' /> | |
| 4 | + <h5>{{{descricao}}}</h5> | |
| 5 | + <h5>{{{descricao2}}}</h5> | |
| 6 | + <h5>{{{descricao3}}}</h5> | |
| 7 | 7 | </div> |
| 8 | 8 | <div id='i3GEOF.agrupaElementos.t1'> |
| 9 | - <p class='paragrafo'>{{{selecionaTema}}}:</p> | |
| 10 | - <div id='i3GEOagrupaelementosSelTemas' class='styled-select'></div> | |
| 9 | + <div style="width: 100%;" class='form-group label-fixed condensed'> | |
| 10 | + <label class="control-label" for="">{{{selecionaTema}}}</label> | |
| 11 | + <div style="width: 100%;" class="input-group"> | |
| 12 | + <div id='i3GEOagrupaelementosSelTemas'></div> | |
| 13 | + </div> | |
| 14 | + </div> | |
| 11 | 15 | </div> |
| 12 | 16 | <div id='i3GEOF.agrupaElementos.t2'> |
| 13 | - <p class='paragrafo'>{{{selecionaAtributo}}}</p> | |
| 14 | - <div id='i3GEOagrupaelementosSelItens' class='styled-select'></div> | |
| 17 | + <div style="width: 100%;" class='form-group label-fixed condensed'> | |
| 18 | + <label class="control-label" for="">{{{selecionaAtributo}}}</label> | |
| 19 | + <div style="width: 100%;" class="input-group"> | |
| 20 | + <div id='i3GEOagrupaelementosSelItens'></div> | |
| 21 | + </div> | |
| 22 | + </div> | |
| 15 | 23 | </div> |
| 16 | 24 | <div id='i3GEOF.agrupaElementos.t3'> |
| 17 | - <p class='paragrafo'> | |
| 18 | - {{{adicionaAgrupamento}}}<br> <br> | |
| 19 | - <input id='i3GEOagrupaelementosbotao1' type='button' value='{{{criaAgrupamento}}}' /> | |
| 25 | + <h5>{{{adicionaAgrupamento}}}</h5> | |
| 26 | + <button onclick="i3GEOF.agrupaElementos.criaAgrupamento()" class='btn btn-primary btn-sm btn-raised'>{{{criaAgrupamento}}}</button> | |
| 27 | + <h5 id='i3GEOagrupaelementosfim'></h5> | |
| 20 | 28 | </div> |
| 21 | 29 | </div> |
| 22 | -<div style='top: 10px; left: 0px; display: block; width: 98%; color: red' id='i3GEOagrupaelementosfim'></div> | |
| 23 | 30 | \ No newline at end of file | ... | ... |