carom-server/billard/templates/billard/locationdata_list.html

36 lines
919 B
HTML
Raw Normal View History

{% extends 'billard/base.html' %}
2017-01-09 14:13:07 +01:00
{% block title %}Location Data{% endblock %}
{% block content %}
{% if object_list %}
2017-01-09 14:13:07 +01:00
<h1>Location Data</h1>
<table class="table table-hover">
<tr>
<th>ID</th>
<th>Location</th>
<th>Table</th>
<th>Timestamp</th>
<th>On_Off</th>
2017-01-09 15:37:25 +01:00
<th>Proc</th>
<th>Error</th>
2017-01-09 14:13:07 +01:00
</tr>
{% for location_data in object_list %}
2017-01-09 14:13:07 +01:00
<tr>
<td>{{ location_data.id }}</td>
<td>{{ location_data.location_id }}</td>
<td>{{ location_data.table_no }}</td>
<td>{{ location_data.tst }}</td>
<td>{{ location_data.on_off }}</td>
2017-01-09 15:37:25 +01:00
<td>{{ location_data.processed }}</td>
<td>{{ location_data.error_msg }}</td>
2017-01-09 14:13:07 +01:00
</tr>
{% endfor %}
2017-01-09 14:13:07 +01:00
</table>
{% else %}
<p>No data available.</p>
{% endif %}
{% endblock %}