improve header and navbar.html
This commit is contained in:
@@ -33,7 +33,23 @@
|
|||||||
{%endif%}
|
{%endif%}
|
||||||
{%endwith%}
|
{%endwith%}
|
||||||
<hr>
|
<hr>
|
||||||
{% block content %}{% endblock %}
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12">
|
||||||
|
<span>
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12">
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
{# {% include 'footer.html' %}#}
|
||||||
|
|
||||||
<!-- Optional JavaScript -->
|
<!-- Optional JavaScript -->
|
||||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||||
|
|||||||
@@ -33,6 +33,28 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item dropdown dropdown-hover mx-2">
|
||||||
|
<a role="button" class="nav-link ps-2 d-flex cursor-pointer align-items-center" id="dropdownMenuUser" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
|
<i class="material-icons opacity-6 me-2 text-md">contacts</i>
|
||||||
|
Account
|
||||||
|
<img src="{{url_for('static', filename='/assets/img/down-arrow-dark.svg')}}" alt="down-arrow" class="arrow ms-2 d-lg-block d-none">
|
||||||
|
<img src="{{url_for('static', filename='/assets/img/down-arrow-dark.svg')}}" alt="down-arrow" class="arrow ms-1 d-lg-none d-block ms-auto">
|
||||||
|
</a>
|
||||||
|
<div class="dropdown-menu dropdown-menu-animation ms-n3 dropdown-md p-3 border-radius-xl mt-0 mt-lg-3" aria-labelledby="dropdownMenuPages">
|
||||||
|
<div class="d-none d-lg-flex">
|
||||||
|
<ul class="list-group w-100">
|
||||||
|
<li class="nav-item dropdown dropdown-hover dropdown-subitem list-group-item border-0 p-0">
|
||||||
|
<a class="dropdown-item ps-3 border-radius-md mb-1" href="/login">
|
||||||
|
<span>Login</span>
|
||||||
|
</a>
|
||||||
|
<a class="dropdown-item ps-3 border-radius-md mb-1" href="/logout">
|
||||||
|
<span>Logout</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user