Started using Bootstrap for styling, moved app factory, added tests, started work on login and registration templates, and more

This commit is contained in:
2024-05-05 16:15:55 -04:00
parent 5d9ffffb79
commit 4503603915
19 changed files with 327 additions and 86 deletions

View File

@@ -0,0 +1,27 @@
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th scope="colgroup" colspan="4" class="text-center h3">My dogs</th>
</tr>
<tr>
<th scope="col">Name</th>
<th scope="col">Breed size</th>
<th scope="col">Birth date</th>
<th scope="col">Age</th>
</tr>
</thead>
<tbody class="table-group-divider">
{% for dog in user_dogs %}
<tr>
<td>{{ dog.name }}</td>
<td>{{ dog.breed_size.value }}</td>
<td>{{ dog.birth_date.strftime('%Y-%m-%d') }}</td>
<td>{{ dog.get_age() }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>