Added navbar, login, signup, and forgot password

This commit is contained in:
Yamozha
2021-02-09 01:06:19 +02:00
parent 3a3da23827
commit 6044270579
23 changed files with 256 additions and 36 deletions

View File

@ -0,0 +1,16 @@
<!-- templates/home.html -->
{% extends 'base.html' %}
{% block title %}Home{% endblock %}
{% block content %}
{% if user.is_authenticated %}
Hi {{ user.username }}!
{{ currencyTotal }}
<p><a href="{% url 'logout' %}">Log Out</a></p>
<p><a href="{% url 'password_reset' %}">Reset Password</a></p>
{% else %}
<p>You are not logged in</p>
<a href="{% url 'login' %}">Log In</a>
{% endif %}
{% endblock %}