rollerverbrauch/app/templates/services.html
joachim lusiardi 5edfbb9e9b added manual
2015-03-17 20:57:38 +01:00

54 lines
950 B
HTML

{% extends "layout.html" %}
{% block body %}
{{ service_warning() }}
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed">
<tr>
<th>
Odometer<br />
(planned)
</th>
<th>
Odometer<br />
(done)
</th>
<th>
Date<br />
(done)
</th>
<th>
Tasks
</th>
</tr>
{% for service in data['services'] %}
<tr class='pitstop'>
<td>
{{service.odometer_planned}} km
</td>
<td>
{% if service.odometer_done %}
{{service.odometer_done}} km
{% else %}
-- km
{% endif %}
</td>
<td>
{% if service.date %}
{{service.date}}
{% else %}
--
{% endif %}
</td>
<td>
{% for task in service.tasks.split(',') %}
{{task}} <br />
{% endfor %}
</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}