mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-10 06:28:07 +02:00
Add gray bar
This commit is contained in:
@@ -476,6 +476,13 @@ export default function RdpClient({
|
|||||||
>
|
>
|
||||||
{t("sshTerminate")}
|
{t("sshTerminate")}
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
size="sm"
|
||||||
|
variant="secondary"
|
||||||
|
onClick={() => ui()?.ctrlAltDel()}
|
||||||
|
>
|
||||||
|
{t("browserGatewayCtrlAltDel")}
|
||||||
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
@@ -513,7 +520,7 @@ export default function RdpClient({
|
|||||||
>
|
>
|
||||||
{t("rdpUploadFiles")}
|
{t("rdpUploadFiles")}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
{/* <Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
onClick={() => ui()?.setScale(1)}
|
onClick={() => ui()?.setScale(1)}
|
||||||
@@ -533,14 +540,7 @@ export default function RdpClient({
|
|||||||
onClick={() => ui()?.setScale(3)}
|
onClick={() => ui()?.setScale(3)}
|
||||||
>
|
>
|
||||||
{t("rdpReal")}
|
{t("rdpReal")}
|
||||||
</Button>
|
</Button> */}
|
||||||
<Button
|
|
||||||
size="sm"
|
|
||||||
variant="secondary"
|
|
||||||
onClick={() => ui()?.ctrlAltDel()}
|
|
||||||
>
|
|
||||||
{t("browserGatewayCtrlAltDel")}
|
|
||||||
</Button>
|
|
||||||
{/* <Button
|
{/* <Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
|
|||||||
@@ -26,6 +26,12 @@ export default function CollapsibleSessionToolbar({
|
|||||||
<div className="flex flex-wrap items-center gap-2 p-2">
|
<div className="flex flex-wrap items-center gap-2 p-2">
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
|
{/* Gray backdrop that visually "disappears" into the toolbar
|
||||||
|
and peeks out behind the top of the orange pull tab. */}
|
||||||
|
<div
|
||||||
|
aria-hidden="true"
|
||||||
|
className="pointer-events-none absolute left-1/2 top-full h-4 w-36 -translate-x-1/2 -translate-y-2 rounded-md bg-neutral-300 shadow-sm dark:bg-neutral-500"
|
||||||
|
/>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setOpen((v) => !v)}
|
onClick={() => setOpen((v) => !v)}
|
||||||
@@ -33,12 +39,12 @@ export default function CollapsibleSessionToolbar({
|
|||||||
open ? t("sessionToolbarHide") : t("sessionToolbarShow")
|
open ? t("sessionToolbarHide") : t("sessionToolbarShow")
|
||||||
}
|
}
|
||||||
aria-expanded={open}
|
aria-expanded={open}
|
||||||
className="absolute left-1/2 top-full flex h-7 w-12 -translate-x-1/2 items-center justify-center rounded-b-md bg-primary text-primary-foreground shadow-md transition-opacity hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
className="absolute left-1/2 top-full flex h-5 w-6 -translate-x-1/2 items-center justify-center rounded-b-md bg-primary text-primary-foreground shadow-md transition-opacity hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
||||||
>
|
>
|
||||||
{open ? (
|
{open ? (
|
||||||
<ChevronUp className="h-4 w-4" />
|
<ChevronUp className="h-3 w-3" />
|
||||||
) : (
|
) : (
|
||||||
<ChevronDown className="h-4 w-4" />
|
<ChevronDown className="h-3 w-3" />
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user