react to closed stations

This commit is contained in:
2017-11-12 22:50:25 +01:00
parent 9427ed50ad
commit 543d3e1658
5 changed files with 71 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
{% macro navigation() -%}
{% if current_user.email %}
<li><a id='plan_pitstop_link' href='{{ url_for('select_vehicle_for_plan_pitstop') }}'>Plan Pitstop</a></li>
<li><a id='new_pitstop_link' href='{{ url_for('select_vehicle_for_new_pitstop') }}'>Create Pitstop</a></li>
<li><a id='new_service_link' href='{{ url_for('select_vehicle_for_new_service') }}'>Create Service</a></li>
<li><a id='statistics_limk' href='{{ url_for('get_statistics') }}'>Statistics</a></li>

View File

@@ -19,7 +19,7 @@
{% for offer in offers %}
<tr>
<td>
<div class="row filling_station_info" style="border: 0px">
<div class="row filling_station_info " style="border: 0px">
<div class="col-md-8">
<div>{{ offer[0].name }}</div>
<div>{{ offer[0].street }} {{ offer[0].houseNumber }}</div>
@@ -30,7 +30,7 @@
</div>
</div>
</td>
<td>
<td class="filling_station_{{ 'open' if offer[0].open else 'closed'}}">
{{ offer[1] }} €/{{ consumable.unit }}
</td>
</tr>