/[projects]/dao/DaoAdresseVedligehold/src/main/webapp/index.html
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/webapp/index.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2889 by torben, Tue Jan 26 22:24:13 2016 UTC revision 2890 by torben, Sun Jan 31 21:56:30 2016 UTC
# Line 103  $(document).ready( function() { Line 103  $(document).ready( function() {
103                  $('#file').fileinput('upload');                  $('#file').fileinput('upload');
104          });          });
105                    
106            
107            $("#afstandBtn").click( function(){
108                    var dist = $("#afstand_distributor").val();
109                    if (dist == "") {
110                            alert("Du skal vælge distributør");
111                            return;
112                    }
113                    
114                    
115                    $.get("rest/commands/distancecalculation/" + dist);
116                    
117            });
118            
119  });  });
120    
121  </script>        </script>      
# Line 136  $(document).ready( function() { Line 149  $(document).ready( function() {
149        <div class="col-sm-3" id="rightCol" >        <div class="col-sm-3" id="rightCol" >
150          <div class="panel panel-primary">          <div class="panel panel-primary">
151                  <div class="panel-heading">                  <div class="panel-heading">
152                          <h3 class="panel-title">Actions</h3>                          <h3 class="panel-title">Upload File</h3>
153                          </div>                          </div>
154                          <div class="panel-body">                          <div class="panel-body">
155                                                    
# Line 167  $(document).ready( function() { Line 180  $(document).ready( function() {
180                                                                    
181                                                    
182                          </div>                          </div>
183          </div>          </div> <!--  upload panel -->
184        </div>          
185      </div>            <div class="panel panel-primary">
186                    <div class="panel-heading">
187                            <h3 class="panel-title">Afstand anden rute</h3>
188                            </div>
189                            <div class="panel-body">
190                            
191                            
192                              <label for="distributor">Distributør:</label>
193                              <select class="form-control" id="afstand_distributor" name="afstand_distributor">
194                                    <option></option>
195                                <option>BK</option>
196                                <option>DAO</option>
197                              </select>
198                              <br>
199                              
200                              <button class="btn btn-primary" id="afstandBtn">Beregn</button>
201      
202                              
203                            </div>
204                    </div><!-- Afstand-andenrute panel -->
205                            
206            
207            
208          </div><!-- rightcol -->
209        </div> <!-- row -->
210                
211    </div>    </div><!-- body -->
212      
213      
214  </div>  </div>
215        
216    

Legend:
Removed from v.2889  
changed lines
  Added in v.2890

  ViewVC Help
Powered by ViewVC 1.1.20