asnanapp / index.html
refaatai's picture
undefined - Initial Deployment
85532ca verified
Raw History Blame Contribute Delete
81 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>DentaCare - Dental Clinic Management</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"> <script> tailwind.config = { theme: { extend: { colors: { dental: { primary: '#38bdf8', secondary: '#0ea5e9', dark: '#0369a1', light: '#bae6fd', } } } } } </script> <style> .tooth { width: 30px; height: 40px; border-radius: 50% 50% 0 0; position: relative; display: inline-block; margin: 2px; cursor: pointer; transition: all 0.3s; } .tooth:hover { transform: scale(1.1); } .tooth::after { content: ''; position: absolute; bottom: -5px; left: 5px; width: 20px; height: 10px; border-radius: 0 0 5px 5px; background: inherit; } .tooth.selected { box-shadow: 0 0 0 3px #f59e0b; } .chart-container { perspective: 1000px; } .dental-chart { transform-style: preserve-3d; transition: transform 1s; } .dental-chart.flipped { transform: rotateY(180deg); } .chart-front, .chart-back { backface-visibility: hidden; position: absolute; width: 100%; height: 100%; } .chart-back { transform: rotateY(180deg); } .sidebar { transition: all 0.3s ease; } @media (max-width: 768px) { .sidebar { transform: translateX(-100%); position: fixed; z-index: 50; height: 100vh; } .sidebar.open { transform: translateX(0); } } </style> </head> <body class="bg-gray-50 font-sans"> <!-- Login Page --> <div id="login-page" class="min-h-screen flex items-center justify-center bg-gradient-to-br from-dental-primary to-dental-dark p-4"> <div class="bg-white rounded-xl shadow-2xl p-8 w-full max-w-md"> <div class="text-center mb-8"> <i class="fas fa-tooth text-5xl text-dental-primary mb-4"></i> <h1 class="text-3xl font-bold text-gray-800">DentaCare</h1> <p class="text-gray-600">Dental Clinic Management System</p> </div> <form id="login-form" class="space-y-6"> <div> <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label> <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="your@email.com" required> </div> <div> <label for="password" class="block text-sm font-medium text-gray-700 mb-1">Password</label> <input type="password" id="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="••••••••" required> </div> <div class="flex items-center justify-between"> <div class="flex items-center"> <input id="remember-me" type="checkbox" class="h-4 w-4 text-dental-primary focus:ring-dental-primary border-gray-300 rounded"> <label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label> </div> <a href="#" class="text-sm text-dental-primary hover:text-dental-dark">Forgot password?</a> </div> <button type="submit" class="w-full bg-dental-primary hover:bg-dental-dark text-white font-medium py-2 px-4 rounded-lg transition duration-300 flex items-center justify-center"> <i class="fas fa-sign-in-alt mr-2"></i> Sign In </button> </form> <div class="mt-6 text-center"> <p class="text-sm text-gray-600">Don't have an account? <a href="#" id="show-signup" class="text-dental-primary hover:text-dental-dark font-medium">Sign up</a></p> </div> </div> </div> <!-- Signup Page (Hidden by default) --> <div id="signup-page" class="min-h-screen hidden items-center justify-center bg-gradient-to-br from-dental-primary to-dental-dark p-4"> <div class="bg-white rounded-xl shadow-2xl p-8 w-full max-w-md"> <div class="text-center mb-8"> <i class="fas fa-tooth text-5xl text-dental-primary mb-4"></i> <h1 class="text-3xl font-bold text-gray-800">Create Account</h1> <p class="text-gray-600">Join DentaCare Clinic Management</p> </div> <form id="signup-form" class="space-y-6"> <div class="grid grid-cols-2 gap-4"> <div> <label for="first-name" class="block text-sm font-medium text-gray-700 mb-1">First Name</label> <input type="text" id="first-name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="John" required> </div> <div> <label for="last-name" class="block text-sm font-medium text-gray-700 mb-1">Last Name</label> <input type="text" id="last-name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="Doe" required> </div> </div> <div> <label for="signup-email" class="block text-sm font-medium text-gray-700 mb-1">Email</label> <input type="email" id="signup-email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="your@email.com" required> </div> <div> <label for="signup-password" class="block text-sm font-medium text-gray-700 mb-1">Password</label> <input type="password" id="signup-password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="••••••••" required> </div> <div> <label for="confirm-password" class="block text-sm font-medium text-gray-700 mb-1">Confirm Password</label> <input type="password" id="confirm-password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="••••••••" required> </div> <div> <label for="role" class="block text-sm font-medium text-gray-700 mb-1">Role</label> <select id="role" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary"> <option value="dentist">Dentist</option> <option value="assistant">Dental Assistant</option> <option value="hygienist">Hygienist</option> <option value="admin">Administrator</option> </select> </div> <button type="submit" class="w-full bg-dental-primary hover:bg-dental-dark text-white font-medium py-2 px-4 rounded-lg transition duration-300 flex items-center justify-center"> <i class="fas fa-user-plus mr-2"></i> Create Account </button> </form> <div class="mt-6 text-center"> <p class="text-sm text-gray-600">Already have an account? <a href="#" id="show-login" class="text-dental-primary hover:text-dental-dark font-medium">Sign in</a></p> </div> </div> </div> <!-- Main App (Hidden by default) --> <div id="app-container" class="hidden"> <!-- Mobile Header --> <div class="bg-white shadow-sm lg:hidden fixed w-full z-40"> <div class="flex items-center justify-between px-4 py-3"> <button id="mobile-menu-button" class="text-gray-600 hover:text-dental-primary focus:outline-none"> <i class="fas fa-bars text-xl"></i> </button> <div class="flex items-center"> <h1 class="text-xl font-bold text-dental-dark ml-4">DentaCare</h1> </div> <div class="flex items-center"> <button id="user-menu-button" class="flex items-center text-gray-600 hover:text-dental-primary focus:outline-none"> <span class="mr-2 hidden sm:inline">Dr. Smith</span> <div class="w-8 h-8 rounded-full bg-dental-primary flex items-center justify-center text-white"> <i class="fas fa-user"></i> </div> </button> </div> </div> </div> <!-- Sidebar --> <div id="sidebar" class="sidebar bg-white w-64 min-h-screen fixed shadow-lg lg:shadow-none lg:relative z-30"> <div class="p-4 border-b border-gray-200 hidden lg:block"> <div class="flex items-center"> <i class="fas fa-tooth text-3xl text-dental-primary mr-2"></i> <h1 class="text-xl font-bold text-dental-dark">DentaCare</h1> </div> </div> <div class="p-4 border-b border-gray-200 flex items-center lg:hidden"> <button id="close-sidebar" class="text-gray-600 hover:text-dental-primary mr-4"> <i class="fas fa-times"></i> </button> <div class="flex items-center"> <h1 class="text-xl font-bold text-dental-dark">DentaCare</h1> </div> </div> <div class="p-4 border-b border-gray-200 flex items-center"> <div class="w-10 h-10 rounded-full bg-dental-primary flex items-center justify-center text-white mr-3"> <i class="fas fa-user"></i> </div> <div> <p class="font-medium text-gray-800">Dr. Smith</p> <p class="text-xs text-gray-500">Administrator</p> </div> </div> <nav class="p-4"> <ul class="space-y-2"> <li> <a href="#" class="dashboard-link flex items-center p-2 text-white rounded-lg bg-dental-primary group"> <i class="fas fa-tachometer-alt mr-3"></i> <span>Dashboard</span> </a> </li> <li> <a href="#" class="patients-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-users mr-3"></i> <span>Patients</span> </a> </li> <li> <a href="#" class="appointments-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-calendar-alt mr-3"></i> <span>Appointments</span> </a> </li> <li> <a href="#" class="treatments-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-teeth mr-3"></i> <span>Treatments</span> </a> </li> <li> <a href="#" class="charting-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-tooth mr-3"></i> <span>Dental Charting</span> </a> </li> <li> <a href="#" class="users-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-user-shield mr-3"></i> <span>User Management</span> </a> </li> <li> <a href="#" class="archive-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-archive mr-3"></i> <span>Archive</span> </a> </li> <li> <a href="#" class="ai-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-robot mr-3"></i> <span>AI Support</span> </a> </li> <li> <a href="#" class="reports-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-file-invoice-dollar mr-3"></i> <span>Reports & Receipts</span> </a> </li> <li> <a href="#" class="settings-link flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-cog mr-3"></i> <span>Settings</span> </a> </li> </ul> </nav> <div class="absolute bottom-0 left-0 right-0 p-4 border-t border-gray-200"> <a href="#" id="logout-btn" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg group"> <i class="fas fa-sign-out-alt mr-3"></i> <span>Logout</span> </a> </div> </div> <!-- Main Content --> <div class="lg:ml-64 pt-16 lg:pt-0"> <!-- Dashboard Content --> <div id="dashboard-content" class="p-6"> <div class="mb-6"> <h2 class="text-2xl font-bold text-gray-800">Dashboard</h2> <p class="text-gray-600">Welcome back, Dr. Smith</p> </div> <!-- Stats Cards --> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> <div class="bg-white rounded-lg shadow p-6 border-l-4 border-dental-primary"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Today's Appointments</p> <h3 class="text-2xl font-bold text-gray-800">12</h3> </div> <div class="p-3 rounded-full bg-dental-light text-dental-primary"> <i class="fas fa-calendar-day text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6 border-l-4 border-blue-500"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Total Patients</p> <h3 class="text-2xl font-bold text-gray-800">1,245</h3> </div> <div class="p-3 rounded-full bg-blue-100 text-blue-500"> <i class="fas fa-users text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6 border-l-4 border-green-500"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Completed Treatments</p> <h3 class="text-2xl font-bold text-gray-800">87</h3> </div> <div class="p-3 rounded-full bg-green-100 text-green-500"> <i class="fas fa-check-circle text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-6 border-l-4 border-yellow-500"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Monthly Revenue</p> <h3 class="text-2xl font-bold text-gray-800">$24,580</h3> </div> <div class="p-3 rounded-full bg-yellow-100 text-yellow-500"> <i class="fas fa-dollar-sign text-xl"></i> </div> </div> </div> </div> <!-- Upcoming Appointments --> <div class="bg-white rounded-lg shadow mb-6"> <div class="p-4 border-b border-gray-200"> <h3 class="font-medium text-gray-800">Upcoming Appointments</h3> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Patient</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Time</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Procedure</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">John Smith</div> <div class="text-sm text-gray-500">#PT-1001</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Today, 10:00 AM</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Root Canal</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Confirmed</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Sarah Johnson</div> <div class="text-sm text-gray-500">#PT-1024</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Today, 11:30 AM</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Teeth Cleaning</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Confirmed</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Michael Brown</div> <div class="text-sm text-gray-500">#PT-0987</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Today, 2:00 PM</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Dental Implant</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> </tbody> </table> </div> </div> <!-- Recent Patients --> <div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> <div class="bg-white rounded-lg shadow"> <div class="p-4 border-b border-gray-200"> <h3 class="font-medium text-gray-800">Recent Patients</h3> </div> <div class="divide-y divide-gray-200"> <div class="p-4 flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4 flex-1"> <div class="flex items-center justify-between"> <div class="text-sm font-medium text-gray-900">Emma Wilson</div> <div class="text-xs text-gray-500">2 days ago</div> </div> <div class="text-sm text-gray-500">New patient registration</div> </div> </div> <div class="p-4 flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4 flex-1"> <div class="flex items-center justify-between"> <div class="text-sm font-medium text-gray-900">Robert Garcia</div> <div class="text-xs text-gray-500">3 days ago</div> </div> <div class="text-sm text-gray-500">Follow-up appointment</div> </div> </div> <div class="p-4 flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4 flex-1"> <div class="flex items-center justify-between"> <div class="text-sm font-medium text-gray-900">Lisa Chen</div> <div class="text-xs text-gray-500">5 days ago</div> </div> <div class="text-sm text-gray-500">Emergency treatment</div> </div> </div> </div> </div> <!-- Treatment Statistics --> <div class="bg-white rounded-lg shadow"> <div class="p-4 border-b border-gray-200"> <h3 class="font-medium text-gray-800">Treatment Statistics</h3> </div> <div class="p-4"> <div class="mb-4"> <div class="flex items-center justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Teeth Cleaning</span> <span class="text-sm font-medium text-gray-700">45%</span> </div> <div class="w-full bg-gray-200 rounded-full h-2"> <div class="bg-dental-primary h-2 rounded-full" style="width: 45%"></div> </div> </div> <div class="mb-4"> <div class="flex items-center justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Fillings</span> <span class="text-sm font-medium text-gray-700">30%</span> </div> <div class="w-full bg-gray-200 rounded-full h-2"> <div class="bg-blue-500 h-2 rounded-full" style="width: 30%"></div> </div> </div> <div class="mb-4"> <div class="flex items-center justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Root Canals</span> <span class="text-sm font-medium text-gray-700">15%</span> </div> <div class="w-full bg-gray-200 rounded-full h-2"> <div class="bg-green-500 h-2 rounded-full" style="width: 15%"></div> </div> </div> <div class="mb-4"> <div class="flex items-center justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Extractions</span> <span class="text-sm font-medium text-gray-700">10%</span> </div> <div class="w-full bg-gray-200 rounded-full h-2"> <div class="bg-yellow-500 h-2 rounded-full" style="width: 10%"></div> </div> </div> </div> </div> </div> </div> <!-- Patients Content (Hidden by default) --> <div id="patients-content" class="p-6 hidden"> <div class="mb-6 flex justify-between items-center"> <div> <h2 class="text-2xl font-bold text-gray-800">Patients</h2> <p class="text-gray-600">Manage your patient records</p> </div> <button class="bg-dental-primary hover:bg-dental-dark text-white font-medium py-2 px-4 rounded-lg transition duration-300 flex items-center"> <i class="fas fa-plus mr-2"></i> Add New Patient </button> </div> <!-- Patient Search and Filters --> <div class="bg-white rounded-lg shadow p-4 mb-6"> <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> <div> <label class="block text-sm font-medium text-gray-700 mb-1">Search</label> <div class="relative"> <input type="text" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="Search patients..."> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> </div> </div> <div> <label class="block text-sm font-medium text-gray-700 mb-1">Status</label> <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary"> <option>All Patients</option> <option>Active</option> <option>Inactive</option> <option>New</option> </select> </div> <div> <label class="block text-sm font-medium text-gray-700 mb-1">Last Visit</label> <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary"> <option>Any Time</option> <option>Last 7 Days</option> <option>Last 30 Days</option> <option>Last 6 Months</option> <option>Last Year</option> </select> </div> </div> </div> <!-- Patients Table --> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center"> <h3 class="font-medium text-gray-800">Patient Records</h3> <div class="flex items-center"> <span class="text-sm text-gray-500 mr-3">1-10 of 1,245</span> <button class="p-1 rounded-md bg-gray-100 text-gray-500 hover:bg-gray-200 mr-1"> <i class="fas fa-chevron-left"></i> </button> <button class="p-1 rounded-md bg-gray-100 text-gray-500 hover:bg-gray-200"> <i class="fas fa-chevron-right"></i> </button> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Patient</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Contact</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Last Visit</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">John Smith</div> <div class="text-sm text-gray-500">#PT-1001</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">john@example.com</div> <div class="text-sm text-gray-500">(555) 123-4567</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">May 15, 2023</div> <div class="text-sm text-gray-500">Teeth Cleaning</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Sarah Johnson</div> <div class="text-sm text-gray-500">#PT-1024</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">sarah@example.com</div> <div class="text-sm text-gray-500">(555) 987-6543</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">May 10, 2023</div> <div class="text-sm text-gray-500">Dental Checkup</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Michael Brown</div> <div class="text-sm text-gray-500">#PT-0987</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">michael@example.com</div> <div class="text-sm text-gray-500">(555) 456-7890</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">April 28, 2023</div> <div class="text-sm text-gray-500">Tooth Extraction</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Follow-up Needed</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Emma Wilson</div> <div class="text-sm text-gray-500">#PT-1123</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">emma@example.com</div> <div class="text-sm text-gray-500">(555) 789-0123</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">April 15, 2023</div> <div class="text-sm text-gray-500">Root Canal</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary"> <i class="fas fa-user"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Robert Garcia</div> <div class="text-sm text-gray-500">#PT-1056</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">robert@example.com</div> <div class="text-sm text-gray-500">(555) 234-5678</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">March 30, 2023</div> <div class="text-sm text-gray-500">Dental Implant</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">In Treatment</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Appointments Content (Hidden by default) --> <div id="appointments-content" class="p-6 hidden"> <div class="mb-6 flex justify-between items-center"> <div> <h2 class="text-2xl font-bold text-gray-800">Appointments</h2> <p class="text-gray-600">Schedule and manage patient appointments</p> </div> <button class="bg-dental-primary hover:bg-dental-dark text-white font-medium py-2 px-4 rounded-lg transition duration-300 flex items-center"> <i class="fas fa-plus mr-2"></i> New Appointment </button> </div> <!-- Calendar View --> <div class="bg-white rounded-lg shadow mb-6"> <div class="p-4 border-b border-gray-200 flex justify-between items-center"> <div class="flex items-center"> <button class="p-2 rounded-md bg-gray-100 text-gray-500 hover:bg-gray-200 mr-2"> <i class="fas fa-chevron-left"></i> </button> <h3 class="font-medium text-gray-800">May 2023</h3> <button class="p-2 rounded-md bg-gray-100 text-gray-500 hover:bg-gray-200 ml-2"> <i class="fas fa-chevron-right"></i> </button> </div> <div class="flex items-center"> <button class="px-3 py-1 text-sm rounded-md bg-gray-100 text-gray-700 hover:bg-gray-200 mr-2">Day</button> <button class="px-3 py-1 text-sm rounded-md bg-gray-100 text-gray-700 hover:bg-gray-200 mr-2">Week</button> <button class="px-3 py-1 text-sm rounded-md bg-dental-primary text-white">Month</button> </div> </div> <div class="p-4"> <div class="grid grid-cols-7 gap-1 mb-2"> <div class="text-center text-sm font-medium text-gray-500 py-2">Sun</div> <div class="text-center text-sm font-medium text-gray-500 py-2">Mon</div> <div class="text-center text-sm font-medium text-gray-500 py-2">Tue</div> <div class="text-center text-sm font-medium text-gray-500 py-2">Wed</div> <div class="text-center text-sm font-medium text-gray-500 py-2">Thu</div> <div class="text-center text-sm font-medium text-gray-500 py-2">Fri</div> <div class="text-center text-sm font-medium text-gray-500 py-2">Sat</div> </div> <div class="grid grid-cols-7 gap-1"> <!-- Calendar days would be generated dynamically in a real app --> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">30</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">1</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">2</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">3</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">4</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">5</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">6</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">7</div> </div> <div class="h-24 border border-gray-200 p-1 bg-dental-light"> <div class="text-right text-sm">8</div> <div class="text-xs mt-1 p-1 bg-dental-primary text-white rounded">10:00 AM - John Smith</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">9</div> </div> <div class="h-24 border border-gray-200 p-1 bg-dental-light"> <div class="text-right text-sm">10</div> <div class="text-xs mt-1 p-1 bg-dental-primary text-white rounded">11:30 AM - Sarah Johnson</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">11</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">12</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">13</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">14</div> </div> <div class="h-24 border border-gray-200 p-1 bg-dental-light"> <div class="text-right text-sm">15</div> <div class="text-xs mt-1 p-1 bg-dental-primary text-white rounded">2:00 PM - Michael Brown</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">16</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">17</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">18</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">19</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">20</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">21</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">22</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">23</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">24</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">25</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">26</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">27</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">28</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">29</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">30</div> </div> <div class="h-24 border border-gray-200 p-1"> <div class="text-right text-sm">31</div> </div> </div> </div> </div> <!-- Appointments List --> <div class="bg-white rounded-lg shadow"> <div class="p-4 border-b border-gray-200"> <h3 class="font-medium text-gray-800">Upcoming Appointments</h3> </div> <div class="divide-y divide-gray-200"> <div class="p-4 flex items-start"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary mt-1"> <i class="fas fa-user"></i> </div> <div class="ml-4 flex-1"> <div class="flex items-center justify-between"> <div> <h4 class="text-sm font-medium text-gray-900">John Smith</h4> <p class="text-sm text-gray-500">#PT-1001</p> </div> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Confirmed</span> </div> <div class="mt-1 flex items-center text-sm text-gray-500"> <i class="fas fa-calendar-alt mr-2"></i> <span>May 15, 2023 • 10:00 AM - 11:00 AM</span> </div> <div class="mt-1 flex items-center text-sm text-gray-500"> <i class="fas fa-tooth mr-2"></i> <span>Root Canal Treatment</span> </div> <div class="mt-2 flex"> <button class="text-xs bg-dental-primary text-white px-2 py-1 rounded mr-2">Check In</button> <button class="text-xs bg-blue-500 text-white px-2 py-1 rounded mr-2">Reschedule</button> <button class="text-xs bg-red-500 text-white px-2 py-1 rounded">Cancel</button> </div> </div> </div> <div class="p-4 flex items-start"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary mt-1"> <i class="fas fa-user"></i> </div> <div class="ml-4 flex-1"> <div class="flex items-center justify-between"> <div> <h4 class="text-sm font-medium text-gray-900">Sarah Johnson</h4> <p class="text-sm text-gray-500">#PT-1024</p> </div> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Confirmed</span> </div> <div class="mt-1 flex items-center text-sm text-gray-500"> <i class="fas fa-calendar-alt mr-2"></i> <span>May 15, 2023 • 11:30 AM - 12:00 PM</span> </div> <div class="mt-1 flex items-center text-sm text-gray-500"> <i class="fas fa-tooth mr-2"></i> <span>Teeth Cleaning</span> </div> <div class="mt-2 flex"> <button class="text-xs bg-dental-primary text-white px-2 py-1 rounded mr-2">Check In</button> <button class="text-xs bg-blue-500 text-white px-2 py-1 rounded mr-2">Reschedule</button> <button class="text-xs bg-red-500 text-white px-2 py-1 rounded">Cancel</button> </div> </div> </div> <div class="p-4 flex items-start"> <div class="flex-shrink-0 h-10 w-10 rounded-full bg-dental-light flex items-center justify-center text-dental-primary mt-1"> <i class="fas fa-user"></i> </div> <div class="ml-4 flex-1"> <div class="flex items-center justify-between"> <div> <h4 class="text-sm font-medium text-gray-900">Michael Brown</h4> <p class="text-sm text-gray-500">#PT-0987</p> </div> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span> </div> <div class="mt-1 flex items-center text-sm text-gray-500"> <i class="fas fa-calendar-alt mr-2"></i> <span>May 15, 2023 • 2:00 PM - 3:30 PM</span> </div> <div class="mt-1 flex items-center text-sm text-gray-500"> <i class="fas fa-tooth mr-2"></i> <span>Dental Implant</span> </div> <div class="mt-2 flex"> <button class="text-xs bg-gray-300 text-gray-700 px-2 py-1 rounded mr-2">Confirm</button> <button class="text-xs bg-blue-500 text-white px-2 py-1 rounded mr-2">Reschedule</button> <button class="text-xs bg-red-500 text-white px-2 py-1 rounded">Cancel</button> </div> </div> </div> </div> </div> </div> <!-- Treatments Content (Hidden by default) --> <div id="treatments-content" class="p-6 hidden"> <div class="mb-6 flex justify-between items-center"> <div> <h2 class="text-2xl font-bold text-gray-800">Treatments</h2> <p class="text-gray-600">Manage dental treatments and procedures</p> </div> <button class="bg-dental-primary hover:bg-dental-dark text-white font-medium py-2 px-4 rounded-lg transition duration-300 flex items-center"> <i class="fas fa-plus mr-2"></i> Add Treatment </button> </div> <!-- Treatment Categories --> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-6"> <div class="bg-white rounded-lg shadow p-4 border-l-4 border-dental-primary"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Preventive</p> <h3 class="text-xl font-bold text-gray-800">15</h3> </div> <div class="p-3 rounded-full bg-dental-light text-dental-primary"> <i class="fas fa-shield-alt text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-4 border-l-4 border-blue-500"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Restorative</p> <h3 class="text-xl font-bold text-gray-800">28</h3> </div> <div class="p-3 rounded-full bg-blue-100 text-blue-500"> <i class="fas fa-teeth text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-4 border-l-4 border-green-500"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Cosmetic</p> <h3 class="text-xl font-bold text-gray-800">12</h3> </div> <div class="p-3 rounded-full bg-green-100 text-green-500"> <i class="fas fa-smile text-xl"></i> </div> </div> </div> <div class="bg-white rounded-lg shadow p-4 border-l-4 border-purple-500"> <div class="flex items-center justify-between"> <div> <p class="text-gray-500">Surgical</p> <h3 class="text-xl font-bold text-gray-800">9</h3> </div> <div class="p-3 rounded-full bg-purple-100 text-purple-500"> <i class="fas fa-syringe text-xl"></i> </div> </div> </div> </div> <!-- Treatments Table --> <div class="bg-white rounded-lg shadow overflow-hidden"> <div class="p-4 border-b border-gray-200 flex justify-between items-center"> <h3 class="font-medium text-gray-800">Treatment Procedures</h3> <div class="relative"> <input type="text" class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="Search treatments..."> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <i class="fas fa-search text-gray-400"></i> </div> </div> </div> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Treatment</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Category</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Duration</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Price</th> <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">Teeth Cleaning</div> <div class="text-sm text-gray-500">#TR-001</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Preventive</span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">30 min</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">$75</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">Tooth Filling</div> <div class="text-sm text-gray-500">#TR-002</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Restorative</span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">45 min</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">$150</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">Root Canal</div> <div class="text-sm text-gray-500">#TR-005</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Restorative</span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">90 min</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">$800</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">Teeth Whitening</div> <div class="text-sm text-gray-500">#TR-008</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Cosmetic</span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">60 min</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">$350</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm font-medium text-gray-900">Tooth Extraction</div> <div class="text-sm text-gray-500">#TR-012</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Surgical</span> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">30 min</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">$200</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-dental-primary hover:text-dental-dark mr-3"><i class="fas fa-eye"></i></button> <button class="text-blue-500 hover:text-blue-700 mr-3"><i class="fas fa-edit"></i></button> <button class="text-red-500 hover:text-red-700"><i class="fas fa-trash"></i></button> </td> </tr> </tbody> </table> </div> <div class="p-4 border-t border-gray-200 flex justify-between items-center"> <span class="text-sm text-gray-500">Showing 1 to 5 of 64 treatments</span> <div class="flex"> <button class="px-3 py-1 rounded-md bg-gray-100 text-gray-700 hover:bg-gray-200 mr-2">Previous</button> <button class="px-3 py-1 rounded-md bg-dental-primary text-white">Next</button> </div> </div> </div> </div> <!-- Dental Charting Content (Hidden by default) --> <div id="charting-content" class="p-6 hidden"> <div class="mb-6"> <h2 class="text-2xl font-bold text-gray-800">Dental Charting</h2> <p class="text-gray-600">Interactive dental chart for patient records</p> </div> <!-- Patient Selector --> <div class="bg-white rounded-lg shadow p-4 mb-6"> <div class="flex flex-col md:flex-row md:items-center md:justify-between"> <div class="mb-4 md:mb-0 md:w-1/2"> <label class="block text-sm font-medium text-gray-700 mb-1">Select Patient</label> <div class="relative"> <input type="text" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="Search patient..."> <div class="absolute <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=refaatai/asnanapp" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> </html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DentaCare - Dental Clinic Management</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">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
dental: {
primary: '#38bdf8',
secondary: '#0ea5e9',
dark: '#0369a1',
light: '#bae6fd',
}
}
}
}
}
</script>
<style>
.tooth {
width: 30px;
height: 40px;
border-radius: 50% 50% 0 0;
position: relative;
display: inline-block;
margin: 2px;
cursor: pointer;
transition: all 0.3s;
}
.tooth:hover {
transform: scale(1.1);
}
.tooth::after {
content: '';
position: absolute;
bottom: -5px;
left: 5px;
width: 20px;
height: 10px;
border-radius: 0 0 5px 5px;
background: inherit;
}
.tooth.selected {
box-shadow: 0 0 0 3px #f59e0b;
}
.chart-container {
perspective: 1000px;
}
.dental-chart {
transform-style: preserve-3d;
transition: transform 1s;
}
.dental-chart.flipped {
transform: rotateY(180deg);
}
.chart-front, .chart-back {
backface-visibility: hidden;
position: absolute;
width: 100%;
height: 100%;
}
.chart-back {
transform: rotateY(180deg);
}
.sidebar {
transition: all 0.3s ease;
}
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
position: fixed;
z-index: 50;
height: 100vh;
}
.sidebar.open {
transform: translateX(0);
}
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Login Page -->
<div id="login-page" class="min-h-screen flex items-center justify-center bg-gradient-to-br from-dental-primary to-dental-dark p-4">
<div class="bg-white rounded-xl shadow-2xl p-8 w-full max-w-md">
<div class="text-center mb-8">
<i class="fas fa-tooth text-5xl text-dental-primary mb-4"></i>
<h1 class="text-3xl font-bold text-gray-800">DentaCare</h1>
<p class="text-gray-600">Dental Clinic Management System</p>
</div>
<form id="login-form" class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-dental-primary focus:border-dental-primary" placeholder="your@email.com" required>
</div>