Started using Bootstrap for styling, moved app factory, added tests, started work on login and registration templates, and more
This commit is contained in:
@@ -1,18 +1,27 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td>Type</td>
|
||||
<td>Date</td>
|
||||
<td>Time</td>
|
||||
<td>Dog</td>
|
||||
</tr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="colgroup" colspan="4" class="text-center h3">Visits overview</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">Type</th>
|
||||
<th scope="col">Date</th>
|
||||
<th scope="col">Time</th>
|
||||
<th scope="col">Pets</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
{% for visit in user.visits %}
|
||||
<tr>
|
||||
<td>{{ visit.type }}</td>
|
||||
<td>{{ visit.get_date() }}</td>
|
||||
<td>{{ visit.get_time() }}</td>
|
||||
<td>{{ visit.dog }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<tbody class="table-group-divider">
|
||||
{% for visit in user_book_history %}
|
||||
<tr>
|
||||
<td>{{ visit.visit_type.value }}</td>
|
||||
<td>{{ visit.get_date() }}</td>
|
||||
<td>{{ visit.get_time() }}</td>
|
||||
<td>{{ visit.dogs }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user