feat: better theming, UI fixes, bug fixes
This commit is contained in:
16 files changed
+1448
-795
No files matched your search
@@ -13,6 +13,8 @@ interface WidgetDevice {
|
||||
name: string;
|
||||
mac: string;
|
||||
ip: string;
|
||||
canSleep: boolean;
|
||||
canShutdown: boolean;
|
||||
status: string;
|
||||
}
|
||||
|
||||
@@ -32,6 +34,8 @@ export function syncDevicesToWidget(devices: Device[]): void {
|
||||
name: device.name,
|
||||
mac: device.mac,
|
||||
ip: device.ip,
|
||||
canSleep: device.sol_enabled,
|
||||
canShutdown: device.shutdown_cmd !== "",
|
||||
status: device.status || 'unknown',
|
||||
}));
|
||||
|
||||
|
||||
+4
-2
@@ -7,8 +7,10 @@ export interface Device {
|
||||
ip: string;
|
||||
netmask: string;
|
||||
broadcast: string;
|
||||
secureOnPassword: string;
|
||||
port: number;
|
||||
password: string;
|
||||
shutdown_cmd: string;
|
||||
sol_enabled: boolean;
|
||||
ports: number[];
|
||||
groups: string[];
|
||||
status: string;
|
||||
created: string;
|
||||
|
||||
Reference in new issue
Block a user