mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 08:45:24 +00:00
Merge branch 'rdp-ssh' of github.com:fosrl/pangolin into rdp-ssh
This commit is contained in:
@@ -343,18 +343,29 @@ export default function SshClient({
|
|||||||
}
|
}
|
||||||
className="w-full"
|
className="w-full"
|
||||||
>
|
>
|
||||||
Connect
|
{connecting ? "Connecting..." : "Connect"}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{connected && (
|
{connected && (
|
||||||
<div
|
<div className="flex h-screen flex-col bg-neutral-900">
|
||||||
ref={terminalRef}
|
<div className="flex flex-wrap items-center gap-2 bg-black p-2 text-white">
|
||||||
className="flex-1 overflow-hidden"
|
<Button
|
||||||
style={{ minHeight: 0 }}
|
size="sm"
|
||||||
/>
|
variant="destructive"
|
||||||
|
onClick={disconnect}
|
||||||
|
>
|
||||||
|
Terminate
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
ref={terminalRef}
|
||||||
|
className="flex-1 overflow-hidden"
|
||||||
|
style={{ minHeight: 0 }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user