33 lines
747 B
HTML
33 lines
747 B
HTML
{% extends "GeoffreyApp/base.html" %}
|
|
|
|
{% block header %}
|
|
Bases
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<table id="geoffrey_table" class="table table-hover link-table">
|
|
<thead class="bg-dark">
|
|
<tr>
|
|
<th>Base Name</th>
|
|
<th>Location</th>
|
|
<th>Owner</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for base in base_list %}
|
|
<tr>
|
|
<td>{{ base.name }} </td>
|
|
<td>{{ base.location }}</td>
|
|
<td>{{ base.owner }} </td>
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
</table>
|
|
<script>
|
|
$(document).ready(function () {
|
|
$('#geoffrey_table').DataTable();
|
|
});
|
|
</script>
|
|
{% endblock %}
|