Added dashboard template sample
This commit is contained in:
parent
e38122209c
commit
bd64fffa16
@ -13,6 +13,7 @@ $routes->post('/register', 'Auth::registerProcess');
|
|||||||
|
|
||||||
$routes->get('/logout', 'Auth::logout');
|
$routes->get('/logout', 'Auth::logout');
|
||||||
$routes->get('/admin/dashboard', 'Admin::dashboard');
|
$routes->get('/admin/dashboard', 'Admin::dashboard');
|
||||||
|
$routes->get('/admin/overview', 'Admin::overview');
|
||||||
$routes->get('/admin/doctors', 'Admin::doctors');
|
$routes->get('/admin/doctors', 'Admin::doctors');
|
||||||
$routes->get('/admin/doctors/add', 'Admin::addDoctor');
|
$routes->get('/admin/doctors/add', 'Admin::addDoctor');
|
||||||
$routes->post('/admin/doctors/add', 'Admin::storeDoctor');
|
$routes->post('/admin/doctors/add', 'Admin::storeDoctor');
|
||||||
|
|||||||
@ -25,6 +25,17 @@ class Admin extends BaseController
|
|||||||
|
|
||||||
return view('admin/dashboard', $data);
|
return view('admin/dashboard', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function overview()
|
||||||
|
{
|
||||||
|
if ($r = $this->requireRole('admin')) {
|
||||||
|
return $r;
|
||||||
|
}
|
||||||
|
|
||||||
|
$data=[];
|
||||||
|
|
||||||
|
return view('admin/overview', $data);
|
||||||
|
}
|
||||||
public function doctors()
|
public function doctors()
|
||||||
{
|
{
|
||||||
if ($r = $this->requireRole('admin')) {
|
if ($r = $this->requireRole('admin')) {
|
||||||
|
|||||||
588
app/Views/admin/overview.php
Normal file
588
app/Views/admin/overview.php
Normal file
@ -0,0 +1,588 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Admin Overview</title>
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||||
|
<link rel="stylesheet" href="<?= base_url('css/app.css') ?>">
|
||||||
|
<style>
|
||||||
|
:root {
|
||||||
|
--sidebar-width: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.overview-layout {
|
||||||
|
min-height: 100vh;
|
||||||
|
background: #f0fdfa;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sidebar */
|
||||||
|
.ov-sidebar {
|
||||||
|
width: var(--sidebar-width);
|
||||||
|
min-height: 100vh;
|
||||||
|
background: linear-gradient(180deg, #0f766e 0%, #134e4a 100%);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-shrink: 0;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-sidebar__brand {
|
||||||
|
padding: 1.5rem 1.25rem 1rem;
|
||||||
|
border-bottom: 1px solid rgba(255,255,255,0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-sidebar__brand h1 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #fff;
|
||||||
|
margin: 0;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-sidebar__brand span {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: rgba(255,255,255,0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-nav {
|
||||||
|
padding: 1rem 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-nav__label {
|
||||||
|
font-size: 0.68rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: rgba(255,255,255,0.4);
|
||||||
|
padding: 0.75rem 1.25rem 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-nav__link {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.65rem;
|
||||||
|
padding: 0.6rem 1.25rem;
|
||||||
|
color: rgba(255,255,255,0.8);
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 0.88rem;
|
||||||
|
font-weight: 500;
|
||||||
|
border-left: 3px solid transparent;
|
||||||
|
transition: all 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-nav__link:hover {
|
||||||
|
background: rgba(255,255,255,0.08);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-nav__link.active {
|
||||||
|
background: rgba(255,255,255,0.12);
|
||||||
|
color: #fff;
|
||||||
|
border-left-color: #5eead4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-nav__link i {
|
||||||
|
font-size: 1rem;
|
||||||
|
opacity: 0.85;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-sidebar__footer {
|
||||||
|
padding: 1rem 1.25rem;
|
||||||
|
border-top: 1px solid rgba(255,255,255,0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-sidebar__footer a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
color: rgba(255,255,255,0.65);
|
||||||
|
font-size: 0.85rem;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-sidebar__footer a:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Main content */
|
||||||
|
.ov-main {
|
||||||
|
margin-left: var(--sidebar-width);
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Topbar */
|
||||||
|
.ov-topbar {
|
||||||
|
background: #fff;
|
||||||
|
border-bottom: 1px solid rgba(153, 246, 232, 0.7);
|
||||||
|
padding: 0.85rem 1.75rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 50;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-topbar__title {
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.05rem;
|
||||||
|
color: #134e4a;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-topbar__right {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-avatar {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: linear-gradient(135deg, #0d9488, #0f766e);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-topbar__admin-name {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #134e4a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page content */
|
||||||
|
.ov-content {
|
||||||
|
padding: 1.75rem;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stat cards */
|
||||||
|
.ov-stat {
|
||||||
|
border-radius: 14px;
|
||||||
|
padding: 1.4rem 1.5rem;
|
||||||
|
border: none;
|
||||||
|
box-shadow: 0 0.5rem 1.25rem rgba(15,23,42,0.07);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-stat__icon {
|
||||||
|
width: 52px;
|
||||||
|
height: 52px;
|
||||||
|
border-radius: 12px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-stat__label {
|
||||||
|
font-size: 0.78rem;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
opacity: 0.7;
|
||||||
|
margin-bottom: 0.15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-stat__value {
|
||||||
|
font-size: 2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Section panels */
|
||||||
|
.ov-panel {
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 14px;
|
||||||
|
box-shadow: 0 0.5rem 1.25rem rgba(15,23,42,0.07);
|
||||||
|
border: 1px solid rgba(153,246,232,0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-panel__header {
|
||||||
|
padding: 1rem 1.25rem;
|
||||||
|
border-bottom: 1px solid rgba(153,246,232,0.5);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-panel__title {
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: #0f766e;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-panel__body {
|
||||||
|
padding: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Quick action cards */
|
||||||
|
.ov-action {
|
||||||
|
border-radius: 12px;
|
||||||
|
border: 2px solid #ccfbf1;
|
||||||
|
background: #f0fdfa;
|
||||||
|
padding: 1.1rem 1rem;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #0f766e;
|
||||||
|
display: block;
|
||||||
|
transition: all 0.15s ease;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-action:hover {
|
||||||
|
border-color: #0d9488;
|
||||||
|
background: #ccfbf1;
|
||||||
|
color: #0f766e;
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 12px rgba(13,148,136,0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-action i {
|
||||||
|
display: block;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
margin-bottom: 0.4rem;
|
||||||
|
color: #0d9488;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mini table */
|
||||||
|
.ov-mini-table th {
|
||||||
|
background: #f0fdfa;
|
||||||
|
color: #0f766e;
|
||||||
|
font-size: 0.78rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
border-color: #ccfbf1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-mini-table td {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: #134e4a;
|
||||||
|
border-color: #f0fdfa;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-badge {
|
||||||
|
font-size: 0.72rem;
|
||||||
|
font-weight: 600;
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 0.2em 0.65em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Activity feed */
|
||||||
|
.ov-activity-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 0.75rem;
|
||||||
|
padding: 0.65rem 0;
|
||||||
|
border-bottom: 1px solid #f0fdfa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-activity-item:last-child {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-activity-dot {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-top: 0.3rem;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-activity-text {
|
||||||
|
font-size: 0.83rem;
|
||||||
|
color: #134e4a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-activity-time {
|
||||||
|
font-size: 0.72rem;
|
||||||
|
color: #5f7a78;
|
||||||
|
margin-top: 0.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.ov-sidebar { display: none; }
|
||||||
|
.ov-main { margin-left: 0; }
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body class="app-body overview-layout">
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
<aside class="ov-sidebar">
|
||||||
|
<div class="ov-sidebar__brand">
|
||||||
|
<h1><i class="bi bi-hospital me-1"></i> MedAdmin</h1>
|
||||||
|
<span>Control Panel</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<nav class="ov-nav">
|
||||||
|
<div class="ov-nav__label">Main</div>
|
||||||
|
<a href="#" class="ov-nav__link active">
|
||||||
|
<i class="bi bi-grid-1x2-fill"></i> Overview
|
||||||
|
</a>
|
||||||
|
<a href="#" class="ov-nav__link">
|
||||||
|
<i class="bi bi-speedometer2"></i> Dashboard
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<div class="ov-nav__label mt-2">Manage</div>
|
||||||
|
<a href="#" class="ov-nav__link">
|
||||||
|
<i class="bi bi-person-badge"></i> Doctors
|
||||||
|
</a>
|
||||||
|
<a href="#" class="ov-nav__link">
|
||||||
|
<i class="bi bi-people"></i> Patients
|
||||||
|
</a>
|
||||||
|
<a href="#" class="ov-nav__link">
|
||||||
|
<i class="bi bi-calendar2-check"></i> Appointments
|
||||||
|
</a>
|
||||||
|
<a href="#" class="ov-nav__link">
|
||||||
|
<i class="bi bi-person-plus"></i> Add Doctor
|
||||||
|
</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="ov-sidebar__footer">
|
||||||
|
<a href="#">
|
||||||
|
<i class="bi bi-box-arrow-left"></i> Logout
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<!-- Main -->
|
||||||
|
<div class="ov-main">
|
||||||
|
|
||||||
|
<!-- Topbar -->
|
||||||
|
<header class="ov-topbar">
|
||||||
|
<p class="ov-topbar__title">Overview</p>
|
||||||
|
<div class="ov-topbar__right">
|
||||||
|
<div class="ov-avatar">A</div>
|
||||||
|
<span class="ov-topbar__admin-name">Admin</span>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Content -->
|
||||||
|
<main class="ov-content">
|
||||||
|
|
||||||
|
<!-- Stat cards -->
|
||||||
|
<div class="row g-3 mb-4">
|
||||||
|
<div class="col-sm-6 col-xl-3">
|
||||||
|
<div class="ov-stat" style="background: linear-gradient(135deg, #ccfbf1, #f0fdfa);">
|
||||||
|
<div class="ov-stat__icon" style="background: rgba(13,148,136,0.12); color: #0d9488;">
|
||||||
|
<i class="bi bi-person-badge-fill"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-stat__label" style="color: #0f766e;">Doctors</div>
|
||||||
|
<p class="ov-stat__value" style="color: #0f766e;">12</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-6 col-xl-3">
|
||||||
|
<div class="ov-stat" style="background: linear-gradient(135deg, #dbeafe, #eff6ff);">
|
||||||
|
<div class="ov-stat__icon" style="background: rgba(37,99,235,0.1); color: #2563eb;">
|
||||||
|
<i class="bi bi-people-fill"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-stat__label" style="color: #1d4ed8;">Patients</div>
|
||||||
|
<p class="ov-stat__value" style="color: #1d4ed8;">48</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-6 col-xl-3">
|
||||||
|
<div class="ov-stat" style="background: linear-gradient(135deg, #fef3c7, #fffbeb);">
|
||||||
|
<div class="ov-stat__icon" style="background: rgba(217,119,6,0.1); color: #d97706;">
|
||||||
|
<i class="bi bi-calendar2-check-fill"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-stat__label" style="color: #92400e;">Appointments</div>
|
||||||
|
<p class="ov-stat__value" style="color: #92400e;">134</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-6 col-xl-3">
|
||||||
|
<div class="ov-stat" style="background: linear-gradient(135deg, #fce7f3, #fdf2f8);">
|
||||||
|
<div class="ov-stat__icon" style="background: rgba(219,39,119,0.1); color: #db2777;">
|
||||||
|
<i class="bi bi-activity"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-stat__label" style="color: #9d174d;">Active Today</div>
|
||||||
|
<p class="ov-stat__value" style="color: #9d174d;">7</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Quick actions + Activity -->
|
||||||
|
<div class="row g-3 mb-4">
|
||||||
|
|
||||||
|
<!-- Quick actions -->
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="ov-panel h-100">
|
||||||
|
<div class="ov-panel__header">
|
||||||
|
<h2 class="ov-panel__title"><i class="bi bi-lightning-fill me-1"></i>Quick Actions</h2>
|
||||||
|
</div>
|
||||||
|
<div class="ov-panel__body">
|
||||||
|
<div class="row g-2">
|
||||||
|
<div class="col-6">
|
||||||
|
<a href="#" class="ov-action">
|
||||||
|
<i class="bi bi-person-plus-fill"></i> Add Doctor
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
|
<a href="#" class="ov-action">
|
||||||
|
<i class="bi bi-person-lines-fill"></i> View Doctors
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
|
<a href="#" class="ov-action">
|
||||||
|
<i class="bi bi-people-fill"></i> View Patients
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
|
<a href="#" class="ov-action">
|
||||||
|
<i class="bi bi-calendar2-week-fill"></i> Appointments
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Activity feed -->
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="ov-panel h-100">
|
||||||
|
<div class="ov-panel__header">
|
||||||
|
<h2 class="ov-panel__title"><i class="bi bi-clock-history me-1"></i>Recent Activity</h2>
|
||||||
|
</div>
|
||||||
|
<div class="ov-panel__body">
|
||||||
|
<div class="ov-activity-item">
|
||||||
|
<div class="ov-activity-dot" style="background: #10b981;"></div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-activity-text"><strong>Sarah Johnson</strong> booked with <strong>Dr. Alan Carter</strong> <span class="ov-badge ms-1 bg-success">Approved</span></div>
|
||||||
|
<div class="ov-activity-time">2026-04-06 09:00</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="ov-activity-item">
|
||||||
|
<div class="ov-activity-dot" style="background: #f59e0b;"></div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-activity-text"><strong>Mark Evans</strong> booked with <strong>Dr. Priya Nair</strong> <span class="ov-badge ms-1 bg-warning text-dark">Pending</span></div>
|
||||||
|
<div class="ov-activity-time">2026-04-06 10:30</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="ov-activity-item">
|
||||||
|
<div class="ov-activity-dot" style="background: #ef4444;"></div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-activity-text"><strong>Lisa Ray</strong> booked with <strong>Dr. James White</strong> <span class="ov-badge ms-1 bg-danger">Rejected</span></div>
|
||||||
|
<div class="ov-activity-time">2026-04-05 14:00</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="ov-activity-item">
|
||||||
|
<div class="ov-activity-dot" style="background: #10b981;"></div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-activity-text"><strong>Tom Harris</strong> booked with <strong>Dr. Alan Carter</strong> <span class="ov-badge ms-1 bg-success">Approved</span></div>
|
||||||
|
<div class="ov-activity-time">2026-04-05 11:00</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="ov-activity-item">
|
||||||
|
<div class="ov-activity-dot" style="background: #f59e0b;"></div>
|
||||||
|
<div>
|
||||||
|
<div class="ov-activity-text"><strong>Nina Patel</strong> booked with <strong>Dr. Priya Nair</strong> <span class="ov-badge ms-1 bg-warning text-dark">Pending</span></div>
|
||||||
|
<div class="ov-activity-time">2026-04-04 16:15</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Doctors table + Patients table -->
|
||||||
|
<div class="row g-3">
|
||||||
|
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<div class="ov-panel">
|
||||||
|
<div class="ov-panel__header">
|
||||||
|
<h2 class="ov-panel__title"><i class="bi bi-person-badge me-1"></i>Doctors</h2>
|
||||||
|
<a href="#" class="btn btn-sm btn-app-outline px-3">View all</a>
|
||||||
|
</div>
|
||||||
|
<div class="ov-panel__body p-0">
|
||||||
|
<table class="table ov-mini-table mb-0">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="ps-3">#</th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Specialization</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td class="ps-3">1</td><td>Dr. Alan Carter</td><td>Cardiology</td></tr>
|
||||||
|
<tr><td class="ps-3">2</td><td>Dr. Priya Nair</td><td>Dermatology</td></tr>
|
||||||
|
<tr><td class="ps-3">3</td><td>Dr. James White</td><td>Neurology</td></tr>
|
||||||
|
<tr><td class="ps-3">4</td><td>Dr. Maria Lopez</td><td>Pediatrics</td></tr>
|
||||||
|
<tr><td class="ps-3">5</td><td>Dr. Chen Wei</td><td>Orthopedics</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<div class="ov-panel">
|
||||||
|
<div class="ov-panel__header">
|
||||||
|
<h2 class="ov-panel__title"><i class="bi bi-people me-1"></i>Patients</h2>
|
||||||
|
<a href="#" class="btn btn-sm btn-app-outline px-3">View all</a>
|
||||||
|
</div>
|
||||||
|
<div class="ov-panel__body p-0">
|
||||||
|
<table class="table ov-mini-table mb-0">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="ps-3">#</th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Phone</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td class="ps-3">1</td><td>Sarah Johnson</td><td>+1 555-0101</td></tr>
|
||||||
|
<tr><td class="ps-3">2</td><td>Mark Evans</td><td>+1 555-0182</td></tr>
|
||||||
|
<tr><td class="ps-3">3</td><td>Lisa Ray</td><td>+1 555-0234</td></tr>
|
||||||
|
<tr><td class="ps-3">4</td><td>Tom Harris</td><td>+1 555-0317</td></tr>
|
||||||
|
<tr><td class="ps-3">5</td><td>Nina Patel</td><td>+1 555-0459</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user