adds functionality to handle favourit filling stations
This commit is contained in:
@@ -69,29 +69,24 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6 olMap" style="height: 400px" id="mapdiv"></div>
|
||||
<div class="col-md-6">
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" class="btn btn-default glyphicon glyphicon-home" id="go_home_button" />
|
||||
<button type="button" class="btn btn-default glyphicon glyphicon-screenshot " id="set_home_button" />
|
||||
<button type="button" class="btn btn-default glyphicon glyphicon-download" id="get_button" />
|
||||
<div class="row">
|
||||
<div class="btn-group col-md-12" role="group">
|
||||
<button type="button" class="btn btn-default glyphicon glyphicon-home" id="go_home_button" />
|
||||
<button type="button" class="btn btn-default glyphicon glyphicon-screenshot " id="set_home_button" />
|
||||
<button type="button" class="btn btn-default glyphicon glyphicon-download" id="get_button" />
|
||||
</div>
|
||||
</div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Station</th><th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div id="station_info">
|
||||
|
||||
<div id="station_info" class="row">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var lat = {{map_pos[0]}};
|
||||
var long = {{map_pos[1]}};
|
||||
var zoom = {{map_pos[2]}};
|
||||
activate_map('mapdiv', ['get_button', 'set_home_button', 'go_home_button'], lat, long, zoom);
|
||||
var lat = {{ map_pos[0] }};
|
||||
var long = {{ map_pos[1] }};
|
||||
var zoom = {{ map_pos[2] }};
|
||||
var init_filling_station = JSON.parse({{ fs|tojson }});
|
||||
activate_map('mapdiv', ['get_button', 'set_home_button', 'go_home_button'], lat, long, zoom, init_filling_station);
|
||||
</script>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
|
||||
Reference in New Issue
Block a user