11th Commit

This commit is contained in:
Aritra Banik 2024-02-04 13:05:12 +05:30
parent b95b0ef385
commit 0ce8b37eb9
5 changed files with 39 additions and 5 deletions

View File

@ -25,7 +25,11 @@
<div class="col-6 col-md-4 order-3 order-md-3 text-right"> <div class="col-6 col-md-4 order-3 order-md-3 text-right">
<div class="site-top-icons"> <div class="site-top-icons">
<ul> <ul>
<li><a href="#"><span class="icon icon-person"></span></a></li> {% if email == "" %}
<li><a href="/login"><span class="icon icon-person"></span></a></li>
{% else %}
<li><a href="/logout"><span class="icon icon-person"></span></a></li>
{% endif %}
<li><a href="#"><span class="icon icon-heart-o"></span></a></li> <li><a href="#"><span class="icon icon-heart-o"></span></a></li>
<li> <li>
<a href="/cart" class="site-cart"> <a href="/cart" class="site-cart">

View File

@ -25,7 +25,20 @@
<div class="col-6 col-md-4 order-3 order-md-3 text-right"> <div class="col-6 col-md-4 order-3 order-md-3 text-right">
<div class="site-top-icons"> <div class="site-top-icons">
<ul> <ul>
<li><a href="#"><span class="icon icon-person"></span></a></li> {% if email == "" %}
<li><a href="/login"><span class="icon icon-person"></span></a></li>
{% else %}
{# <li><a href=""><span class="icon icon-person"></span></a></li> #}
<li class="dropdown">
<a class="dropdown-toggle" href="/admin" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="icon icon-person"></span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/admin/dashboard">Dashboard</a>
<a class="dropdown-item" href="/logout">Logout</a>
</div>
</li>
{% endif %}
<li><a href="#"><span class="icon icon-heart-o"></span></a></li> <li><a href="#"><span class="icon icon-heart-o"></span></a></li>
<li> <li>
<a href="/cart" class="site-cart"> <a href="/cart" class="site-cart">

View File

@ -28,7 +28,16 @@
{% if email == "" %} {% if email == "" %}
<li><a href="/login"><span class="icon icon-person"></span></a></li> <li><a href="/login"><span class="icon icon-person"></span></a></li>
{% else %} {% else %}
<li><a href="/logout"><span class="icon icon-person"></span></a></li> {# <li><a href=""><span class="icon icon-person"></span></a></li> #}
<li class="dropdown">
<a class="dropdown-toggle" href="/admin" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="icon icon-person"></span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/admin/dashboard">Dashboard</a>
<a class="dropdown-item" href="/logout">Logout</a>
</div>
</li>
{% endif %} {% endif %}
<li><a href="#"><span class="icon icon-heart-o"></span></a></li> <li><a href="#"><span class="icon icon-heart-o"></span></a></li>
<li> <li>

View File

@ -25,7 +25,11 @@
<div class="col-6 col-md-4 order-3 order-md-3 text-right"> <div class="col-6 col-md-4 order-3 order-md-3 text-right">
<div class="site-top-icons"> <div class="site-top-icons">
<ul> <ul>
<li><a href="#"><span class="icon icon-person"></span></a></li> {% if email == "" %}
<li><a href="/login"><span class="icon icon-person"></span></a></li>
{% else %}
<li><a href="/logout"><span class="icon icon-person"></span></a></li>
{% endif %}
<li><a href="#"><span class="icon icon-heart-o"></span></a></li> <li><a href="#"><span class="icon icon-heart-o"></span></a></li>
<li> <li>
<a href="/cart" class="site-cart"> <a href="/cart" class="site-cart">

View File

@ -25,7 +25,11 @@
<div class="col-6 col-md-4 order-3 order-md-3 text-right"> <div class="col-6 col-md-4 order-3 order-md-3 text-right">
<div class="site-top-icons"> <div class="site-top-icons">
<ul> <ul>
<li><a href="#"><span class="icon icon-person"></span></a></li> {% if email == "" %}
<li><a href="/login"><span class="icon icon-person"></span></a></li>
{% else %}
<li><a href="/logout"><span class="icon icon-person"></span></a></li>
{% endif %}
<li><a href="#"><span class="icon icon-heart-o"></span></a></li> <li><a href="#"><span class="icon icon-heart-o"></span></a></li>
<li> <li>
<a href="/cart" class="site-cart"> <a href="/cart" class="site-cart">