Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +824 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: arrow
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,824 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Enterprise ERP System</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.sidebar {
|
| 11 |
+
transition: all 0.3s ease;
|
| 12 |
+
}
|
| 13 |
+
.sidebar.collapsed {
|
| 14 |
+
width: 70px;
|
| 15 |
+
}
|
| 16 |
+
.sidebar.collapsed .nav-text {
|
| 17 |
+
display: none;
|
| 18 |
+
}
|
| 19 |
+
.sidebar.collapsed .logo-text {
|
| 20 |
+
display: none;
|
| 21 |
+
}
|
| 22 |
+
.sidebar.collapsed .nav-item {
|
| 23 |
+
justify-content: center;
|
| 24 |
+
}
|
| 25 |
+
.main-content {
|
| 26 |
+
transition: all 0.3s ease;
|
| 27 |
+
}
|
| 28 |
+
.sidebar.collapsed + .main-content {
|
| 29 |
+
margin-left: 70px;
|
| 30 |
+
}
|
| 31 |
+
.module-card:hover {
|
| 32 |
+
transform: translateY(-5px);
|
| 33 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
| 34 |
+
}
|
| 35 |
+
.chart-container {
|
| 36 |
+
height: 300px;
|
| 37 |
+
}
|
| 38 |
+
.notification-badge {
|
| 39 |
+
position: absolute;
|
| 40 |
+
top: -5px;
|
| 41 |
+
right: -5px;
|
| 42 |
+
}
|
| 43 |
+
.dropdown-menu {
|
| 44 |
+
display: none;
|
| 45 |
+
position: absolute;
|
| 46 |
+
right: 0;
|
| 47 |
+
min-width: 200px;
|
| 48 |
+
}
|
| 49 |
+
.dropdown:hover .dropdown-menu {
|
| 50 |
+
display: block;
|
| 51 |
+
}
|
| 52 |
+
.tab-content {
|
| 53 |
+
display: none;
|
| 54 |
+
}
|
| 55 |
+
.tab-content.active {
|
| 56 |
+
display: block;
|
| 57 |
+
}
|
| 58 |
+
.submenu {
|
| 59 |
+
max-height: 0;
|
| 60 |
+
overflow: hidden;
|
| 61 |
+
transition: max-height 0.3s ease;
|
| 62 |
+
}
|
| 63 |
+
.submenu.open {
|
| 64 |
+
max-height: 500px;
|
| 65 |
+
}
|
| 66 |
+
</style>
|
| 67 |
+
</head>
|
| 68 |
+
<body class="bg-gray-100 font-sans">
|
| 69 |
+
<div class="flex h-screen overflow-hidden">
|
| 70 |
+
<!-- Sidebar -->
|
| 71 |
+
<div class="sidebar bg-blue-800 text-white w-64 flex flex-col">
|
| 72 |
+
<!-- Logo -->
|
| 73 |
+
<div class="p-4 flex items-center border-b border-blue-700">
|
| 74 |
+
<div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-blue-800 font-bold text-xl">
|
| 75 |
+
ERP
|
| 76 |
+
</div>
|
| 77 |
+
<span class="logo-text ml-3 text-xl font-semibold">Enterprise ERP</span>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<!-- User Profile -->
|
| 81 |
+
<div class="p-4 flex items-center border-b border-blue-700">
|
| 82 |
+
<div class="w-10 h-10 rounded-full bg-blue-600 flex items-center justify-center">
|
| 83 |
+
<i class="fas fa-user"></i>
|
| 84 |
+
</div>
|
| 85 |
+
<div class="ml-3">
|
| 86 |
+
<div class="font-medium">Admin User</div>
|
| 87 |
+
<div class="text-xs text-blue-200">Administrator</div>
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
|
| 91 |
+
<!-- Navigation -->
|
| 92 |
+
<div class="flex-1 overflow-y-auto">
|
| 93 |
+
<ul class="py-2">
|
| 94 |
+
<!-- Dashboard -->
|
| 95 |
+
<li class="px-2">
|
| 96 |
+
<a href="#" class="nav-item flex items-center p-2 rounded hover:bg-blue-700">
|
| 97 |
+
<i class="fas fa-tachometer-alt w-6 text-center"></i>
|
| 98 |
+
<span class="nav-text ml-3">Dashboard</span>
|
| 99 |
+
</a>
|
| 100 |
+
</li>
|
| 101 |
+
|
| 102 |
+
<!-- HRM -->
|
| 103 |
+
<li class="px-2">
|
| 104 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('hrm')">
|
| 105 |
+
<i class="fas fa-users w-6 text-center"></i>
|
| 106 |
+
<span class="nav-text ml-3">Human Resources</span>
|
| 107 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 108 |
+
</div>
|
| 109 |
+
<ul id="hrm" class="submenu bg-blue-900 ml-2 rounded">
|
| 110 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-user-friends w-4 mr-2"></i> Employees</a></li>
|
| 111 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-calendar-check w-4 mr-2"></i> Attendance</a></li>
|
| 112 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-money-bill-wave w-4 mr-2"></i> Payroll</a></li>
|
| 113 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-plane w-4 mr-2"></i> Leave</a></li>
|
| 114 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-bullseye w-4 mr-2"></i> Performance</a></li>
|
| 115 |
+
</ul>
|
| 116 |
+
</li>
|
| 117 |
+
|
| 118 |
+
<!-- Finance -->
|
| 119 |
+
<li class="px-2">
|
| 120 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('finance')">
|
| 121 |
+
<i class="fas fa-money-bill-wave w-6 text-center"></i>
|
| 122 |
+
<span class="nav-text ml-3">Finance</span>
|
| 123 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 124 |
+
</div>
|
| 125 |
+
<ul id="finance" class="submenu bg-blue-900 ml-2 rounded">
|
| 126 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-book w-4 mr-2"></i> Chart of Accounts</a></li>
|
| 127 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-file-invoice-dollar w-4 mr-2"></i> Journal Entries</a></li>
|
| 128 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-receipt w-4 mr-2"></i> Invoices</a></li>
|
| 129 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-balance-scale w-4 mr-2"></i> Balance Sheet</a></li>
|
| 130 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-chart-line w-4 mr-2"></i> Reports</a></li>
|
| 131 |
+
</ul>
|
| 132 |
+
</li>
|
| 133 |
+
|
| 134 |
+
<!-- Inventory -->
|
| 135 |
+
<li class="px-2">
|
| 136 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('inventory')">
|
| 137 |
+
<i class="fas fa-boxes w-6 text-center"></i>
|
| 138 |
+
<span class="nav-text ml-3">Inventory</span>
|
| 139 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 140 |
+
</div>
|
| 141 |
+
<ul id="inventory" class="submenu bg-blue-900 ml-2 rounded">
|
| 142 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-box-open w-4 mr-2"></i> Products</a></li>
|
| 143 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-warehouse w-4 mr-2"></i> Warehouses</a></li>
|
| 144 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-exchange-alt w-4 mr-2"></i> Transfers</a></li>
|
| 145 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-barcode w-4 mr-2"></i> Barcodes</a></li>
|
| 146 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-chart-pie w-4 mr-2"></i> Reports</a></li>
|
| 147 |
+
</ul>
|
| 148 |
+
</li>
|
| 149 |
+
|
| 150 |
+
<!-- Sales -->
|
| 151 |
+
<li class="px-2">
|
| 152 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('sales')">
|
| 153 |
+
<i class="fas fa-shopping-cart w-6 text-center"></i>
|
| 154 |
+
<span class="nav-text ml-3">Sales</span>
|
| 155 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 156 |
+
</div>
|
| 157 |
+
<ul id="sales" class="submenu bg-blue-900 ml-2 rounded">
|
| 158 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-file-invoice w-4 mr-2"></i> Quotations</a></li>
|
| 159 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-clipboard-list w-4 mr-2"></i> Orders</a></li>
|
| 160 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-truck w-4 mr-2"></i> Shipments</a></li>
|
| 161 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-undo w-4 mr-2"></i> Returns</a></li>
|
| 162 |
+
</ul>
|
| 163 |
+
</li>
|
| 164 |
+
|
| 165 |
+
<!-- Purchasing -->
|
| 166 |
+
<li class="px-2">
|
| 167 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('purchase')">
|
| 168 |
+
<i class="fas fa-shopping-basket w-6 text-center"></i>
|
| 169 |
+
<span class="nav-text ml-3">Purchasing</span>
|
| 170 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 171 |
+
</div>
|
| 172 |
+
<ul id="purchase" class="submenu bg-blue-900 ml-2 rounded">
|
| 173 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-file-alt w-4 mr-2"></i> RFQs</a></li>
|
| 174 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-file-signature w-4 mr-2"></i> POs</a></li>
|
| 175 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-truck-loading w-4 mr-2"></i> Receipts</a></li>
|
| 176 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-hand-holding-usd w-4 mr-2"></i> Payments</a></li>
|
| 177 |
+
</ul>
|
| 178 |
+
</li>
|
| 179 |
+
|
| 180 |
+
<!-- CRM -->
|
| 181 |
+
<li class="px-2">
|
| 182 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('crm')">
|
| 183 |
+
<i class="fas fa-handshake w-6 text-center"></i>
|
| 184 |
+
<span class="nav-text ml-3">CRM</span>
|
| 185 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 186 |
+
</div>
|
| 187 |
+
<ul id="crm" class="submenu bg-blue-900 ml-2 rounded">
|
| 188 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-users w-4 mr-2"></i> Customers</a></li>
|
| 189 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-bullseye w-4 mr-2"></i> Leads</a></li>
|
| 190 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-funnel-dollar w-4 mr-2"></i> Opportunities</a></li>
|
| 191 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-headset w-4 mr-2"></i> Support</a></li>
|
| 192 |
+
</ul>
|
| 193 |
+
</li>
|
| 194 |
+
|
| 195 |
+
<!-- Projects -->
|
| 196 |
+
<li class="px-2">
|
| 197 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('projects')">
|
| 198 |
+
<i class="fas fa-project-diagram w-6 text-center"></i>
|
| 199 |
+
<span class="nav-text ml-3">Projects</span>
|
| 200 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 201 |
+
</div>
|
| 202 |
+
<ul id="projects" class="submenu bg-blue-900 ml-2 rounded">
|
| 203 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-tasks w-4 mr-2"></i> Tasks</a></li>
|
| 204 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-chart-gantt w-4 mr-2"></i> Gantt</a></li>
|
| 205 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-clock w-4 mr-2"></i> Time Tracking</a></li>
|
| 206 |
+
</ul>
|
| 207 |
+
</li>
|
| 208 |
+
|
| 209 |
+
<!-- Manufacturing -->
|
| 210 |
+
<li class="px-2">
|
| 211 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('manufacturing')">
|
| 212 |
+
<i class="fas fa-industry w-6 text-center"></i>
|
| 213 |
+
<span class="nav-text ml-3">Manufacturing</span>
|
| 214 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 215 |
+
</div>
|
| 216 |
+
<ul id="manufacturing" class="submenu bg-blue-900 ml-2 rounded">
|
| 217 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-list-alt w-4 mr-2"></i> BOM</a></li>
|
| 218 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-clipboard-check w-4 mr-2"></i> Work Orders</a></li>
|
| 219 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-cogs w-4 mr-2"></i> Production</a></li>
|
| 220 |
+
</ul>
|
| 221 |
+
</li>
|
| 222 |
+
|
| 223 |
+
<!-- POS -->
|
| 224 |
+
<li class="px-2">
|
| 225 |
+
<a href="#" class="nav-item flex items-center p-2 rounded hover:bg-blue-700">
|
| 226 |
+
<i class="fas fa-cash-register w-6 text-center"></i>
|
| 227 |
+
<span class="nav-text ml-3">Point of Sale</span>
|
| 228 |
+
</a>
|
| 229 |
+
</li>
|
| 230 |
+
|
| 231 |
+
<!-- Reports -->
|
| 232 |
+
<li class="px-2">
|
| 233 |
+
<a href="#" class="nav-item flex items-center p-2 rounded hover:bg-blue-700">
|
| 234 |
+
<i class="fas fa-chart-bar w-6 text-center"></i>
|
| 235 |
+
<span class="nav-text ml-3">Reports</span>
|
| 236 |
+
</a>
|
| 237 |
+
</li>
|
| 238 |
+
|
| 239 |
+
<!-- Settings -->
|
| 240 |
+
<li class="px-2">
|
| 241 |
+
<div class="nav-item flex items-center p-2 rounded hover:bg-blue-700 cursor-pointer" onclick="toggleSubmenu('settings')">
|
| 242 |
+
<i class="fas fa-cog w-6 text-center"></i>
|
| 243 |
+
<span class="nav-text ml-3">Settings</span>
|
| 244 |
+
<i class="fas fa-chevron-down ml-auto text-xs"></i>
|
| 245 |
+
</div>
|
| 246 |
+
<ul id="settings" class="submenu bg-blue-900 ml-2 rounded">
|
| 247 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-users-cog w-4 mr-2"></i> Users</a></li>
|
| 248 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-building w-4 mr-2"></i> Company</a></li>
|
| 249 |
+
<li><a href="#" class="flex items-center p-2 rounded hover:bg-blue-800 pl-8"><i class="fas fa-globe w-4 mr-2"></i> Localization</a></li>
|
| 250 |
+
</ul>
|
| 251 |
+
</li>
|
| 252 |
+
</ul>
|
| 253 |
+
</div>
|
| 254 |
+
|
| 255 |
+
<!-- Collapse Button -->
|
| 256 |
+
<div class="p-4 border-t border-blue-700">
|
| 257 |
+
<button onclick="toggleSidebar()" class="w-full flex items-center justify-center p-2 rounded hover:bg-blue-700">
|
| 258 |
+
<i class="fas fa-chevron-left"></i>
|
| 259 |
+
<span class="nav-text ml-3">Collapse</span>
|
| 260 |
+
</button>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
|
| 264 |
+
<!-- Main Content -->
|
| 265 |
+
<div class="main-content flex-1 flex flex-col overflow-hidden ml-64">
|
| 266 |
+
<!-- Top Navigation -->
|
| 267 |
+
<header class="bg-white shadow-sm">
|
| 268 |
+
<div class="flex items-center justify-between px-6 py-3">
|
| 269 |
+
<!-- Search -->
|
| 270 |
+
<div class="flex items-center">
|
| 271 |
+
<div class="relative">
|
| 272 |
+
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 w-64">
|
| 273 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
|
| 277 |
+
<!-- Right Side -->
|
| 278 |
+
<div class="flex items-center space-x-4">
|
| 279 |
+
<!-- Language -->
|
| 280 |
+
<div class="dropdown relative">
|
| 281 |
+
<button class="flex items-center space-x-1">
|
| 282 |
+
<i class="fas fa-globe"></i>
|
| 283 |
+
<span>EN</span>
|
| 284 |
+
</button>
|
| 285 |
+
<div class="dropdown-menu mt-2 bg-white shadow-lg rounded-md py-1 z-50">
|
| 286 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100">English</a>
|
| 287 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100">Spanish</a>
|
| 288 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100">French</a>
|
| 289 |
+
</div>
|
| 290 |
+
</div>
|
| 291 |
+
|
| 292 |
+
<!-- Notifications -->
|
| 293 |
+
<div class="dropdown relative">
|
| 294 |
+
<button class="relative">
|
| 295 |
+
<i class="fas fa-bell text-xl"></i>
|
| 296 |
+
<span class="notification-badge bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
|
| 297 |
+
</button>
|
| 298 |
+
<div class="dropdown-menu mt-2 bg-white shadow-lg rounded-md py-1 w-72 right-0 z-50">
|
| 299 |
+
<div class="px-4 py-2 border-b font-medium">Notifications (3)</div>
|
| 300 |
+
<a href="#" class="block px-4 py-3 hover:bg-gray-100 border-b">
|
| 301 |
+
<div class="flex items-start">
|
| 302 |
+
<div class="flex-shrink-0 pt-1">
|
| 303 |
+
<div class="h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 304 |
+
<i class="fas fa-file-invoice"></i>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
<div class="ml-3">
|
| 308 |
+
<p class="text-sm font-medium">New invoice received</p>
|
| 309 |
+
<p class="text-xs text-gray-500">2 minutes ago</p>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
</a>
|
| 313 |
+
<a href="#" class="block px-4 py-3 hover:bg-gray-100 border-b">
|
| 314 |
+
<div class="flex items-start">
|
| 315 |
+
<div class="flex-shrink-0 pt-1">
|
| 316 |
+
<div class="h-8 w-8 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 317 |
+
<i class="fas fa-shipping-fast"></i>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
<div class="ml-3">
|
| 321 |
+
<p class="text-sm font-medium">Order #1234 shipped</p>
|
| 322 |
+
<p class="text-xs text-gray-500">1 hour ago</p>
|
| 323 |
+
</div>
|
| 324 |
+
</div>
|
| 325 |
+
</a>
|
| 326 |
+
<a href="#" class="block px-4 py-3 hover:bg-gray-100">
|
| 327 |
+
<div class="flex items-start">
|
| 328 |
+
<div class="flex-shrink-0 pt-1">
|
| 329 |
+
<div class="h-8 w-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
|
| 330 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
<div class="ml-3">
|
| 334 |
+
<p class="text-sm font-medium">Low stock alert</p>
|
| 335 |
+
<p class="text-xs text-gray-500">5 hours ago</p>
|
| 336 |
+
</div>
|
| 337 |
+
</div>
|
| 338 |
+
</a>
|
| 339 |
+
<div class="px-4 py-2 text-center border-t">
|
| 340 |
+
<a href="#" class="text-sm text-blue-600 font-medium">View all notifications</a>
|
| 341 |
+
</div>
|
| 342 |
+
</div>
|
| 343 |
+
</div>
|
| 344 |
+
|
| 345 |
+
<!-- Messages -->
|
| 346 |
+
<div class="dropdown relative">
|
| 347 |
+
<button class="relative">
|
| 348 |
+
<i class="fas fa-envelope text-xl"></i>
|
| 349 |
+
<span class="notification-badge bg-blue-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">2</span>
|
| 350 |
+
</button>
|
| 351 |
+
<div class="dropdown-menu mt-2 bg-white shadow-lg rounded-md py-1 w-72 right-0 z-50">
|
| 352 |
+
<div class="px-4 py-2 border-b font-medium">Messages (2)</div>
|
| 353 |
+
<a href="#" class="block px-4 py-3 hover:bg-gray-100 border-b">
|
| 354 |
+
<div class="flex items-start">
|
| 355 |
+
<div class="flex-shrink-0">
|
| 356 |
+
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
|
| 357 |
+
</div>
|
| 358 |
+
<div class="ml-3">
|
| 359 |
+
<p class="text-sm font-medium">Sarah Johnson</p>
|
| 360 |
+
<p class="text-xs text-gray-500 truncate">Regarding your recent order, when can we expect delivery?</p>
|
| 361 |
+
</div>
|
| 362 |
+
</div>
|
| 363 |
+
</a>
|
| 364 |
+
<a href="#" class="block px-4 py-3 hover:bg-gray-100">
|
| 365 |
+
<div class="flex items-start">
|
| 366 |
+
<div class="flex-shrink-0">
|
| 367 |
+
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
|
| 368 |
+
</div>
|
| 369 |
+
<div class="ml-3">
|
| 370 |
+
<p class="text-sm font-medium">Michael Brown</p>
|
| 371 |
+
<p class="text-xs text-gray-500 truncate">The project proposal looks great, let's schedule a meeting</p>
|
| 372 |
+
</div>
|
| 373 |
+
</div>
|
| 374 |
+
</a>
|
| 375 |
+
<div class="px-4 py-2 text-center border-t">
|
| 376 |
+
<a href="#" class="text-sm text-blue-600 font-medium">View all messages</a>
|
| 377 |
+
</div>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
|
| 381 |
+
<!-- User Dropdown -->
|
| 382 |
+
<div class="dropdown relative">
|
| 383 |
+
<button class="flex items-center space-x-2">
|
| 384 |
+
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
|
| 385 |
+
<span class="hidden md:inline">Admin User</span>
|
| 386 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 387 |
+
</button>
|
| 388 |
+
<div class="dropdown-menu mt-2 bg-white shadow-lg rounded-md py-1 right-0 z-50">
|
| 389 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100">Profile</a>
|
| 390 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100">Settings</a>
|
| 391 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100">Activity Log</a>
|
| 392 |
+
<div class="border-t"></div>
|
| 393 |
+
<a href="#" class="block px-4 py-2 hover:bg-gray-100 text-red-600">Logout</a>
|
| 394 |
+
</div>
|
| 395 |
+
</div>
|
| 396 |
+
</div>
|
| 397 |
+
</div>
|
| 398 |
+
</header>
|
| 399 |
+
|
| 400 |
+
<!-- Main Content Area -->
|
| 401 |
+
<main class="flex-1 overflow-y-auto p-6">
|
| 402 |
+
<!-- Page Header -->
|
| 403 |
+
<div class="flex justify-between items-center mb-6">
|
| 404 |
+
<div>
|
| 405 |
+
<h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
|
| 406 |
+
<p class="text-gray-600">Welcome back, Admin User</p>
|
| 407 |
+
</div>
|
| 408 |
+
<div>
|
| 409 |
+
<button class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 flex items-center">
|
| 410 |
+
<i class="fas fa-plus mr-2"></i>
|
| 411 |
+
<span>Quick Action</span>
|
| 412 |
+
</button>
|
| 413 |
+
</div>
|
| 414 |
+
</div>
|
| 415 |
+
|
| 416 |
+
<!-- Stats Cards -->
|
| 417 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
| 418 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 419 |
+
<div class="flex items-center">
|
| 420 |
+
<div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
|
| 421 |
+
<i class="fas fa-dollar-sign text-xl"></i>
|
| 422 |
+
</div>
|
| 423 |
+
<div>
|
| 424 |
+
<p class="text-gray-500">Total Revenue</p>
|
| 425 |
+
<h3 class="text-2xl font-bold">$24,780</h3>
|
| 426 |
+
<p class="text-green-500 text-sm flex items-center">
|
| 427 |
+
<i class="fas fa-arrow-up mr-1"></i>
|
| 428 |
+
<span>12.5% from last month</span>
|
| 429 |
+
</p>
|
| 430 |
+
</div>
|
| 431 |
+
</div>
|
| 432 |
+
</div>
|
| 433 |
+
|
| 434 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 435 |
+
<div class="flex items-center">
|
| 436 |
+
<div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
|
| 437 |
+
<i class="fas fa-shopping-cart text-xl"></i>
|
| 438 |
+
</div>
|
| 439 |
+
<div>
|
| 440 |
+
<p class="text-gray-500">Total Orders</p>
|
| 441 |
+
<h3 class="text-2xl font-bold">1,245</h3>
|
| 442 |
+
<p class="text-green-500 text-sm flex items-center">
|
| 443 |
+
<i class="fas fa-arrow-up mr-1"></i>
|
| 444 |
+
<span>8.2% from last month</span>
|
| 445 |
+
</p>
|
| 446 |
+
</div>
|
| 447 |
+
</div>
|
| 448 |
+
</div>
|
| 449 |
+
|
| 450 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 451 |
+
<div class="flex items-center">
|
| 452 |
+
<div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
|
| 453 |
+
<i class="fas fa-users text-xl"></i>
|
| 454 |
+
</div>
|
| 455 |
+
<div>
|
| 456 |
+
<p class="text-gray-500">New Customers</p>
|
| 457 |
+
<h3 class="text-2xl font-bold">86</h3>
|
| 458 |
+
<p class="text-red-500 text-sm flex items-center">
|
| 459 |
+
<i class="fas fa-arrow-down mr-1"></i>
|
| 460 |
+
<span>3.1% from last month</span>
|
| 461 |
+
</p>
|
| 462 |
+
</div>
|
| 463 |
+
</div>
|
| 464 |
+
</div>
|
| 465 |
+
|
| 466 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 467 |
+
<div class="flex items-center">
|
| 468 |
+
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
|
| 469 |
+
<i class="fas fa-chart-line text-xl"></i>
|
| 470 |
+
</div>
|
| 471 |
+
<div>
|
| 472 |
+
<p class="text-gray-500">Conversion Rate</p>
|
| 473 |
+
<h3 class="text-2xl font-bold">3.6%</h3>
|
| 474 |
+
<p class="text-green-500 text-sm flex items-center">
|
| 475 |
+
<i class="fas fa-arrow-up mr-1"></i>
|
| 476 |
+
<span>1.2% from last month</span>
|
| 477 |
+
</p>
|
| 478 |
+
</div>
|
| 479 |
+
</div>
|
| 480 |
+
</div>
|
| 481 |
+
</div>
|
| 482 |
+
|
| 483 |
+
<!-- Charts Row -->
|
| 484 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
| 485 |
+
<!-- Revenue Chart -->
|
| 486 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 487 |
+
<div class="flex justify-between items-center mb-4">
|
| 488 |
+
<h3 class="font-semibold text-lg">Revenue Overview</h3>
|
| 489 |
+
<div class="flex space-x-2">
|
| 490 |
+
<button class="px-3 py-1 text-xs bg-blue-100 text-blue-600 rounded">Month</button>
|
| 491 |
+
<button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Quarter</button>
|
| 492 |
+
<button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Year</button>
|
| 493 |
+
</div>
|
| 494 |
+
</div>
|
| 495 |
+
<div class="chart-container">
|
| 496 |
+
<canvas id="revenueChart"></canvas>
|
| 497 |
+
</div>
|
| 498 |
+
</div>
|
| 499 |
+
|
| 500 |
+
<!-- Sales Chart -->
|
| 501 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 502 |
+
<div class="flex justify-between items-center mb-4">
|
| 503 |
+
<h3 class="font-semibold text-lg">Sales by Category</h3>
|
| 504 |
+
<div class="flex space-x-2">
|
| 505 |
+
<button class="px-3 py-1 text-xs bg-blue-100 text-blue-600 rounded">This Month</button>
|
| 506 |
+
<button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Last Month</button>
|
| 507 |
+
</div>
|
| 508 |
+
</div>
|
| 509 |
+
<div class="chart-container">
|
| 510 |
+
<canvas id="salesChart"></canvas>
|
| 511 |
+
</div>
|
| 512 |
+
</div>
|
| 513 |
+
</div>
|
| 514 |
+
|
| 515 |
+
<!-- Recent Orders & Activity -->
|
| 516 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
| 517 |
+
<!-- Recent Orders -->
|
| 518 |
+
<div class="bg-white rounded-lg shadow">
|
| 519 |
+
<div class="p-4 border-b">
|
| 520 |
+
<h3 class="font-semibold text-lg">Recent Orders</h3>
|
| 521 |
+
</div>
|
| 522 |
+
<div class="overflow-x-auto">
|
| 523 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 524 |
+
<thead class="bg-gray-50">
|
| 525 |
+
<tr>
|
| 526 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Order #</th>
|
| 527 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Customer</th>
|
| 528 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 529 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th>
|
| 530 |
+
</tr>
|
| 531 |
+
</thead>
|
| 532 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 533 |
+
<tr>
|
| 534 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">#ORD-1001</td>
|
| 535 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Acme Corporation</td>
|
| 536 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 537 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span>
|
| 538 |
+
</td>
|
| 539 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$1,245.00</td>
|
| 540 |
+
</tr>
|
| 541 |
+
<tr>
|
| 542 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">#ORD-1002</td>
|
| 543 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Globex Inc</td>
|
| 544 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 545 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Processing</span>
|
| 546 |
+
</td>
|
| 547 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$845.50</td>
|
| 548 |
+
</tr>
|
| 549 |
+
<tr>
|
| 550 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">#ORD-1003</td>
|
| 551 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Soylent Corp</td>
|
| 552 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 553 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Shipped</span>
|
| 554 |
+
</td>
|
| 555 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$2,340.00</td>
|
| 556 |
+
</tr>
|
| 557 |
+
<tr>
|
| 558 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">#ORD-1004</td>
|
| 559 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Initech LLC</td>
|
| 560 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 561 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Pending</span>
|
| 562 |
+
</td>
|
| 563 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$1,025.75</td>
|
| 564 |
+
</tr>
|
| 565 |
+
<tr>
|
| 566 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-blue-600">#ORD-1005</td>
|
| 567 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Umbrella Corp</td>
|
| 568 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 569 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Cancelled</span>
|
| 570 |
+
</td>
|
| 571 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$560.00</td>
|
| 572 |
+
</tr>
|
| 573 |
+
</tbody>
|
| 574 |
+
</table>
|
| 575 |
+
</div>
|
| 576 |
+
<div class="p-4 border-t text-center">
|
| 577 |
+
<a href="#" class="text-blue-600 font-medium">View all orders</a>
|
| 578 |
+
</div>
|
| 579 |
+
</div>
|
| 580 |
+
|
| 581 |
+
<!-- Recent Activity -->
|
| 582 |
+
<div class="bg-white rounded-lg shadow">
|
| 583 |
+
<div class="p-4 border-b">
|
| 584 |
+
<h3 class="font-semibold text-lg">Recent Activity</h3>
|
| 585 |
+
</div>
|
| 586 |
+
<div class="p-4">
|
| 587 |
+
<div class="space-y-4">
|
| 588 |
+
<div class="flex">
|
| 589 |
+
<div class="flex-shrink-0 mr-3">
|
| 590 |
+
<div class="h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 591 |
+
<i class="fas fa-user-plus"></i>
|
| 592 |
+
</div>
|
| 593 |
+
</div>
|
| 594 |
+
<div>
|
| 595 |
+
<p class="text-sm">
|
| 596 |
+
<span class="font-semibold">Michael Brown</span> added a new customer <span class="font-semibold">Acme Corporation</span>
|
| 597 |
+
</p>
|
| 598 |
+
<p class="text-xs text-gray-500">2 hours ago</p>
|
| 599 |
+
</div>
|
| 600 |
+
</div>
|
| 601 |
+
|
| 602 |
+
<div class="flex">
|
| 603 |
+
<div class="flex-shrink-0 mr-3">
|
| 604 |
+
<div class="h-8 w-8 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 605 |
+
<i class="fas fa-file-invoice-dollar"></i>
|
| 606 |
+
</div>
|
| 607 |
+
</div>
|
| 608 |
+
<div>
|
| 609 |
+
<p class="text-sm">
|
| 610 |
+
<span class="font-semibold">Sarah Johnson</span> created invoice <span class="font-semibold">#INV-10025</span> for $1,245.00
|
| 611 |
+
</p>
|
| 612 |
+
<p class="text-xs text-gray-500">4 hours ago</p>
|
| 613 |
+
</div>
|
| 614 |
+
</div>
|
| 615 |
+
|
| 616 |
+
<div class="flex">
|
| 617 |
+
<div class="flex-shrink-0 mr-3">
|
| 618 |
+
<div class="h-8 w-8 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
|
| 619 |
+
<i class="fas fa-shopping-cart"></i>
|
| 620 |
+
</div>
|
| 621 |
+
</div>
|
| 622 |
+
<div>
|
| 623 |
+
<p class="text-sm">
|
| 624 |
+
New order <span class="font-semibold">#ORD-1006</span> received from <span class="font-semibold">Globex Inc</span> for $845.50
|
| 625 |
+
</p>
|
| 626 |
+
<p class="text-xs text-gray-500">6 hours ago</p>
|
| 627 |
+
</div>
|
| 628 |
+
</div>
|
| 629 |
+
|
| 630 |
+
<div class="flex">
|
| 631 |
+
<div class="flex-shrink-0 mr-3">
|
| 632 |
+
<div class="h-8 w-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
|
| 633 |
+
<i class="fas fa-truck"></i>
|
| 634 |
+
</div>
|
| 635 |
+
</div>
|
| 636 |
+
<div>
|
| 637 |
+
<p class="text-sm">
|
| 638 |
+
Order <span class="font-semibold">#ORD-1003</span> has been shipped to <span class="font-semibold">Soylent Corp</span>
|
| 639 |
+
</p>
|
| 640 |
+
<p class="text-xs text-gray-500">1 day ago</p>
|
| 641 |
+
</div>
|
| 642 |
+
</div>
|
| 643 |
+
|
| 644 |
+
<div class="flex">
|
| 645 |
+
<div class="flex-shrink-0 mr-3">
|
| 646 |
+
<div class="h-8 w-8 rounded-full bg-red-100 flex items-center justify-center text-red-600">
|
| 647 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 648 |
+
</div>
|
| 649 |
+
</div>
|
| 650 |
+
<div>
|
| 651 |
+
<p class="text-sm">
|
| 652 |
+
Low stock alert for <span class="font-semibold">Product #PRD-1008</span> (Widget X)
|
| 653 |
+
</p>
|
| 654 |
+
<p class="text-xs text-gray-500">2 days ago</p>
|
| 655 |
+
</div>
|
| 656 |
+
</div>
|
| 657 |
+
</div>
|
| 658 |
+
</div>
|
| 659 |
+
<div class="p-4 border-t text-center">
|
| 660 |
+
<a href="#" class="text-blue-600 font-medium">View all activity</a>
|
| 661 |
+
</div>
|
| 662 |
+
</div>
|
| 663 |
+
</div>
|
| 664 |
+
|
| 665 |
+
<!-- Quick Access Modules -->
|
| 666 |
+
<div class="mb-6">
|
| 667 |
+
<h3 class="font-semibold text-lg mb-4">Quick Access Modules</h3>
|
| 668 |
+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
|
| 669 |
+
<a href="#" class="module-card bg-white rounded-lg shadow p-4 text-center transition duration-300">
|
| 670 |
+
<div class="h-12 w-12 mx-auto mb-2 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 671 |
+
<i class="fas fa-users text-xl"></i>
|
| 672 |
+
</div>
|
| 673 |
+
<p class="font-medium">HRM</p>
|
| 674 |
+
</a>
|
| 675 |
+
|
| 676 |
+
<a href="#" class="module-card bg-white rounded-lg shadow p-4 text-center transition duration-300">
|
| 677 |
+
<div class="h-12 w-12 mx-auto mb-2 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 678 |
+
<i class="fas fa-money-bill-wave text-xl"></i>
|
| 679 |
+
</div>
|
| 680 |
+
<p class="font-medium">Finance</p>
|
| 681 |
+
</a>
|
| 682 |
+
|
| 683 |
+
<a href="#" class="module-card bg-white rounded-lg shadow p-4 text-center transition duration-300">
|
| 684 |
+
<div class="h-12 w-12 mx-auto mb-2 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
|
| 685 |
+
<i class="fas fa-boxes text-xl"></i>
|
| 686 |
+
</div>
|
| 687 |
+
<p class="font-medium">Inventory</p>
|
| 688 |
+
</a>
|
| 689 |
+
|
| 690 |
+
<a href="#" class="module-card bg-white rounded-lg shadow p-4 text-center transition duration-300">
|
| 691 |
+
<div class="h-12 w-12 mx-auto mb-2 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
|
| 692 |
+
<i class="fas fa-shopping-cart text-xl"></i>
|
| 693 |
+
</div>
|
| 694 |
+
<p class="font-medium">Sales</p>
|
| 695 |
+
</a>
|
| 696 |
+
|
| 697 |
+
<a href="#" class="module-card bg-white rounded-lg shadow p-4 text-center transition duration-300">
|
| 698 |
+
<div class="h-12 w-12 mx-auto mb-2 rounded-full bg-red-100 flex items-center justify-center text-red-600">
|
| 699 |
+
<i class="fas fa-shopping-basket text-xl"></i>
|
| 700 |
+
</div>
|
| 701 |
+
<p class="font-medium">Purchasing</p>
|
| 702 |
+
</a>
|
| 703 |
+
|
| 704 |
+
<a href="#" class="module-card bg-white rounded-lg shadow p-4 text-center transition duration-300">
|
| 705 |
+
<div class="h-12 w-12 mx-auto mb-2 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600">
|
| 706 |
+
<i class="fas fa-handshake text-xl"></i>
|
| 707 |
+
</div>
|
| 708 |
+
<p class="font-medium">CRM</p>
|
| 709 |
+
</a>
|
| 710 |
+
</div>
|
| 711 |
+
</div>
|
| 712 |
+
</main>
|
| 713 |
+
|
| 714 |
+
<!-- Footer -->
|
| 715 |
+
<footer class="bg-white border-t py-4 px-6">
|
| 716 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 717 |
+
<div class="text-sm text-gray-600 mb-2 md:mb-0">
|
| 718 |
+
© 2023 Enterprise ERP. All rights reserved.
|
| 719 |
+
</div>
|
| 720 |
+
<div class="flex space-x-4">
|
| 721 |
+
<a href="#" class="text-sm text-gray-600 hover:text-blue-600">Privacy Policy</a>
|
| 722 |
+
<a href="#" class="text-sm text-gray-600 hover:text-blue-600">Terms of Service</a>
|
| 723 |
+
<a href="#" class="text-sm text-gray-600 hover:text-blue-600">Help Center</a>
|
| 724 |
+
</div>
|
| 725 |
+
</div>
|
| 726 |
+
</footer>
|
| 727 |
+
</div>
|
| 728 |
+
</div>
|
| 729 |
+
|
| 730 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 731 |
+
<script>
|
| 732 |
+
// Toggle sidebar
|
| 733 |
+
function toggleSidebar() {
|
| 734 |
+
const sidebar = document.querySelector('.sidebar');
|
| 735 |
+
const mainContent = document.querySelector('.main-content');
|
| 736 |
+
sidebar.classList.toggle('collapsed');
|
| 737 |
+
}
|
| 738 |
+
|
| 739 |
+
// Toggle submenu
|
| 740 |
+
function toggleSubmenu(id) {
|
| 741 |
+
const submenu = document.getElementById(id);
|
| 742 |
+
submenu.classList.toggle('open');
|
| 743 |
+
}
|
| 744 |
+
|
| 745 |
+
// Initialize charts
|
| 746 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 747 |
+
// Revenue Chart
|
| 748 |
+
const revenueCtx = document.getElementById('revenueChart').getContext('2d');
|
| 749 |
+
const revenueChart = new Chart(revenueCtx, {
|
| 750 |
+
type: 'line',
|
| 751 |
+
data: {
|
| 752 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
|
| 753 |
+
datasets: [{
|
| 754 |
+
label: 'Revenue',
|
| 755 |
+
data: [12000, 15000, 18000, 14000, 19000, 22000, 24000],
|
| 756 |
+
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
| 757 |
+
borderColor: 'rgba(59, 130, 246, 1)',
|
| 758 |
+
borderWidth: 2,
|
| 759 |
+
tension: 0.3,
|
| 760 |
+
fill: true
|
| 761 |
+
}]
|
| 762 |
+
},
|
| 763 |
+
options: {
|
| 764 |
+
responsive: true,
|
| 765 |
+
maintainAspectRatio: false,
|
| 766 |
+
plugins: {
|
| 767 |
+
legend: {
|
| 768 |
+
display: false
|
| 769 |
+
}
|
| 770 |
+
},
|
| 771 |
+
scales: {
|
| 772 |
+
y: {
|
| 773 |
+
beginAtZero: true,
|
| 774 |
+
grid: {
|
| 775 |
+
drawBorder: false
|
| 776 |
+
},
|
| 777 |
+
ticks: {
|
| 778 |
+
callback: function(value) {
|
| 779 |
+
return '$' + value.toLocaleString();
|
| 780 |
+
}
|
| 781 |
+
}
|
| 782 |
+
},
|
| 783 |
+
x: {
|
| 784 |
+
grid: {
|
| 785 |
+
display: false
|
| 786 |
+
}
|
| 787 |
+
}
|
| 788 |
+
}
|
| 789 |
+
}
|
| 790 |
+
});
|
| 791 |
+
|
| 792 |
+
// Sales Chart
|
| 793 |
+
const salesCtx = document.getElementById('salesChart').getContext('2d');
|
| 794 |
+
const salesChart = new Chart(salesCtx, {
|
| 795 |
+
type: 'doughnut',
|
| 796 |
+
data: {
|
| 797 |
+
labels: ['Electronics', 'Furniture', 'Clothing', 'Accessories', 'Other'],
|
| 798 |
+
datasets: [{
|
| 799 |
+
data: [35, 25, 20, 15, 5],
|
| 800 |
+
backgroundColor: [
|
| 801 |
+
'rgba(59, 130, 246, 0.8)',
|
| 802 |
+
'rgba(16, 185, 129, 0.8)',
|
| 803 |
+
'rgba(245, 158, 11, 0.8)',
|
| 804 |
+
'rgba(139, 92, 246, 0.8)',
|
| 805 |
+
'rgba(239, 68, 68, 0.8)'
|
| 806 |
+
],
|
| 807 |
+
borderWidth: 0
|
| 808 |
+
}]
|
| 809 |
+
},
|
| 810 |
+
options: {
|
| 811 |
+
responsive: true,
|
| 812 |
+
maintainAspectRatio: false,
|
| 813 |
+
plugins: {
|
| 814 |
+
legend: {
|
| 815 |
+
position: 'right'
|
| 816 |
+
}
|
| 817 |
+
},
|
| 818 |
+
cutout: '70%'
|
| 819 |
+
}
|
| 820 |
+
});
|
| 821 |
+
});
|
| 822 |
+
</script>
|
| 823 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=archit9998/arrow" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 824 |
+
</html>
|