54 lines
950 B
HTML
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 %} |