Reverting back to admin pages as login and updates in the mobile api

This commit is contained in:
Vivek
2025-12-17 22:05:13 +05:30
parent 48c8abb366
commit 105da4a876
39 changed files with 2147 additions and 452 deletions

View File

@@ -1,9 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -26,36 +25,44 @@
.sidebar {
width: 260px;
background: linear-gradient(180deg, #1e3cfa, #1436c7);
color: white;
color: #fff;
padding: 30px 20px;
display: flex;
flex-direction: column;
}
.nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 16px 30px;
border-radius: 12px;
margin-bottom: 8px;
font-size: 15px;
line-height: 1.5;
text-decoration: none;
color: #000000;
/* force white text */
background: transparent;
}
.nav-item:hover,
.nav-item.active {
background: #fff;
color: #000000;
padding: 16px 30px;
}
.nav-item:visited {
color: #000000;
}
.logo {
font-size: 28px;
font-weight: 700;
margin-bottom: 40px;
}
.nav-item {
padding: 12px 15px;
border-radius: 12px;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
margin-bottom: 8px;
font-size: 15px;
transition: 0.2s;
}
.nav-item:hover,
.nav-item.active {
background: white;
color: #1436c7;
}
.bottom-nav {
margin-top: auto;
}
@@ -146,9 +153,14 @@
<div class="logo">EVENTIFY</div>
<div class="nav">
<div class="nav-item active">🏠 Home</div>
<div class="nav-item">📅 Calendar</div>
<div class="nav-item">👤 Profile</div>
<a class="nav-item {% if request.resolver_match.url_name == 'customer_dashboard' %}active{% endif %}"
href="{% url 'customer_dashboard' %}">🏠 Home</a>
<a class="nav-item {% if request.resolver_match.url_name == 'customer_calendar' %}active{% endif %}"
href="{% url 'customer_calendar' %}">📅 Calendar</a>
<a class="nav-item {% if request.resolver_match.url_name == 'customer_profile' %}active{% endif %}"
href="{% url 'customer_profile' %}">👤 Profile</a>
</div>
<div class="bottom-nav">