development branch created to preserve working deploy project
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
{% load static %}
|
||||
<aside class="sidebar">
|
||||
<div class="header">
|
||||
<h1>Container Depot</h1>
|
||||
<a href="{% url 'index' %}" class="link-no-style">
|
||||
<h1>Container Depot</h1>
|
||||
</a>
|
||||
<p class="subtitle">Line Operator Portal</p>
|
||||
</div>
|
||||
{% url 'dashboard' as dashboard_url %}
|
||||
{% url 'client_preinfo' as client_preinfo_url %}
|
||||
{% url 'client_containers' as client_containers_url %}
|
||||
{% url 'client_booking' as client_booking_url %}
|
||||
{% url 'register' as register_url %}
|
||||
{% url 'client_company' as client_company_url %}
|
||||
@@ -25,6 +28,12 @@
|
||||
</svg>
|
||||
Container Preinfo
|
||||
</a>
|
||||
<a href="{{ client_containers_url }}" class="nav-item {% if request.path == client_containers_url %}active{% endif %}" id="preinfoNav">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" />
|
||||
</svg>
|
||||
Containers
|
||||
</a>
|
||||
<a href="{{ client_booking_url }}" class="nav-item {% if request.path == client_booking_url %}active{% endif %}" id="ordersNav">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4" />
|
||||
@@ -62,16 +71,28 @@
|
||||
{% endif %}
|
||||
</nav>
|
||||
<div class="user-profile">
|
||||
<div class="avatar">LO</div>
|
||||
{# <div class="avatar">LO</div>#}
|
||||
<a href="{% url 'change_password' %}?next={{ request.path }}">
|
||||
<div class="avatar">LO</div>
|
||||
</a>
|
||||
<div class="user-info">
|
||||
<p class="username">{{ request.user }}</p>
|
||||
<p class="company">{{ request.user.company }}</p>
|
||||
</div>
|
||||
<a href="{% url 'login' %}" class="logout">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" />
|
||||
</svg>
|
||||
</a>
|
||||
{# <a href="{% url 'relogin' %}" class="logout">#}
|
||||
{# <svg xmlns="http://www.w3.org/2000/svg" class="icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">#}
|
||||
{# <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" />#}
|
||||
{# </svg>#}
|
||||
{# </a>#}
|
||||
<form action="{% url 'relogin' %}" method="post" style="display:inline;">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="logout" style="background:none; border:none; padding:0;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" />
|
||||
</svg>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user