diff --git a/frontend/src/components/fleet/RemoteWinBoxButton.tsx b/frontend/src/components/fleet/RemoteWinBoxButton.tsx index 43d3de5..bfa8390 100644 --- a/frontend/src/components/fleet/RemoteWinBoxButton.tsx +++ b/frontend/src/components/fleet/RemoteWinBoxButton.tsx @@ -162,26 +162,26 @@ export function RemoteWinBoxButton({ tenantId, deviceId }: RemoteWinBoxButtonPro if (state === 'idle' || state === 'failed' || state === 'terminated') { return (
-
+
{state === 'failed' && error && ( diff --git a/frontend/src/components/fleet/SSHTerminal.tsx b/frontend/src/components/fleet/SSHTerminal.tsx index 97e582f..19b3260 100644 --- a/frontend/src/components/fleet/SSHTerminal.tsx +++ b/frontend/src/components/fleet/SSHTerminal.tsx @@ -162,10 +162,11 @@ export function SSHTerminal({ tenantId, deviceId, deviceName }: SSHTerminalProps return ( ) } diff --git a/frontend/src/components/fleet/WinBoxButton.tsx b/frontend/src/components/fleet/WinBoxButton.tsx index 7d9f304..6ef9ee6 100644 --- a/frontend/src/components/fleet/WinBoxButton.tsx +++ b/frontend/src/components/fleet/WinBoxButton.tsx @@ -78,14 +78,15 @@ export function WinBoxButton({ tenantId, deviceId }: WinBoxButtonProps) { openMutation.mutate() }} disabled={openMutation.isPending} - className="inline-flex items-center gap-2 px-4 py-2 rounded-md bg-accent text-white hover:bg-accent/90 disabled:opacity-50" + className="inline-flex items-center gap-1 px-2 py-1 rounded-[var(--radius-control)] text-[10px] text-text-secondary border border-border-default hover:border-accent transition-[border-color,color] duration-[50ms] disabled:opacity-50" + title="Open WinBox tunnel" > {openMutation.isPending ? ( - + ) : ( - + )} - {openMutation.isPending ? 'Connecting...' : 'Open WinBox'} + {openMutation.isPending ? 'Connecting' : 'WinBox'} {error &&

{error}

}
@@ -94,18 +95,17 @@ export function WinBoxButton({ tenantId, deviceId }: WinBoxButtonProps) { if (state === 'ready' && tunnelInfo) { return ( -
-

WinBox tunnel ready

-

- Connect to: {tunnelInfo.host}:{tunnelInfo.port} +

+

+ Tunnel ready: {tunnelInfo.host}:{tunnelInfo.port}

-
+
-

- Tunnel closes after 5 min of inactivity -

+

Closes after 5 min idle

) } diff --git a/frontend/src/components/simple-config/SimpleModeToggle.tsx b/frontend/src/components/simple-config/SimpleModeToggle.tsx index a372c8e..ce89354 100644 --- a/frontend/src/components/simple-config/SimpleModeToggle.tsx +++ b/frontend/src/components/simple-config/SimpleModeToggle.tsx @@ -14,31 +14,31 @@ interface SimpleModeToggleProps { export function SimpleModeToggle({ mode, onModeChange }: SimpleModeToggleProps) { return ( -
- - +
) }