2025-03-11 10:07:13 +05:30

255 lines
18 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User:Dashboard</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="../css/landing.css.css" />
<link rel="stylesheet" href="https://cdn.tailwindcss.com" />
<link rel="stylesheet" href="../css/aos.min.css" />
<link rel="stylesheet" href="../css/daisyUI.min.css" />
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<div class="body-wrapper w-full">
<div class="flex">
<main class="flex-1 my-3 min-h-[calc(100vh-24px)] ml-[270px] mr-4 mb-3 rounded-2xl bg-white py-2">
<!-- header -->
<header
class="pt-3 pb-4 rounded-t-lg px-4 sticky top-0 z-10 bg-white h-16 flex justify-between items-center border-b-sky-100">
<nav class="w-full flex items-center justify-between">
<!-- Centered search input -->
<div class="searchbar relative mx-auto w-[450px]">
<i data-lucide="search" class="absolute text-xl text-slate-400 top-[12px] left-2"></i>
<input type="text"
class="pr-3 pl-8 py-[10px] w-full border placeholder:text-slate-400 border-gray-300 border-solid rounded-lg focus-visible:outline-1 focus:outline-indigo-600 focus:outline-1"
placeholder="Search Id Card and Employee">
</div>
<!-- Right-aligned buttons -->
<div class="header_widgets flex items-center gap-3">
<button type="button"
class="flex items-center justify-center cursor-pointer bg-transparent transition-transform duration-150 p-0 border-none m-0 rounded-lg relative">
<i data-lucide="bell" class="text-indigo-600 leading-3"></i>
<div class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></div>
</button>
<!-- <div class="flex items-center bg-indigo-100/40 border border-indigo-100/40 border-solid px-4 py-2 rounded-lg gap-1 cursor-pointer hover:bg-indigo-200/50 active:scale-90 transition-transform duration-150"
tabindex="0">
<span class="text-indigo-600">Login</span>
</div>
<div class="text-indigo-600 flex items-center bg-white border border-indigo-600 border-solid px-4 py-2 rounded-lg gap-1 cursor-pointer hover:bg-indigo-600 hover:text-white active:scale-90 transition-transform duration-150"
tabindex="0">
<span class="block">Sign up</span>
</div> -->
<button type="button" class="flex bg-primary-100/40 px-3 py-2 rounded-lg items-center gap-1 cursor-pointer" popovertarget="popover-1" style="anchor-name:--anchor-1">
<i data-lucide="user" class="text-indigo-600"></i>
<span class="text-indigo-600">Welcome Krishnen...</span>
<i data-lucide="chevron-down" class="text-indigo-600"></i>
</button>
<ul class="dropdown menu min-w-[228px] mt-1 bg-white rounded-box bg-base-100 shadow-lg" popover id="popover-1"
style="position-anchor:--anchor-1">
<li><a class="py-[10px] px-4 hover:bg-indigo-100/50 hover:text-indigo-600 border-bottom-1 border-solid border-indigo-100 text-base">My Profile</a></li>
<li><a class="py-[10px] px-4 hover:bg-indigo-100/50 hover:text-indigo-600 text-base">Log Out</a></li>
</ul>
</div>
</nav>
</header>
<!-- header -->
<div class="main-wrap py-4 px-5 2xl:px-10">
<!-- sidebar -->
<aside class="fixed z-30 w-[265px] left-0 top-0 min-h-screen">
<div class="logo h-[45px] px-4 py-3 flex justify-start items-start">
<a href="#">
<img src="https://static.canva.com/web/images/8439b51bb7a19f6e65ce1064bc37c197.svg"
alt="logo" />
</a>
</div>
<div class="listing p-4">
<ul class="flex flex-col gap-[6px]">
<li>
<a href="dashboad.html"
class="flex gap-2 font-normal text-white rounded-md items-center px-2 py-2 cursor-pointer bg-indigo-600 hover:bg-indigo-600 hover:text-white transition-all">
<i data-lucide="layout-dashboard"></i>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="idCard.html"
class="flex font-normal gap-2 text-indigo-600 rounded-md items-center px-2 py-2 cursor-pointer hover:bg-indigo-600 hover:text-white transition-all">
<i data-lucide="credit-card"></i>
<span>Id Card Request</span>
</a>
</li>
<li>
<a href="status.html"
class="flex font-normal gap-2 text-indigo-600 rounded-md items-center px-2 py-2 cursor-pointer hover:bg-indigo-600 hover:text-white transition-all">
<i data-lucide="chart-line"></i>
<span>Id Status</span>
</a>
</li>
</ul>
</div>
</aside>
<!-- sidebar -->
<!-- dashboard page -->
<section class="user__page">
<div class="user__page__header flex items-center gap-2">
<span class="w-10 h-10 rounded-md grid place-items-center leading-3 icon__box">
<i data-lucide="layout-dashboard" class="text-white"></i>
</span>
<h1 class="text-2xl font-medium text-slate-950 tracking-wider">Dashboard</h1>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5 mt-8">
<div class="card py-7 px-4 relative bg-gradient-danger rounded-md">
<div class="card-body">
<img src="../assets/images/circle.svg" class="card-img-absolute" />
<div class="flex w-full items-center gap-3 justify-between mb-7">
<h2 class="text-white text-2xl">Total Id cards</h2>
<i data-lucide="id-card" class="text-white"></i>
</div>
<h3 class="text-white text-balance font-normal text-base">1500</h3>
</div>
</div>
<div class="card py-6 px-4 relative bg-gradient-info rounded-md">
<div class="card-body">
<img src="../assets/images/circle.svg" class="card-img-absolute" />
<div class="flex w-full items-center gap-3 justify-between mb-7">
<h2 class="text-white text-2xl">Total Business cards</h2>
<i data-lucide="rectangle-ellipsis" class="text-white"></i>
</div>
<h3 class="text-white text-balance font-normal text-base">160</h3>
</div>
</div>
<div class="card py-6 px-4 relative bg-gradient-success rounded-md">
<div class="card-body">
<img src="../assets/images/circle.svg" class="card-img-absolute" />
<div class="flex w-full items-center gap-3 justify-between mb-7">
<h2 class="text-white text-2xl">Total active</h2>
<i data-lucide="users" class="text-white"></i>
</div>
<h3 class="text-white text-balance font-normal text-base">125</h3>
</div>
</div>
</div>
</section>
<section class="mt-12">
<div class="h-[450px]">
<h2 class="text-xl text-slate-950 font-medium tracking-wider mb-1">Financial Analytics</h2>
<canvas id="myBarChart" class="w-full"></canvas>
</div>
</section>
<section class="mt-16">
<div class="employees_list">
<h2 class="text-xl text-slate-950 font-medium tracking-wider mb-2">Employee Lists</h2>
<div class="overflow-x-auto px-1">
<table class="w-full geeksId_table table-auto">
<!-- Table Head -->
<thead>
<tr>
<th
class="px-4 py-3 bg-indigo-100/50 text-left text-base font-medium text-slate-900">
Employee Id
</th>
<th
class="px-4 py-3 bg-indigo-100/50 text-left text-base font-medium text-slate-900">
Name
</th>
<th
class="px-4 py-3 bg-indigo-100/50 text-left text-base font-medium text-slate-900">
Photo
</th>
<th
class="px-4 py-3 bg-indigo-100/50 text-left text-base font-medium text-slate-900">
Department
</th>
<th
class="px-4 py-3 bg-indigo-100/50 text-left text-base font-medium text-slate-900">
Designation
</th>
</tr>
</thead>
<tbody>
<!-- Row 1 -->
<tr class="hover:bg-gray-100/50">
<td class="px-4 py-3 text-slate-900">101</td>
<td class="px-4 py-3 text-slate-900">Alice Johnson</td>
<td class="px-4 py-3 text-slate-900">
<img class="w-14 h-12 rounded-md object-cover"
src="https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="Employee Photo" />
</td>
<td class="px-4 py-3 text-slate-900">Human Resources</td>
<td class="px-4 py-3 text-slate-900">HR Manager</td>
</tr>
<!-- Row 2 -->
<tr class="hover:bg-gray-100/50">
<td class="px-4 py-3 text-slate-900">102</td>
<td class="px-4 py-3 text-slate-900">Michael Smith</td>
<td class="px-4 py-3 text-slate-900">
<img class="w-14 h-12 rounded-md object-cover"
src="https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="Employee Photo" />
</td>
<td class="px-4 py-3 text-slate-900">Finance</td>
<td class="px-4 py-3 text-slate-900">Financial Analyst</td>
</tr>
<!-- Row 3 -->
<tr class="hover:bg-gray-100/50">
<td class="px-4 py-3 text-slate-900">103</td>
<td class="px-4 py-3 text-slate-900">Sophia Lee</td>
<td class="px-4 py-3 text-slate-900">
<img class="w-14 h-12 rounded-md object-cover"
src="https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="Employee Photo" />
</td>
<td class="px-4 py-3 text-slate-900">Marketing</td>
<td class="px-4 py-3 text-slate-900">Marketing Specialist</td>
</tr>
<!-- Row 4 -->
<tr class="hover:bg-gray-100/50">
<td class="px-4 py-3 text-slate-900">104</td>
<td class="px-4 py-3 text-slate-900">David Brown</td>
<td class="px-4 py-3 text-slate-900">
<img class="w-14 h-12 rounded-md object-cover"
src="https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="Employee Photo" />
</td>
<td class="px-4 py-3 text-slate-900">Engineering</td>
<td class="px-4 py-3 text-slate-900">Software Engineer</td>
</tr>
<!-- Row 5 -->
<tr class="hover:bg-gray-100/50">
<td class="px-4 py-3 text-slate-900">105</td>
<td class="px-4 py-3 text-slate-900">Emma Davis</td>
<td class="px-4 py-3 text-slate-900">
<img class="w-14 h-12 rounded-md object-cover"
src="https://images.unsplash.com/photo-1499856871958-5b9627545d1a?q=80&w=2020&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
alt="Employee Photo" />
</td>
<td class="px-4 py-3 text-slate-900">Sales</td>
<td class="px-4 py-3 text-slate-900">Sales Executive</td>
</tr>
</tbody>
</table>
</div>
</section>
<!-- dashboard page -->
</div>
</main>
</div>
</div>
<script src="../js/jquery.min.js"></script>
<script src="../js/aos.min.js"></script>
<script src="https://unpkg.com/lucide@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="../js/daisyUI.min.js"></script>
<script src="../js/script.js"></script>
</body>
</html>