diff --git a/src/app/rdp/RdpClient.tsx b/src/app/rdp/RdpClient.tsx index 4b6911e60..35ffb9c56 100644 --- a/src/app/rdp/RdpClient.tsx +++ b/src/app/rdp/RdpClient.tsx @@ -15,8 +15,14 @@ import type { FileInfo } from "@devolutions/iron-remote-desktop-rdp/dist"; import { GetBrowserTargetResponse } from "@server/routers/resource"; -import { Card, CardContent } from "@app/components/ui/card"; -import LoginCardHeader from "@app/components/LoginCardHeader"; +import { + Card, + CardContent, + CardHeader, + CardTitle, + CardDescription +} from "@app/components/ui/card"; +import Link from "next/link"; declare module "react" { namespace JSX { @@ -309,51 +315,87 @@ export default function RdpClient({ if (error) { return ( - - - -

{error}

-
-
+
+
+ + Powered by{" "} + + Pangolin + + +
+ + + RDP + + +

{error}

+
+
+
); } return ( <> {showLogin && ( - - - -
- - - update("domain", e.target.value) - } - /> - - - - update("username", e.target.value) - } - /> - - - - update("password", e.target.value) - } - /> - - {/* +
+
+ + Powered by{" "} + + Pangolin + + +
+ + + Sign in to Remote Desktop + + Enter Windows credentials to access xxxx + + + +
+ + + update("domain", e.target.value) + } + /> + + + + update("username", e.target.value) + } + /> + + + + update("password", e.target.value) + } + /> + + {/* */} - {/* @@ -374,7 +416,7 @@ export default function RdpClient({ } /> */} - {/*
+ {/*
*/} - -
- - + +
+
+
+
)}
- - -

{error}

-
- +
+
+ + Powered by{" "} + + Pangolin + + +
+ + + SSH + + +

{error}

+
+
+
); } return ( <> {!connected && ( - - - -
- - - setForm({ - ...form, - username: e.target.value - }) - } - placeholder="root" - /> - - - - setForm({ - ...form, - password: e.target.value - }) - } - placeholder={ - form.privateKey - ? "Optional with key auth" - : "" - } - /> - - - +
+ + Powered by{" "} + -