ADDED views for /accounts/users routes, ADDED started a template for user dashboard route, UPDATED account/views package imports for new users view

This commit is contained in:
2024-04-26 14:48:23 -04:00
parent 7d5fc7428a
commit 6d3df90b29
5 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% set title %}{{ user.username }} - Dashboard{% endset %}
{% block content %}
<h1>Account Overview<h1>
<hr>
<h3>User Details</h3>
{% include 'users/dashboard/user_details_table.html' %}
<hr>
<h3>Booking History</h3>
{% include 'users/dashboard/user_history_table.html' %}
{% endblock %}

View File

@@ -0,0 +1,15 @@
<table>
<tr>
<td>Username:</td>
<td>{{ user.username }}</td>
</tr>
<tr>
<td>Email Address:</td>
<td>{{ user.email }}</td>
</tr>
<tr>
<td>Dogs:</td>
<td>{{ user_dogs }}</td>
</tr>
</table>

View File

@@ -0,0 +1,4 @@
<table>
{{ user_book_history }}
</table>