Compare commits

..

2 Commits

Author SHA1 Message Date
ahosking
2275cbeddf Add link to My Bills 2023-06-03 12:01:27 -04:00
ahosking
2d2ea048a9 Change Header Buttons if Logged in 2023-06-03 11:49:26 -04:00

View File

@ -14,7 +14,17 @@
<a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none"> <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
<svg class="bi me-2" width="40" height="32" role="img" aria-label="Bootstrap"><use xlink:href="#bootstrap"></use></svg> <svg class="bi me-2" width="40" height="32" role="img" aria-label="Bootstrap"><use xlink:href="#bootstrap"></use></svg>
</a> </a>
{% if user.is_authenticated %}
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
<li><div class="nav-link px-2 text-white"> Hi {{ user.username }}!</div></li>
<li><a href="{% url 'bills:index' %}" class="nav-link px-2 text-white">My Bills</a></li>
<!-- <li><a href="#" class="nav-link px-2 text-white">Features</a></li>
<li><a href="#" class="nav-link px-2 text-white">Pricing</a></li>
<li><a href="#" class="nav-link px-2 text-white">FAQs</a></li>
<li><a href="#" class="nav-link px-2 text-white">About</a></li> -->
</ul>
{% else %}
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0"> <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
<li><a href="#" class="nav-link px-2 text-secondary">Home</a></li> <li><a href="#" class="nav-link px-2 text-secondary">Home</a></li>
<li><a href="#" class="nav-link px-2 text-white">Features</a></li> <li><a href="#" class="nav-link px-2 text-white">Features</a></li>
@ -22,6 +32,9 @@
<li><a href="#" class="nav-link px-2 text-white">FAQs</a></li> <li><a href="#" class="nav-link px-2 text-white">FAQs</a></li>
<li><a href="#" class="nav-link px-2 text-white">About</a></li> <li><a href="#" class="nav-link px-2 text-white">About</a></li>
</ul> </ul>
{% endif %}
<form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search"> <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
<input type="search" class="form-control form-control-dark text-bg-dark" placeholder="Search..." aria-label="Search"> <input type="search" class="form-control form-control-dark text-bg-dark" placeholder="Search..." aria-label="Search">