feat(admin): make dashboard live and disk-aware
Wire dashboard panels to real alerts, activity, boxes, and users data instead of static mock rows. Enable working dashboard actions (close alerts, close low alerts, cleanup expired boxes, exports, and navigation). Update storage overview to use real filesystem free/total space from the uploads volume. Make top alert chip data-driven across admin pages.
This commit is contained in:
@@ -111,6 +111,18 @@
|
||||
.alerts-scroll { height: 326px; }
|
||||
.boxes-scroll { height: 352px; }
|
||||
.activity-scroll { height: 326px; }
|
||||
.dashboard-empty-state {
|
||||
margin: 8px;
|
||||
padding: 10px;
|
||||
color: #333333;
|
||||
background: #ffffcc;
|
||||
border-top: 1px solid #ffffff;
|
||||
border-left: 1px solid #ffffff;
|
||||
border-right: 1px solid #a08000;
|
||||
border-bottom: 1px solid #a08000;
|
||||
font-size: 12px;
|
||||
line-height: 15px;
|
||||
}
|
||||
|
||||
/* Alerts */
|
||||
.alert-list { display: grid; min-width: 0; }
|
||||
|
||||
Reference in New Issue
Block a user