mirror of
https://github.com/Dvorinka/Containr.git
synced 2026-10-28 15:51:26 +00:00
Merge branch 'feat/sleep-mode' into feat/env-doctor
This commit is contained in:
commit
c99b2df419
2 files changed
+9
-1
No files matched your search
@@ -398,6 +398,10 @@ textarea {
|
||||
background: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.status-sleeping {
|
||||
background: var(--info, #6366f1);
|
||||
}
|
||||
|
||||
@keyframes pulse-ring {
|
||||
0% { transform: scale(1); opacity: 0.7; }
|
||||
70% { transform: scale(2); opacity: 0; }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { components, paths } from '@/generated/api-types';
|
||||
|
||||
export type ServiceStatus = 'running' | 'degraded' | 'stopped' | 'building' | 'failed' | 'unknown';
|
||||
export type ServiceStatus = 'running' | 'degraded' | 'stopped' | 'building' | 'failed' | 'sleeping' | 'waking' | 'unknown';
|
||||
|
||||
export type ProjectStats = components['schemas']['ProjectStats'];
|
||||
|
||||
@@ -1742,6 +1742,10 @@ export function serviceStatusClass(status: ServiceStatus): string {
|
||||
return 'status-building';
|
||||
case 'failed':
|
||||
return 'status-failed';
|
||||
case 'sleeping':
|
||||
return 'status-sleeping';
|
||||
case 'waking':
|
||||
return 'status-building';
|
||||
case 'stopped':
|
||||
return 'status-stopped';
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user