Spaces:
Running
Running
Download index.html from Knuger/whmcs-clone: direct link, hf CLI and curl.
- Browser
- Download file 49.4 kB
-
https://huggingface.co/spaces/Knuger/whmcs-clone/resolve/main/index.html
- Command line
-
hf download hf://spaces/Knuger/whmcs-clone/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Knuger/whmcs-clone/resolve/main/index.html
49.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>WHMCS Clone - Hosting Management System</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar.collapsed { | |
| width: 70px; | |
| } | |
| .sidebar.collapsed .sidebar-text { | |
| display: none; | |
| } | |
| .sidebar.collapsed .logo-text { | |
| display: none; | |
| } | |
| .main-content { | |
| transition: all 0.3s ease; | |
| } | |
| .main-content.expanded { | |
| margin-left: 70px; | |
| } | |
| .ticket-status-open { | |
| background-color: #FEE2E2; | |
| color: #DC2626; | |
| } | |
| .ticket-status-pending { | |
| background-color: #FEF3C7; | |
| color: #D97706; | |
| } | |
| .ticket-status-closed { | |
| background-color: #DCFCE7; | |
| color: #16A34A; | |
| } | |
| .ticket-status-answered { | |
| background-color: #DBEAFE; | |
| color: #2563EB; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div id="sidebar" class="sidebar bg-gray-800 text-white w-64 h-full fixed flex flex-col"> | |
| <div class="p-4 flex items-center justify-between border-b border-gray-700"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-server text-blue-400 text-2xl mr-3"></i> | |
| <span class="logo-text text-xl font-bold">WHMCS Clone</span> | |
| </div> | |
| <button id="toggleSidebar" class="text-gray-400 hover:text-white"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| <div class="p-4 border-b border-gray-700 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold mr-3">AD</div> | |
| <div class="sidebar-text"> | |
| <div class="font-medium">Admin User</div> | |
| <div class="text-xs text-gray-400">Administrator</div> | |
| </div> | |
| </div> | |
| <nav class="flex-1 overflow-y-auto"> | |
| <div class="p-2"> | |
| <div class="text-xs uppercase text-gray-500 px-4 py-2 sidebar-text">Navigation</div> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('dashboard')"> | |
| <i class="fas fa-tachometer-alt mr-3"></i> | |
| <span class="sidebar-text">Dashboard</span> | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('support')"> | |
| <i class="fas fa-ticket-alt mr-3"></i> | |
| <span class="sidebar-text">Support Tickets</span> | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('invoices')"> | |
| <i class="fas fa-file-invoice-dollar mr-3"></i> | |
| <span class="sidebar-text">Invoices</span> | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('clients')"> | |
| <i class="fas fa-users mr-3"></i> | |
| <span class="sidebar-text">Clients</span> | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('services')"> | |
| <i class="fas fa-server mr-3"></i> | |
| <span class="sidebar-text">Services</span> | |
| </a> | |
| </div> | |
| <div class="p-2"> | |
| <div class="text-xs uppercase text-gray-500 px-4 py-2 sidebar-text">System</div> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('settings')"> | |
| <i class="fas fa-cog mr-3"></i> | |
| <span class="sidebar-text">Settings</span> | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-700 hover:text-white rounded transition" onclick="showSection('users')"> | |
| <i class="fas fa-user-shield mr-3"></i> | |
| <span class="sidebar-text">Users</span> | |
| </a> | |
| </div> | |
| </nav> | |
| <div class="p-4 border-t border-gray-700"> | |
| <a href="#" class="flex items-center text-gray-300 hover:text-white"> | |
| <i class="fas fa-sign-out-alt mr-3"></i> | |
| <span class="sidebar-text">Logout</span> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div id="mainContent" class="main-content flex-1 overflow-auto ml-64 transition-all duration-300"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="px-6 py-4 flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <h1 class="text-xl font-semibold text-gray-800" id="pageTitle">Dashboard</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-bell"></i> | |
| <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> | |
| </button> | |
| </div> | |
| <div class="relative"> | |
| <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"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Dashboard Section --> | |
| <div id="dashboard" class="section-content p-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <!-- Stats Cards --> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4"> | |
| <i class="fas fa-users text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-gray-500 text-sm">Total Clients</h3> | |
| <p class="text-2xl font-bold">1,248</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4"> | |
| <i class="fas fa-server text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-gray-500 text-sm">Active Services</h3> | |
| <p class="text-2xl font-bold">2,567</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4"> | |
| <i class="fas fa-ticket-alt text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-gray-500 text-sm">Open Tickets</h3> | |
| <p class="text-2xl font-bold">24</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4"> | |
| <i class="fas fa-dollar-sign text-xl"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-gray-500 text-sm">Unpaid Invoices</h3> | |
| <p class="text-2xl font-bold">$12,489</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> | |
| <!-- Recent Tickets --> | |
| <div class="bg-white rounded-lg shadow overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Support Tickets</h2> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-sm font-medium text-blue-600">#TKT-1001</span> | |
| <h3 class="font-medium">Website not loading</h3> | |
| </div> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-open">Open</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500"> | |
| <span>John Doe</span> | |
| <span class="mx-2">•</span> | |
| <span>2 hours ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-sm font-medium text-blue-600">#TKT-1000</span> | |
| <h3 class="font-medium">Email configuration issue</h3> | |
| </div> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-answered">Answered</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500"> | |
| <span>Jane Smith</span> | |
| <span class="mx-2">•</span> | |
| <span>1 day ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-sm font-medium text-blue-600">#TKT-999</span> | |
| <h3 class="font-medium">Billing question</h3> | |
| </div> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-pending">Pending</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500"> | |
| <span>Robert Johnson</span> | |
| <span class="mx-2">•</span> | |
| <span>2 days ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-3 border-t border-gray-200 bg-gray-50 text-right"> | |
| <a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-700" onclick="showSection('support')">View All Tickets</a> | |
| </div> | |
| </div> | |
| <!-- Recent Invoices --> | |
| <div class="bg-white rounded-lg shadow overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Invoices</h2> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-1001</span> | |
| <h3 class="font-medium">Web Hosting - Premium</h3> | |
| </div> | |
| <span class="text-red-600 font-medium">$99.00</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500"> | |
| <span>John Doe</span> | |
| <span class="mx-2">•</span> | |
| <span>Due: May 15, 2023</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-1000</span> | |
| <h3 class="font-medium">Dedicated Server</h3> | |
| </div> | |
| <span class="text-green-600 font-medium">$299.00</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500"> | |
| <span>Jane Smith</span> | |
| <span class="mx-2">•</span> | |
| <span>Paid: May 10, 2023</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-999</span> | |
| <h3 class="font-medium">SSL Certificate</h3> | |
| </div> | |
| <span class="text-red-600 font-medium">$49.00</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500"> | |
| <span>Robert Johnson</span> | |
| <span class="mx-2">•</span> | |
| <span>Due: May 5, 2023</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-3 border-t border-gray-200 bg-gray-50 text-right"> | |
| <a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-700" onclick="showSection('invoices')">View All Invoices</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Support Tickets Section --> | |
| <div id="support" class="section-content p-6 hidden"> | |
| <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> | |
| <div class="px-6 py-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="text-lg font-semibold text-gray-800">Support Tickets</h2> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> New Ticket | |
| </button> | |
| </div> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex flex-wrap items-center gap-4"> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>All Departments</option> | |
| <option>Technical Support</option> | |
| <option>Billing</option> | |
| <option>Sales</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>All Statuses</option> | |
| <option>Open</option> | |
| <option>Answered</option> | |
| <option>Closed</option> | |
| <option>Pending</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <div class="relative flex-1 min-w-[200px]"> | |
| <input type="text" placeholder="Search tickets..." class="block w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-search"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#TKT-1001</span> | |
| </div> | |
| <div class="col-span-4"> | |
| <h3 class="font-medium">Website not loading after migration</h3> | |
| <div class="text-sm text-gray-500 mt-1">John Doe</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-open">Open</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Technical Support</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="text-sm text-gray-500">2h ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#TKT-1000</span> | |
| </div> | |
| <div class="col-span-4"> | |
| <h3 class="font-medium">Email configuration issue with new domain</h3> | |
| <div class="text-sm text-gray-500 mt-1">Jane Smith</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-answered">Answered</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Technical Support</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="text-sm text-gray-500">1d ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#TKT-999</span> | |
| </div> | |
| <div class="col-span-4"> | |
| <h3 class="font-medium">Invoice payment extension request</h3> | |
| <div class="text-sm text-gray-500 mt-1">Robert Johnson</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-pending">Pending</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Billing</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="text-sm text-gray-500">2d ago</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#TKT-998</span> | |
| </div> | |
| <div class="col-span-4"> | |
| <h3 class="font-medium">Need help choosing a hosting plan</h3> | |
| <div class="text-sm text-gray-500 mt-1">Sarah Williams</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="px-2 py-1 text-xs rounded-full ticket-status-closed">Closed</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Sales</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="text-sm text-gray-500">3d ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-200 bg-gray-50 flex items-center justify-between"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">24</span> tickets | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-white bg-blue-600 hover:bg-blue-700"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Invoices Section --> | |
| <div id="invoices" class="section-content p-6 hidden"> | |
| <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> | |
| <div class="px-6 py-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="text-lg font-semibold text-gray-800">Invoices</h2> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Create Invoice | |
| </button> | |
| </div> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex flex-wrap items-center gap-4"> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>All Statuses</option> | |
| <option>Paid</option> | |
| <option>Unpaid</option> | |
| <option>Cancelled</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <div class="relative flex-1 min-w-[200px]"> | |
| <input type="text" placeholder="Search invoices..." class="block w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-search"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-1001</span> | |
| </div> | |
| <div class="col-span-3"> | |
| <h3 class="font-medium">Web Hosting - Premium</h3> | |
| <div class="text-sm text-gray-500 mt-1">John Doe</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">May 10, 2023</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">May 15, 2023</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="font-medium">$99.00</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-red-100 text-red-800">Unpaid</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-1000</span> | |
| </div> | |
| <div class="col-span-3"> | |
| <h3 class="font-medium">Dedicated Server</h3> | |
| <div class="text-sm text-gray-500 mt-1">Jane Smith</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">May 5, 2023</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">May 10, 2023</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="font-medium">$299.00</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Paid</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-999</span> | |
| </div> | |
| <div class="col-span-3"> | |
| <h3 class="font-medium">SSL Certificate</h3> | |
| <div class="text-sm text-gray-500 mt-1">Robert Johnson</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">May 1, 2023</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">May 5, 2023</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="font-medium">$49.00</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-red-100 text-red-800">Unpaid</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium text-blue-600">#INV-2023-998</span> | |
| </div> | |
| <div class="col-span-3"> | |
| <h3 class="font-medium">Domain Registration</h3> | |
| <div class="text-sm text-gray-500 mt-1">Sarah Williams</div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Apr 25, 2023</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Apr 30, 2023</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="font-medium">$14.99</span> | |
| </div> | |
| <div class="col-span-1 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Paid</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-200 bg-gray-50 flex items-center justify-between"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">12</span> invoices | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-white bg-blue-600 hover:bg-blue-700"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Clients Section --> | |
| <div id="clients" class="section-content p-6 hidden"> | |
| <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> | |
| <div class="px-6 py-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="text-lg font-semibold text-gray-800">Clients</h2> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Add Client | |
| </button> | |
| </div> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex flex-wrap items-center gap-4"> | |
| <div class="relative flex-1 min-w-[200px]"> | |
| <input type="text" placeholder="Search clients..." class="block w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-search"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-3 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold mr-3">JD</div> | |
| <div> | |
| <h3 class="font-medium">John Doe</h3> | |
| <div class="text-sm text-gray-500">john.doe@example.com</div> | |
| </div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">+1 (555) 123-4567</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">United States</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium">3 Active Services</span> | |
| </div> | |
| <div class="col-span-2 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Active</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-3 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold mr-3">JS</div> | |
| <div> | |
| <h3 class="font-medium">Jane Smith</h3> | |
| <div class="text-sm text-gray-500">jane.smith@example.com</div> | |
| </div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">+1 (555) 987-6543</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Canada</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium">1 Active Service</span> | |
| </div> | |
| <div class="col-span-2 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Active</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-3 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center text-white font-bold mr-3">RJ</div> | |
| <div> | |
| <h3 class="font-medium">Robert Johnson</h3> | |
| <div class="text-sm text-gray-500">robert.j@example.com</div> | |
| </div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">+44 20 1234 5678</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">United Kingdom</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium">2 Active Services</span> | |
| </div> | |
| <div class="col-span-2 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-yellow-100 text-yellow-800">Inactive</span> | |
| </div> | |
| </div> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center"> | |
| <div class="col-span-1"> | |
| <input type="checkbox" class="rounded text-blue-600 focus:ring-blue-500"> | |
| </div> | |
| <div class="col-span-3 flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-red-500 flex items-center justify-center text-white font-bold mr-3">SW</div> | |
| <div> | |
| <h3 class="font-medium">Sarah Williams</h3> | |
| <div class="text-sm text-gray-500">sarah.w@example.com</div> | |
| </div> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">+61 2 9876 5432</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm text-gray-500">Australia</span> | |
| </div> | |
| <div class="col-span-2"> | |
| <span class="text-sm font-medium">5 Active Services</span> | |
| </div> | |
| <div class="col-span-2 text-right"> | |
| <span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Active</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-200 bg-gray-50 flex items-center justify-between"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">1248</span> clients | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-white bg-blue-600 hover:bg-blue-700"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border rounded text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Services Section --> | |
| <div id="services" class="section-content p-6 hidden"> | |
| <div class="bg-white rounded-lg shadow overflow-hidden mb-6"> | |
| <div class="px-6 py-4 border-b border-gray-200 flex justify-between items-center"> | |
| <h2 class="text-lg font-semibold text-gray-800">Services</h2> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> Add Service | |
| </button> | |
| </div> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex flex-wrap items-center gap-4"> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>All Types</option> | |
| <option>Shared Hosting</option> | |
| <option>VPS</option> | |
| <option>Dedicated Server</option> | |
| <option>Domain</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <option>All Statuses</option> | |
| <option>Active</option> | |
| <option>Suspended</option> | |
| <option>Pending</option> | |
| <option>Cancelled</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <div class="relative flex-1 min-w-[200px]"> | |
| <input type="text" placeholder="Search services..." class="block w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-search"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="p-4 hover:bg-gray-50 cursor-pointer grid grid-cols-12 gap-4 items-center | |
| </html> |