Spaces:
Running

undefined / index.html
Mkourhany's picture
Promote version 847d985 to main
5dbc8fb verified
Raw History Blame Contribute Delete
26.1 kB
<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-50">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SkyERP | Modern Business Management</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
secondary: {
50: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
300: '#c4b5fd',
400: '#a78bfa',
500: '#8b5cf6',
600: '#7c3aed',
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
}
}
}
}
}
</script>
<style>
#vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
opacity: 0.15;
}
.sidebar-link:hover .sidebar-icon {
transform: translateX(3px);
}
.sidebar-icon {
transition: transform 0.2s ease;
}
.module-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.module-card {
transition: all 0.3s ease;
}
</style>
</head>
<body class="h-full">
<div id="vanta-bg"></div>
<div class="min-h-full flex">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 border-r border-gray-200 bg-white">
<div class="h-0 flex-1 flex flex-col pt-5 pb-4 overflow-y-auto">
<div class="flex items-center flex-shrink-0 px-4">
<div class="flex items-center">
<i data-feather="cloud" class="h-8 w-auto text-primary-600"></i>
<span class="ml-3 text-xl font-bold text-gray-900">SkyERP</span>
</div>
</div>
<nav class="mt-5 flex-1 px-2 space-y-1">
<a href="#" class="sidebar-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-primary-700 bg-primary-50">
<i data-feather="home" class="sidebar-icon mr-3 flex-shrink-0 h-5 w-5 text-primary-600"></i>
Dashboard
</a>
<a href="sales.html" class="sidebar-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i data-feather="shopping-cart" class="sidebar-icon mr-3 flex-shrink-0 h-5 w-5 text-gray-500 group-hover:text-gray-500"></i>
Sales
</a>
<a href="inventory.html" class="sidebar-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i data-feather="package" class="sidebar-icon mr-3 flex-shrink-0 h-5 w-5 text-gray-500 group-hover:text-gray-500"></i>
Inventory
</a>
<a href="accounting.html" class="sidebar-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i data-feather="dollar-sign" class="sidebar-icon mr-3 flex-shrink-0 h-5 w-5 text-gray-500 group-hover:text-gray-500"></i>
Accounting
</a>
<a href="hr.html" class="sidebar-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i data-feather="users" class="sidebar-icon mr-3 flex-shrink-0 h-5 w-5 text-gray-500 group-hover:text-gray-500"></i>
HR
</a>
<a href="settings.html" class="sidebar-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:text-gray-900 hover:bg-gray-50">
<i data-feather="settings" class="sidebar-icon mr-3 flex-shrink-0 h-5 w-5 text-gray-500 group-hover:text-gray-500"></i>
Settings
</a>
</nav>
</div>
<div class="flex-shrink-0 flex border-t border-gray-200 p-4">
<div class="flex items-center">
<div>
<img class="inline-block h-9 w-9 rounded-full" src="http://static.photos/people/200x200/1" alt="">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-700 group-hover:text-gray-900">Admin User</p>
<p class="text-xs font-medium text-gray-500 group-hover:text-gray-700">View profile</p>
</div>
</div>
</div>
</div>
</div>
<!-- Main content -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Mobile header -->
<div class="md:hidden">
<div class="bg-white shadow-sm">
<div class="px-4 py-4 flex justify-between items-center">
<div class="flex items-center">
<i data-feather="menu" class="h-6 w-6 text-gray-500"></i>
<span class="ml-2 text-lg font-bold text-gray-900">SkyERP</span>
</div>
<div class="flex items-center">
<img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/1" alt="">
</div>
</div>
</div>
</div>
<!-- Desktop header -->
<div class="hidden md:block bg-white shadow">
<div class="px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<h1 class="text-xl font-bold text-gray-900">Dashboard</h1>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="search" class="h-5 w-5 text-gray-400"></i>
</div>
<input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-primary-500 focus:border-primary-500 sm:text-sm" placeholder="Search...">
</div>
<div class="ml-4 flex items-center md:ml-6">
<button type="button" class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
<i data-feather="bell" class="h-6 w-6"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Content area -->
<div class="flex-1 overflow-auto focus:outline-none bg-gray-50">
<div class="px-4 py-6 sm:px-6 lg:px-8">
<!-- Welcome banner -->
<div class="rounded-lg bg-white shadow p-6 mb-6">
<div class="flex items-center">
<div class="flex-shrink-0">
<i data-feather="sun" class="h-10 w-10 text-primary-600"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Welcome back, Admin!</h3>
<p class="mt-1 text-sm text-gray-500">Here's what's happening with your business today.</p>
</div>
</div>
</div>
<!-- Stats cards -->
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-6">
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary-500 rounded-md p-3">
<i data-feather="dollar-sign" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Today's Revenue</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">$24,573</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-secondary-500 rounded-md p-3">
<i data-feather="shopping-cart" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">New Orders</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">142</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
<i data-feather="users" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Active Customers</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">2,356</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
<i data-feather="alert-circle" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Pending Tasks</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">15</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
<!-- Modules grid -->
<div class="mb-6">
<h2 class="text-lg font-medium text-gray-900 mb-4">Modules</h2>
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3">
<div class="module-card bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
<i data-feather="shopping-cart" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<h3 class="text-lg font-medium text-gray-900">Sales</h3>
<p class="mt-1 text-sm text-gray-500">Manage orders, customers and quotes</p>
</div>
</div>
</div>
</div>
<div class="module-card bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
<i data-feather="package" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<h3 class="text-lg font-medium text-gray-900">Inventory</h3>
<p class="mt-1 text-sm text-gray-500">Track products and manage stock</p>
</div>
</div>
</div>
</div>
<div class="module-card bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-500 rounded-md p-3">
<i data-feather="dollar-sign" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<h3 class="text-lg font-medium text-gray-900">Accounting</h3>
<p class="mt-1 text-sm text-gray-500">Manage invoices and expenses</p>
</div>
</div>
</div>
</div>
<div class="module-card bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-pink-500 rounded-md p-3">
<i data-feather="users" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<h3 class="text-lg font-medium text-gray-900">HR</h3>
<p class="mt-1 text-sm text-gray-500">Manage employees and payroll</p>
</div>
</div>
</div>
</div>
<div class="module-card bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3">
<i data-feather="monitor" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<h3 class="text-lg font-medium text-gray-900">Manufacturing</h3>
<p class="mt-1 text-sm text-gray-500">Production planning and execution</p>
</div>
</div>
</div>
</div>
<div class="module-card bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-500 rounded-md p-3">
<i data-feather="settings" class="h-6 w-6 text-white"></i>
</div>
<div class="ml-5 w-0 flex-1">
<h3 class="text-lg font-medium text-gray-900">Settings</h3>
<p class="mt-1 text-sm text-gray-500">Configure your ERP system</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Recent activities -->
<div class="bg-white shadow rounded-lg overflow-hidden">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">Recent Activities</h3>
</div>
<div class="bg-white overflow-hidden">
<ul class="divide-y divide-gray-200">
<li class="px-4 py-4 sm:px-6">
<div class="flex items-center">
<div class="min-w-0 flex-1 flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/2" alt="">
</div>
<div class="min-w-0 flex-1 px-4">
<div>
<p class="text-sm font-medium text-primary-600 truncate">John Smith placed a new order</p>
<p class="mt-1 text-sm text-gray-500 truncate">Order #45678 - $1,234.56</p>
</div>
</div>
</div>
<div>
<p class="text-sm text-gray-500">2 hours ago</p>
</div>
</div>
</li>
<li class="px-4 py-4 sm:px-6">
<div class="flex items-center">
<div class="min-w-0 flex-1 flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/3" alt="">
</div>
<div class="min-w-0 flex-1 px-4">
<div>
<p class="text-sm font-medium text-primary-600 truncate">Jane Doe updated customer profile</p>
<p class="mt-1 text-sm text-gray-500 truncate">Customer #1234 - Premium tier</p>
</div>
</div>
</div>
<div>
<p class="text-sm text-gray-500">5 hours ago</p>
</div>
</div>
</li>
<li class="px-4 py-4 sm:px-6">
<div class="flex items-center">
<div class="min-w-0 flex-1 flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/4" alt="">
</div>
<div class="min-w-0 flex-1 px-4">
<div>
<p class="text-sm font-medium text-primary-600 truncate">New inventory received</p>
<p class="mt-1 text-sm text-gray-500 truncate">Product XYZ - Qty: 100</p>
</div>
</div>
</div>
<div>
<p class="text-sm text-gray-500">1 day ago</p>
</div>
</div>
</li>
<li class="px-4 py-4 sm:px-6">
<div class="flex items-center">
<div class="min-w-0 flex-1 flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/5" alt="">
</div>
<div class="min-w-0 flex-1 px-4">
<div>
<p class="text-sm font-medium text-primary-600 truncate">Invoice #7890 paid</p>
<p class="mt-1 text-sm text-gray-500 truncate">Amount: $5,678.90 - On time</p>
</div>
</div>
</div>
<div>
<p class="text-sm text-gray-500">2 days ago</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Initialize Vanta.js background
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: "#0ea5e9",
backgroundColor: "#f8fafc",
size: 0.8
});
// Initialize Feather Icons
feather.replace();
</script>
</body>
</html>