update
This commit is contained in:
parent
bd64fffa16
commit
5196c74555
@ -9,111 +9,115 @@
|
|||||||
<link rel="stylesheet" href="<?= base_url('css/app.css') ?>">
|
<link rel="stylesheet" href="<?= base_url('css/app.css') ?>">
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--sidebar-width: 240px;
|
--sidebar-width: 230px;
|
||||||
|
--sidebar-bg: #1e293b;
|
||||||
|
--sidebar-text: #94a3b8;
|
||||||
|
--sidebar-text-active: #f1f5f9;
|
||||||
|
--topbar-bg: #ffffff;
|
||||||
|
--page-bg: #f8fafc;
|
||||||
|
--border: #e2e8f0;
|
||||||
|
--text: #1e293b;
|
||||||
|
--text-muted: #64748b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
|
||||||
body.overview-layout {
|
body.overview-layout {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: #f0fdfa;
|
background: var(--page-bg);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
|
||||||
|
color: var(--text);
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sidebar */
|
/* ── Sidebar ── */
|
||||||
.ov-sidebar {
|
.ov-sidebar {
|
||||||
width: var(--sidebar-width);
|
width: var(--sidebar-width);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: linear-gradient(180deg, #0f766e 0%, #134e4a 100%);
|
background: var(--sidebar-bg);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-shrink: 0;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0; left: 0; bottom: 0;
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-sidebar__brand {
|
.ov-brand {
|
||||||
padding: 1.5rem 1.25rem 1rem;
|
padding: 1.25rem 1.25rem 1rem;
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.12);
|
border-bottom: 1px solid rgba(255,255,255,0.07);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-sidebar__brand h1 {
|
.ov-brand h1 {
|
||||||
font-size: 1.1rem;
|
font-size: 1rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #fff;
|
color: #f1f5f9;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
letter-spacing: -0.01em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-sidebar__brand span {
|
.ov-brand span {
|
||||||
font-size: 0.75rem;
|
font-size: 0.72rem;
|
||||||
color: rgba(255,255,255,0.6);
|
color: var(--sidebar-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-nav {
|
.ov-nav {
|
||||||
padding: 1rem 0;
|
padding: 0.75rem 0;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-nav__label {
|
.ov-nav__section {
|
||||||
font-size: 0.68rem;
|
font-size: 0.65rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.08em;
|
letter-spacing: 0.08em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: rgba(255,255,255,0.4);
|
color: #475569;
|
||||||
padding: 0.75rem 1.25rem 0.25rem;
|
padding: 0.75rem 1.25rem 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-nav__link {
|
.ov-nav__link {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.65rem;
|
gap: 0.6rem;
|
||||||
padding: 0.6rem 1.25rem;
|
padding: 0.55rem 1.25rem;
|
||||||
color: rgba(255,255,255,0.8);
|
color: var(--sidebar-text);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 0.88rem;
|
font-size: 0.85rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border-left: 3px solid transparent;
|
border-left: 2px solid transparent;
|
||||||
transition: all 0.15s ease;
|
transition: background 0.12s, color 0.12s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-nav__link:hover {
|
.ov-nav__link:hover {
|
||||||
background: rgba(255,255,255,0.08);
|
background: rgba(255,255,255,0.05);
|
||||||
color: #fff;
|
color: var(--sidebar-text-active);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-nav__link.active {
|
.ov-nav__link.active {
|
||||||
background: rgba(255,255,255,0.12);
|
background: rgba(255,255,255,0.08);
|
||||||
color: #fff;
|
color: var(--sidebar-text-active);
|
||||||
border-left-color: #5eead4;
|
border-left-color: #38bdf8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-nav__link i {
|
.ov-nav__link i { font-size: 0.95rem; }
|
||||||
font-size: 1rem;
|
|
||||||
opacity: 0.85;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ov-sidebar__footer {
|
.ov-sidebar__footer {
|
||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
border-top: 1px solid rgba(255,255,255,0.1);
|
border-top: 1px solid rgba(255,255,255,0.07);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-sidebar__footer a {
|
.ov-sidebar__footer a {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
color: rgba(255,255,255,0.65);
|
color: var(--sidebar-text);
|
||||||
font-size: 0.85rem;
|
font-size: 0.83rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: 500;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-sidebar__footer a:hover {
|
.ov-sidebar__footer a:hover { color: #f1f5f9; }
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Main content */
|
/* ── Main ── */
|
||||||
.ov-main {
|
.ov-main {
|
||||||
margin-left: var(--sidebar-width);
|
margin-left: var(--sidebar-width);
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@ -122,11 +126,11 @@
|
|||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Topbar */
|
/* ── Topbar ── */
|
||||||
.ov-topbar {
|
.ov-topbar {
|
||||||
background: #fff;
|
background: var(--topbar-bg);
|
||||||
border-bottom: 1px solid rgba(153, 246, 232, 0.7);
|
border-bottom: 1px solid var(--border);
|
||||||
padding: 0.85rem 1.75rem;
|
padding: 0.75rem 1.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -136,195 +140,267 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ov-topbar__title {
|
.ov-topbar__title {
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
font-size: 1.05rem;
|
font-size: 0.95rem;
|
||||||
color: #134e4a;
|
color: var(--text);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-topbar__right {
|
/* Avatar dropdown */
|
||||||
display: flex;
|
.ov-profile {
|
||||||
align-items: center;
|
position: relative;
|
||||||
gap: 0.75rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ov-profile__btn {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0.25rem 0.5rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
transition: background 0.12s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-profile__btn:hover { background: #f1f5f9; }
|
||||||
|
|
||||||
.ov-avatar {
|
.ov-avatar {
|
||||||
width: 36px;
|
width: 34px;
|
||||||
height: 36px;
|
height: 34px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: linear-gradient(135deg, #0d9488, #0f766e);
|
background: #334155;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #fff;
|
color: #f1f5f9;
|
||||||
font-size: 0.85rem;
|
font-size: 0.82rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-topbar__admin-name {
|
.ov-profile__name {
|
||||||
|
font-size: 0.83rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-profile__caret {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: var(--text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-dropdown {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: calc(100% + 6px);
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
|
||||||
|
min-width: 180px;
|
||||||
|
z-index: 200;
|
||||||
|
padding: 0.4rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-dropdown.open { display: block; }
|
||||||
|
|
||||||
|
.ov-dropdown__header {
|
||||||
|
padding: 0.6rem 1rem 0.5rem;
|
||||||
|
border-bottom: 1px solid var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-dropdown__name {
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #134e4a;
|
color: var(--text);
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Page content */
|
.ov-dropdown__role {
|
||||||
.ov-content {
|
font-size: 0.72rem;
|
||||||
padding: 1.75rem;
|
color: var(--text-muted);
|
||||||
flex: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Stat cards */
|
.ov-dropdown__item {
|
||||||
.ov-stat {
|
display: flex;
|
||||||
border-radius: 14px;
|
align-items: center;
|
||||||
padding: 1.4rem 1.5rem;
|
gap: 0.5rem;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
font-size: 0.83rem;
|
||||||
|
color: var(--text);
|
||||||
|
text-decoration: none;
|
||||||
|
transition: background 0.1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-dropdown__item:hover { background: #f8fafc; color: var(--text); }
|
||||||
|
|
||||||
|
.ov-dropdown__item.danger { color: #dc2626; }
|
||||||
|
.ov-dropdown__item.danger:hover { background: #fef2f2; }
|
||||||
|
|
||||||
|
.ov-dropdown__divider {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: 0 0.5rem 1.25rem rgba(15,23,42,0.07);
|
border-top: 1px solid var(--border);
|
||||||
|
margin: 0.3rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Content ── */
|
||||||
|
.ov-content { padding: 1.5rem; flex: 1; }
|
||||||
|
|
||||||
|
/* ── Stat cards ── */
|
||||||
|
.ov-stat {
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 1.25rem 1.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-stat__icon {
|
.ov-stat__icon {
|
||||||
width: 52px;
|
width: 44px;
|
||||||
height: 52px;
|
height: 44px;
|
||||||
border-radius: 12px;
|
border-radius: 8px;
|
||||||
|
background: #f1f5f9;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 1.4rem;
|
font-size: 1.2rem;
|
||||||
|
color: #475569;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-stat__label {
|
.ov-stat__label {
|
||||||
font-size: 0.78rem;
|
font-size: 0.75rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0.04em;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
opacity: 0.7;
|
letter-spacing: 0.04em;
|
||||||
margin-bottom: 0.15rem;
|
color: var(--text-muted);
|
||||||
|
margin-bottom: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-stat__value {
|
.ov-stat__value {
|
||||||
font-size: 2rem;
|
font-size: 1.75rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: var(--text);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Section panels */
|
/* ── Panels ── */
|
||||||
.ov-panel {
|
.ov-panel {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 14px;
|
border: 1px solid var(--border);
|
||||||
box-shadow: 0 0.5rem 1.25rem rgba(15,23,42,0.07);
|
border-radius: 10px;
|
||||||
border: 1px solid rgba(153,246,232,0.5);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-panel__header {
|
.ov-panel__header {
|
||||||
padding: 1rem 1.25rem;
|
padding: 0.85rem 1.25rem;
|
||||||
border-bottom: 1px solid rgba(153,246,232,0.5);
|
border-bottom: 1px solid var(--border);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-panel__title {
|
.ov-panel__title {
|
||||||
font-weight: 700;
|
font-weight: 600;
|
||||||
font-size: 0.9rem;
|
font-size: 0.88rem;
|
||||||
color: #0f766e;
|
color: var(--text);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-panel__body {
|
.ov-panel__body { padding: 1rem 1.25rem; }
|
||||||
padding: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Quick action cards */
|
/* ── Quick actions ── */
|
||||||
.ov-action {
|
.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;
|
display: block;
|
||||||
transition: all 0.15s ease;
|
text-align: center;
|
||||||
font-weight: 600;
|
padding: 0.9rem 0.5rem;
|
||||||
font-size: 0.85rem;
|
border: 1px solid var(--border);
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #f8fafc;
|
||||||
|
color: var(--text);
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
font-weight: 500;
|
||||||
|
transition: background 0.12s, border-color 0.12s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-action:hover {
|
.ov-action:hover {
|
||||||
border-color: #0d9488;
|
background: #f1f5f9;
|
||||||
background: #ccfbf1;
|
border-color: #cbd5e1;
|
||||||
color: #0f766e;
|
color: var(--text);
|
||||||
transform: translateY(-2px);
|
|
||||||
box-shadow: 0 4px 12px rgba(13,148,136,0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-action i {
|
.ov-action i {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 1.6rem;
|
font-size: 1.35rem;
|
||||||
margin-bottom: 0.4rem;
|
margin-bottom: 0.35rem;
|
||||||
color: #0d9488;
|
color: #475569;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mini table */
|
/* ── Activity ── */
|
||||||
.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 {
|
.ov-activity-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 0.75rem;
|
gap: 0.65rem;
|
||||||
padding: 0.65rem 0;
|
padding: 0.6rem 0;
|
||||||
border-bottom: 1px solid #f0fdfa;
|
border-bottom: 1px solid #f1f5f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-activity-item:last-child {
|
.ov-activity-item:last-child { border-bottom: none; }
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ov-activity-dot {
|
.ov-activity-dot {
|
||||||
width: 10px;
|
width: 8px;
|
||||||
height: 10px;
|
height: 8px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin-top: 0.3rem;
|
margin-top: 0.35rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-activity-text {
|
.ov-activity-text {
|
||||||
font-size: 0.83rem;
|
font-size: 0.82rem;
|
||||||
color: #134e4a;
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ov-activity-time {
|
.ov-activity-time {
|
||||||
font-size: 0.72rem;
|
font-size: 0.7rem;
|
||||||
color: #5f7a78;
|
color: var(--text-muted);
|
||||||
margin-top: 0.1rem;
|
margin-top: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ── Mini table ── */
|
||||||
|
.ov-mini-table th {
|
||||||
|
background: #f8fafc;
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 0.72rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.04em;
|
||||||
|
border-color: var(--border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-mini-table td {
|
||||||
|
font-size: 0.83rem;
|
||||||
|
color: var(--text);
|
||||||
|
border-color: #f1f5f9;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── Badge ── */
|
||||||
|
.ov-badge {
|
||||||
|
font-size: 0.7rem;
|
||||||
|
font-weight: 600;
|
||||||
|
border-radius: 999px;
|
||||||
|
padding: 0.18em 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ov-badge--success { background: #dcfce7; color: #15803d; }
|
||||||
|
.ov-badge--warning { background: #fef9c3; color: #92400e; }
|
||||||
|
.ov-badge--danger { background: #fee2e2; color: #b91c1c; }
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.ov-sidebar { display: none; }
|
.ov-sidebar { display: none; }
|
||||||
.ov-main { margin-left: 0; }
|
.ov-main { margin-left: 0; }
|
||||||
@ -335,21 +411,21 @@
|
|||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<aside class="ov-sidebar">
|
<aside class="ov-sidebar">
|
||||||
<div class="ov-sidebar__brand">
|
<div class="ov-brand">
|
||||||
<h1><i class="bi bi-hospital me-1"></i> MedAdmin</h1>
|
<h1><i class="bi bi-hospital me-1"></i> MedAdmin</h1>
|
||||||
<span>Control Panel</span>
|
<span>Control Panel</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav class="ov-nav">
|
<nav class="ov-nav">
|
||||||
<div class="ov-nav__label">Main</div>
|
<div class="ov-nav__section">Main</div>
|
||||||
<a href="#" class="ov-nav__link active">
|
<a href="#" class="ov-nav__link active">
|
||||||
<i class="bi bi-grid-1x2-fill"></i> Overview
|
<i class="bi bi-grid-1x2"></i> Overview
|
||||||
</a>
|
</a>
|
||||||
<a href="#" class="ov-nav__link">
|
<a href="#" class="ov-nav__link">
|
||||||
<i class="bi bi-speedometer2"></i> Dashboard
|
<i class="bi bi-speedometer2"></i> Dashboard
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="ov-nav__label mt-2">Manage</div>
|
<div class="ov-nav__section">Manage</div>
|
||||||
<a href="#" class="ov-nav__link">
|
<a href="#" class="ov-nav__link">
|
||||||
<i class="bi bi-person-badge"></i> Doctors
|
<i class="bi bi-person-badge"></i> Doctors
|
||||||
</a>
|
</a>
|
||||||
@ -377,9 +453,31 @@
|
|||||||
<!-- Topbar -->
|
<!-- Topbar -->
|
||||||
<header class="ov-topbar">
|
<header class="ov-topbar">
|
||||||
<p class="ov-topbar__title">Overview</p>
|
<p class="ov-topbar__title">Overview</p>
|
||||||
<div class="ov-topbar__right">
|
|
||||||
|
<!-- Profile dropdown -->
|
||||||
|
<div class="ov-profile" id="profileMenu">
|
||||||
|
<button class="ov-profile__btn" onclick="toggleDropdown()">
|
||||||
<div class="ov-avatar">A</div>
|
<div class="ov-avatar">A</div>
|
||||||
<span class="ov-topbar__admin-name">Admin</span>
|
<span class="ov-profile__name">Admin</span>
|
||||||
|
<i class="bi bi-chevron-down ov-profile__caret"></i>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div class="ov-dropdown" id="profileDropdown">
|
||||||
|
<div class="ov-dropdown__header">
|
||||||
|
<p class="ov-dropdown__name">Administrator</p>
|
||||||
|
<span class="ov-dropdown__role">admin@medadmin.com</span>
|
||||||
|
</div>
|
||||||
|
<a href="#" class="ov-dropdown__item">
|
||||||
|
<i class="bi bi-person"></i> My Profile
|
||||||
|
</a>
|
||||||
|
<a href="#" class="ov-dropdown__item">
|
||||||
|
<i class="bi bi-gear"></i> Settings
|
||||||
|
</a>
|
||||||
|
<hr class="ov-dropdown__divider">
|
||||||
|
<a href="#" class="ov-dropdown__item danger">
|
||||||
|
<i class="bi bi-box-arrow-right"></i> Logout
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@ -389,49 +487,41 @@
|
|||||||
<!-- Stat cards -->
|
<!-- Stat cards -->
|
||||||
<div class="row g-3 mb-4">
|
<div class="row g-3 mb-4">
|
||||||
<div class="col-sm-6 col-xl-3">
|
<div class="col-sm-6 col-xl-3">
|
||||||
<div class="ov-stat" style="background: linear-gradient(135deg, #ccfbf1, #f0fdfa);">
|
<div class="ov-stat">
|
||||||
<div class="ov-stat__icon" style="background: rgba(13,148,136,0.12); color: #0d9488;">
|
<div class="ov-stat__icon"><i class="bi bi-person-badge"></i></div>
|
||||||
<i class="bi bi-person-badge-fill"></i>
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<div class="ov-stat__label" style="color: #0f766e;">Doctors</div>
|
<div class="ov-stat__label">Doctors</div>
|
||||||
<p class="ov-stat__value" style="color: #0f766e;">12</p>
|
<p class="ov-stat__value">12</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-6 col-xl-3">
|
<div class="col-sm-6 col-xl-3">
|
||||||
<div class="ov-stat" style="background: linear-gradient(135deg, #dbeafe, #eff6ff);">
|
<div class="ov-stat">
|
||||||
<div class="ov-stat__icon" style="background: rgba(37,99,235,0.1); color: #2563eb;">
|
<div class="ov-stat__icon"><i class="bi bi-people"></i></div>
|
||||||
<i class="bi bi-people-fill"></i>
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<div class="ov-stat__label" style="color: #1d4ed8;">Patients</div>
|
<div class="ov-stat__label">Patients</div>
|
||||||
<p class="ov-stat__value" style="color: #1d4ed8;">48</p>
|
<p class="ov-stat__value">48</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-6 col-xl-3">
|
<div class="col-sm-6 col-xl-3">
|
||||||
<div class="ov-stat" style="background: linear-gradient(135deg, #fef3c7, #fffbeb);">
|
<div class="ov-stat">
|
||||||
<div class="ov-stat__icon" style="background: rgba(217,119,6,0.1); color: #d97706;">
|
<div class="ov-stat__icon"><i class="bi bi-calendar2-check"></i></div>
|
||||||
<i class="bi bi-calendar2-check-fill"></i>
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<div class="ov-stat__label" style="color: #92400e;">Appointments</div>
|
<div class="ov-stat__label">Appointments</div>
|
||||||
<p class="ov-stat__value" style="color: #92400e;">134</p>
|
<p class="ov-stat__value">134</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-6 col-xl-3">
|
<div class="col-sm-6 col-xl-3">
|
||||||
<div class="ov-stat" style="background: linear-gradient(135deg, #fce7f3, #fdf2f8);">
|
<div class="ov-stat">
|
||||||
<div class="ov-stat__icon" style="background: rgba(219,39,119,0.1); color: #db2777;">
|
<div class="ov-stat__icon"><i class="bi bi-activity"></i></div>
|
||||||
<i class="bi bi-activity"></i>
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<div class="ov-stat__label" style="color: #9d174d;">Active Today</div>
|
<div class="ov-stat__label">Active Today</div>
|
||||||
<p class="ov-stat__value" style="color: #9d174d;">7</p>
|
<p class="ov-stat__value">7</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -444,28 +534,28 @@
|
|||||||
<div class="col-lg-4">
|
<div class="col-lg-4">
|
||||||
<div class="ov-panel h-100">
|
<div class="ov-panel h-100">
|
||||||
<div class="ov-panel__header">
|
<div class="ov-panel__header">
|
||||||
<h2 class="ov-panel__title"><i class="bi bi-lightning-fill me-1"></i>Quick Actions</h2>
|
<h2 class="ov-panel__title">Quick Actions</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-panel__body">
|
<div class="ov-panel__body">
|
||||||
<div class="row g-2">
|
<div class="row g-2">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<a href="#" class="ov-action">
|
<a href="#" class="ov-action">
|
||||||
<i class="bi bi-person-plus-fill"></i> Add Doctor
|
<i class="bi bi-person-plus"></i> Add Doctor
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<a href="#" class="ov-action">
|
<a href="#" class="ov-action">
|
||||||
<i class="bi bi-person-lines-fill"></i> View Doctors
|
<i class="bi bi-person-lines-fill"></i> Doctors
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<a href="#" class="ov-action">
|
<a href="#" class="ov-action">
|
||||||
<i class="bi bi-people-fill"></i> View Patients
|
<i class="bi bi-people"></i> Patients
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<a href="#" class="ov-action">
|
<a href="#" class="ov-action">
|
||||||
<i class="bi bi-calendar2-week-fill"></i> Appointments
|
<i class="bi bi-calendar2-week"></i> Appointments
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -477,42 +567,42 @@
|
|||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<div class="ov-panel h-100">
|
<div class="ov-panel h-100">
|
||||||
<div class="ov-panel__header">
|
<div class="ov-panel__header">
|
||||||
<h2 class="ov-panel__title"><i class="bi bi-clock-history me-1"></i>Recent Activity</h2>
|
<h2 class="ov-panel__title">Recent Activity</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-panel__body">
|
<div class="ov-panel__body">
|
||||||
<div class="ov-activity-item">
|
<div class="ov-activity-item">
|
||||||
<div class="ov-activity-dot" style="background: #10b981;"></div>
|
<div class="ov-activity-dot" style="background:#22c55e;"></div>
|
||||||
<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-text"><strong>Sarah Johnson</strong> booked with <strong>Dr. Alan Carter</strong> <span class="ov-badge ov-badge--success ms-1">Approved</span></div>
|
||||||
<div class="ov-activity-time">2026-04-06 09:00</div>
|
<div class="ov-activity-time">2026-04-06 · 09:00</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-activity-item">
|
<div class="ov-activity-item">
|
||||||
<div class="ov-activity-dot" style="background: #f59e0b;"></div>
|
<div class="ov-activity-dot" style="background:#eab308;"></div>
|
||||||
<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-text"><strong>Mark Evans</strong> booked with <strong>Dr. Priya Nair</strong> <span class="ov-badge ov-badge--warning ms-1">Pending</span></div>
|
||||||
<div class="ov-activity-time">2026-04-06 10:30</div>
|
<div class="ov-activity-time">2026-04-06 · 10:30</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-activity-item">
|
<div class="ov-activity-item">
|
||||||
<div class="ov-activity-dot" style="background:#ef4444;"></div>
|
<div class="ov-activity-dot" style="background:#ef4444;"></div>
|
||||||
<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-text"><strong>Lisa Ray</strong> booked with <strong>Dr. James White</strong> <span class="ov-badge ov-badge--danger ms-1">Rejected</span></div>
|
||||||
<div class="ov-activity-time">2026-04-05 14:00</div>
|
<div class="ov-activity-time">2026-04-05 · 14:00</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-activity-item">
|
<div class="ov-activity-item">
|
||||||
<div class="ov-activity-dot" style="background: #10b981;"></div>
|
<div class="ov-activity-dot" style="background:#22c55e;"></div>
|
||||||
<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-text"><strong>Tom Harris</strong> booked with <strong>Dr. Alan Carter</strong> <span class="ov-badge ov-badge--success ms-1">Approved</span></div>
|
||||||
<div class="ov-activity-time">2026-04-05 11:00</div>
|
<div class="ov-activity-time">2026-04-05 · 11:00</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-activity-item">
|
<div class="ov-activity-item">
|
||||||
<div class="ov-activity-dot" style="background: #f59e0b;"></div>
|
<div class="ov-activity-dot" style="background:#eab308;"></div>
|
||||||
<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-text"><strong>Nina Patel</strong> booked with <strong>Dr. Priya Nair</strong> <span class="ov-badge ov-badge--warning ms-1">Pending</span></div>
|
||||||
<div class="ov-activity-time">2026-04-04 16:15</div>
|
<div class="ov-activity-time">2026-04-04 · 16:15</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -521,16 +611,16 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Doctors table + Patients table -->
|
<!-- Doctors + Patients tables -->
|
||||||
<div class="row g-3">
|
<div class="row g-3">
|
||||||
|
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="ov-panel">
|
<div class="ov-panel">
|
||||||
<div class="ov-panel__header">
|
<div class="ov-panel__header">
|
||||||
<h2 class="ov-panel__title"><i class="bi bi-person-badge me-1"></i>Doctors</h2>
|
<h2 class="ov-panel__title">Doctors</h2>
|
||||||
<a href="#" class="btn btn-sm btn-app-outline px-3">View all</a>
|
<a href="#" class="btn btn-sm btn-outline-secondary px-3" style="font-size:0.78rem;">View all</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-panel__body p-0">
|
<div class="p-0">
|
||||||
<table class="table ov-mini-table mb-0">
|
<table class="table ov-mini-table mb-0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -554,10 +644,10 @@
|
|||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<div class="ov-panel">
|
<div class="ov-panel">
|
||||||
<div class="ov-panel__header">
|
<div class="ov-panel__header">
|
||||||
<h2 class="ov-panel__title"><i class="bi bi-people me-1"></i>Patients</h2>
|
<h2 class="ov-panel__title">Patients</h2>
|
||||||
<a href="#" class="btn btn-sm btn-app-outline px-3">View all</a>
|
<a href="#" class="btn btn-sm btn-outline-secondary px-3" style="font-size:0.78rem;">View all</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="ov-panel__body p-0">
|
<div class="p-0">
|
||||||
<table class="table ov-mini-table mb-0">
|
<table class="table ov-mini-table mb-0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -584,5 +674,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
</body>
|
<script>
|
||||||
</html>
|
function toggleDropdown() {
|
||||||
|
document.getElementById('profileDropdown').classList.toggle('open');
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('click', function (e) {
|
||||||
|
const menu = document.getElementById('profileMenu');
|
||||||
|
if (!menu.contains(e.target)) {
|
||||||
|
document.getElementById('profileDropdown').classList.remove('open');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user