2018-12-14 01:58:59 +00:00
|
|
|
{% extends "GeoffreyApp/base.html" %}
|
|
|
|
|
2019-01-12 21:06:06 +00:00
|
|
|
{% block header %}
|
|
|
|
Item Listings
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-12-14 01:58:59 +00:00
|
|
|
{% block content %}
|
2019-01-12 21:06:06 +00:00
|
|
|
<table id="geoffrey_table" class="table table-hover link-table">
|
|
|
|
<thead class="bg-dark">
|
|
|
|
<tr>
|
|
|
|
<th>Item Name</th>
|
|
|
|
<th>Amount</th>
|
|
|
|
<th>Price</th>
|
|
|
|
<th>Price Per Item</th>
|
|
|
|
<th>Shop</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for item in itemlisting_list %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ item.item_name }} </td>
|
|
|
|
<td>{{ item.amount }}</td>
|
|
|
|
<td>{{ item.price }}D</td>
|
|
|
|
<td>{{ item.normalized_price }}D</td>
|
|
|
|
<td>{{ item.shop.name }} @ {{ item.shop.location }} </td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
$('#geoffrey_table').DataTable();
|
|
|
|
});
|
|
|
|
</script>
|
2018-12-14 01:58:59 +00:00
|
|
|
|
|
|
|
{% endblock %}
|