178 lines
3.5 KiB
Plaintext
178 lines
3.5 KiB
Plaintext
<div class="sidebar">
|
|
<div class="sidebar-header">
|
|
<div class="logo">
|
|
<i class="bi bi-person-lines-fill"></i>
|
|
Patient
|
|
</div>
|
|
|
|
<!-- ✅ Patient Info wird per JS ersetzt -->
|
|
<div class="patient-badge" id="sidebarPatientInfo">
|
|
<div class="patient-name">
|
|
<strong>Kein Patient gewählt</strong>
|
|
</div>
|
|
<div class="patient-meta text-muted">Bitte Patient auswählen</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ✅ Übersicht -->
|
|
<a id="sbOverview" href="#" class="nav-item disabled">
|
|
<i class="bi bi-clipboard2-check"></i> Übersicht
|
|
</a>
|
|
|
|
<!-- ✅ Verlauf -->
|
|
<a id="sbHistory" href="#" class="nav-item disabled">
|
|
<i class="bi bi-clock-history"></i> Verlauf
|
|
</a>
|
|
|
|
<!-- ✅ Bearbeiten -->
|
|
<a id="sbEdit" href="#" class="nav-item disabled">
|
|
<i class="bi bi-pencil-square"></i> Bearbeiten
|
|
</a>
|
|
|
|
<!-- ✅ Medikamente -->
|
|
<a id="sbMeds" href="#" class="nav-item disabled">
|
|
<i class="bi bi-capsule"></i> Medikamente
|
|
</a>
|
|
|
|
<!-- ✅ Wartezimmer -->
|
|
<div id="sbWaitingRoomWrapper">
|
|
<div class="nav-item disabled">
|
|
<i class="bi bi-door-open"></i> Ins Wartezimmer
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ✅ Sperren / Entsperren -->
|
|
<div id="sbActiveWrapper">
|
|
<div class="nav-item disabled">
|
|
<i class="bi bi-lock-fill"></i> Sperren / Entsperren
|
|
</div>
|
|
</div>
|
|
|
|
<!-- ✅ Upload -->
|
|
<div class="sidebar-upload">
|
|
<div style="font-weight: 600; margin: 10px 0 6px 0; color: #e5e7eb">
|
|
<i class="bi bi-paperclip"></i> Datei Upload
|
|
</div>
|
|
|
|
<form
|
|
id="sbUploadForm"
|
|
method="POST"
|
|
action="#"
|
|
enctype="multipart/form-data"
|
|
>
|
|
<input
|
|
id="sbUploadInput"
|
|
type="file"
|
|
name="file"
|
|
class="form-control form-control-sm mb-2"
|
|
disabled
|
|
required
|
|
/>
|
|
|
|
<button
|
|
id="sbUploadBtn"
|
|
type="submit"
|
|
class="btn btn-sm btn-outline-light w-100"
|
|
disabled
|
|
>
|
|
📎 Hochladen
|
|
</button>
|
|
</form>
|
|
|
|
<div class="sidebar-muted" style="margin-top: 6px">
|
|
Nur aktiv nach Patientenauswahl
|
|
</div>
|
|
</div>
|
|
|
|
<div class="spacer"></div>
|
|
</div>
|
|
|
|
<style>
|
|
.sidebar {
|
|
width: 240px;
|
|
background: #111827;
|
|
color: white;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.patient-badge {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.patient-name {
|
|
font-size: 14px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.patient-meta {
|
|
font-size: 12px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 15px;
|
|
border-radius: 8px;
|
|
color: #cbd5e1;
|
|
text-decoration: none;
|
|
margin-bottom: 6px;
|
|
font-size: 14px;
|
|
border: 0;
|
|
background: transparent;
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
background: #1f2937;
|
|
color: white;
|
|
}
|
|
|
|
.nav-item.active {
|
|
background: #2563eb;
|
|
color: white;
|
|
}
|
|
|
|
.nav-item.disabled {
|
|
opacity: 0.45;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav-btn {
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.sidebar-upload {
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.sidebar-muted {
|
|
font-size: 12px;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.spacer {
|
|
flex: 1;
|
|
}
|
|
</style>
|