fixed some frontend and made some adjustments
This commit is contained in:
18
reValuate/templates/home.html
Normal file
18
reValuate/templates/home.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!-- 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' %}" class="inverted">Log Out</a></p>
|
||||
<p><a href="{% url 'password_reset' %}" class="inverted">Reset Password</a></p>
|
||||
{% else %}
|
||||
<p>You are not logged in</p>
|
||||
<a href="{% url 'login' %}">Log In</a>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user