feat: 管理首页新增会话存储后端状态展示
- 仪表盘新增「会话存储后端」卡片,显示 Redis/内存 模式 - 降级时显示「已降级」标签 + 降级说明 - 内存模式下显示活跃会话数 - 新增 stat-red / stat-desc / stat-badge / badge-warn CSS 样式
This commit is contained in:
@ -138,8 +138,12 @@ a:hover { color: var(--primary-hover); }
|
||||
.stat-blue { background: #e3f2fd; color: var(--primary); }
|
||||
.stat-green { background: #e8f5e9; color: var(--success); }
|
||||
.stat-orange { background: #fff3e0; color: var(--warning); }
|
||||
.stat-red { background: #ffebee; color: var(--danger, #e53935); }
|
||||
.stat-label { font-size: 12px; color: var(--text-muted); }
|
||||
.stat-value { font-size: 22px; font-weight: 600; color: var(--text); }
|
||||
.stat-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
|
||||
.stat-badge { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 10px; margin-left: 8px; vertical-align: middle; }
|
||||
.badge-warn { background: #fff3e0; color: var(--warning); }
|
||||
|
||||
/* --- 信息卡片 --- */
|
||||
.info-card {
|
||||
|
||||
Reference in New Issue
Block a user