Commit 02c0dc7c9945d73fc928b0db9fbec64fe68df44a

Authored by Edmar Moretti
1 parent 36b8c9cb

Adaptação da ferramenta de geração de buffer em um ponto, utilizado na ferrament…

…a de identificacao, para Bootstrap
ferramentas/bufferpt/index.js
... ... @@ -86,15 +86,6 @@ i3GEOF.bufferpt = {
86 86 return;
87 87 }
88 88 $i(iddiv).innerHTML += i3GEOF.bufferpt.html();
89   - new YAHOO.widget.Button(
90   - "i3GEObufferptbotao2",
91   - {onclick:{fn: i3GEOF.bufferpt.atualizaBox}}
92   - );
93   - var b = new YAHOO.widget.Button(
94   - "i3GEObufferptbotao1",
95   - {onclick:{fn: i3GEOF.bufferpt.executa}}
96   - );
97   - b.addClass("rodar");
98 89 },
99 90 /*
100 91 Function: html
... ... @@ -142,7 +133,7 @@ i3GEOF.bufferpt = {
142 133 titulo = "<span class='i3GeoTituloJanelaBsNolink' >" + $trad("u10") + "</span></div>";
143 134 janela = i3GEO.janela.cria(
144 135 "290px",
145   - "130px",
  136 + "230px",
146 137 "",
147 138 "",
148 139 "",
... ...
ferramentas/bufferpt/template_mst.html
1   -<p class='paragrafo'>{{{entorno}}}</p>
2   -<div class='i3geoForm i3geoFormIconeEdita'>
3   -<input id='i3GEOFbufferptDistancia' type=text value='' />
4   -</div>
5   -<br>
6   -<p class='paragrafo'>
7   -<input id='i3GEObufferptbotao1' size='16' type='button' value='{{{criaEntorno}}}' />
8   -<br>
9   -<p class='paragrafo'>
10   -<b>X:</b> {{{x}}} <b>Y:</b> {{{y}}}
11 1 \ No newline at end of file
  2 +<div class='container-fluid'>
  3 + <div class='form-group label-fixed condensed'>
  4 + <label class="control-label" for="i3GEOFbufferptDistancia">{{{entorno}}}</label>
  5 + <input class="form-control input-lg" type='text' id='i3GEOFbufferptDistancia' value='' />
  6 + </div>
  7 + <button onclick="i3GEOF.bufferpt.executa()" class='btn btn-primary btn-sm btn-raised'>{{{criaEntorno}}}</button>
  8 + <h5 class="alert alert-info">
  9 + <b>X:</b> {{{x}}} <b>Y:</b> {{{y}}}
  10 + </h5>
  11 +</div>
12 12 \ No newline at end of file
... ...