292 lines
9.1 KiB
HTML
292 lines
9.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>Doctor EMR & Bedside Care - HMS Mobile</title>
|
|
<link rel="manifest" href="/App/Doctor/manifest.json">
|
|
<meta name="theme-color" content="#0f172a">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<link rel="icon" href="/assets/img/logo.png" type="image/png">
|
|
<link rel="apple-touch-icon" href="/assets/img/logo.png">
|
|
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' data: blob:; connect-src 'self' blob: data:; object-src 'none';">
|
|
|
|
<!-- Bootstrap 5 CSS & Icons -->
|
|
<link rel="stylesheet" href="/assets/vendor/bootstrap/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="/assets/vendor/bootstrap-icons/bootstrap-icons.css">
|
|
|
|
<!-- React 18 & ReactDOM UMD (Local) -->
|
|
<script src="/assets/vendor/react/react.production.min.js"></script>
|
|
<script src="/assets/vendor/react/react-dom.production.min.js"></script>
|
|
|
|
<!-- Cropper.js for Document Photo Cropping (Local) -->
|
|
<link rel="stylesheet" href="/assets/vendor/cropperjs/cropper.min.css">
|
|
<script src="/assets/vendor/cropperjs/cropper.min.js"></script>
|
|
|
|
<style>
|
|
:root {
|
|
--primary-bg: #0f172a;
|
|
--card-bg: #ffffff;
|
|
--accent-blue: #2563eb;
|
|
--accent-cyan: #0891b2;
|
|
--accent-green: #16a34a;
|
|
--accent-amber: #d97706;
|
|
--accent-red: #dc2626;
|
|
--slate-800: #1e293b;
|
|
--slate-900: #0f172a;
|
|
}
|
|
|
|
body {
|
|
background-color: #f1f5f9;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
overflow-x: hidden;
|
|
color: #334155;
|
|
}
|
|
|
|
/* Android TV D-Pad Remote Focus Glow Outline */
|
|
:focus-visible, button:focus, select:focus, input:focus, .card:focus, a:focus {
|
|
outline: 3px solid #2563eb !important;
|
|
outline-offset: 2px !important;
|
|
box-shadow: 0 0 16px rgba(37, 99, 235, 0.6) !important;
|
|
}
|
|
|
|
/* Sleek Doctor Topbar */
|
|
.doctor-header {
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
|
color: #ffffff;
|
|
padding: 12px 16px;
|
|
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.avatar-circle {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
|
|
color: #ffffff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
|
|
border: 2px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.patient-avatar-circle {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: #eff6ff;
|
|
color: #2563eb;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
border: 1.5px solid #dbeafe;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Modern Segmented Navigation Tabs */
|
|
.segmented-tabs {
|
|
background: #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 4px;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.segmented-tab {
|
|
flex: 1;
|
|
border: none;
|
|
background: transparent;
|
|
padding: 10px 14px;
|
|
border-radius: 9px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.segmented-tab.active {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
|
color: #ffffff;
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
|
|
}
|
|
|
|
/* Modern Patient Card Styling */
|
|
.mobile-patient-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 16px;
|
|
margin-bottom: 14px;
|
|
box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
|
|
border-left: 6px solid var(--accent-blue);
|
|
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mobile-patient-card:hover {
|
|
box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.1);
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
.mobile-patient-card.visited {
|
|
border-left-color: #0891b2;
|
|
}
|
|
|
|
.mobile-patient-card.booked {
|
|
border-left-color: #64748b;
|
|
}
|
|
|
|
.mobile-patient-card.waiting {
|
|
border-left-color: #2563eb;
|
|
}
|
|
|
|
/* Status Pills */
|
|
.status-pill {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.status-pill.waiting {
|
|
background-color: #eff6ff;
|
|
color: #1d4ed8;
|
|
border: 1px solid #bfdbfe;
|
|
}
|
|
|
|
.status-pill.visited {
|
|
background-color: #ecfeff;
|
|
color: #0e7490;
|
|
border: 1px solid #a5f3fc;
|
|
}
|
|
|
|
.status-pill.booked {
|
|
background-color: #f8fafc;
|
|
color: #475569;
|
|
border: 1px solid #cbd5e1;
|
|
}
|
|
|
|
/* Queue Badge */
|
|
.queue-badge {
|
|
background: #0f172a;
|
|
color: #ffffff;
|
|
font-weight: 800;
|
|
font-size: 12px;
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
|
|
}
|
|
|
|
/* Action Button */
|
|
.btn-action-primary {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-weight: 700;
|
|
padding: 10px 16px;
|
|
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-action-primary:hover, .btn-action-primary:active {
|
|
background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-action-success {
|
|
background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-weight: 700;
|
|
padding: 10px 16px;
|
|
box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
/* Touch Chip Buttons */
|
|
.chip-btn {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 5px 12px;
|
|
border-radius: 20px;
|
|
border: 1px solid #cbd5e1;
|
|
background: #ffffff;
|
|
color: #334155;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.03);
|
|
}
|
|
|
|
.chip-btn:hover, .chip-btn:active {
|
|
background: #2563eb;
|
|
color: #ffffff;
|
|
border-color: #2563eb;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Lock Screen Styling */
|
|
.lock-screen-overlay {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.lock-card {
|
|
background: #ffffff;
|
|
border-radius: 20px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Custom Scrollbar for chips */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
|
|
<script src="/App/Doctor/doctor-app.bundle.js"></script>
|
|
</body>
|
|
</html>
|