Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Align disk detail time range selector with other drawers

rcourtmanf4f8134f59f5
diff --git a/frontend-modern/src/components/Storage/DiskDetail.tsx b/frontend-modern/src/components/Storage/DiskDetail.tsx
index 01f54114d6..10309c361b 100644
--- a/frontend-modern/src/components/Storage/DiskDetail.tsx
+++ b/frontend-modern/src/components/Storage/DiskDetail.tsx
@@ -153,10 +153,11 @@ export const DiskDetail: Component<DiskDetailProps> = (props) => {
>
<div class="space-y-2">
{/* Time range selector */}
- <div class="flex items-center justify-between">
- <span class="text-[11px] font-medium uppercase tracking-wide text-gray-500 dark:text-gray-400">
- History
- </span>
+ <div class="flex items-center gap-2">
+ <svg class="w-3.5 h-3.5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
+ <circle cx="12" cy="12" r="10" />
+ <path stroke-linecap="round" d="M12 6v6l4 2" />
+ </svg>
<select
value={chartRange()}
onChange={(e) => setChartRange(e.currentTarget.value as HistoryTimeRange)}