Add pulldown toolbar

This commit is contained in:
Owen
2026-06-08 16:00:38 -07:00
parent 135a5d38af
commit 35066c1388
4 changed files with 93 additions and 42 deletions

View File

@@ -27,6 +27,7 @@ import { Alert, AlertDescription } from "@app/components/ui/alert";
import BrandedAuthSurface from "@app/components/BrandedAuthSurface";
import PoweredByPangolin from "@app/components/PoweredByPangolin";
import AuthPageFooterNotices from "@app/components/AuthPageFooterNotices";
import CollapsibleSessionToolbar from "@app/components/CollapsibleSessionToolbar";
import { useTranslations } from "next-intl";
import {
loadEncryptedLocalStorage,
@@ -296,7 +297,7 @@ export default function VncClient({
className="fixed inset-0 z-50 flex flex-col bg-neutral-900"
style={{ display: connected ? "flex" : "none" }}
>
<div className="flex flex-wrap items-center gap-2 bg-black p-2 text-white">
<CollapsibleSessionToolbar>
<Button
size="sm"
variant="secondary"
@@ -329,7 +330,7 @@ export default function VncClient({
>
{t("sshTerminate")}
</Button>
</div>
</CollapsibleSessionToolbar>
<div
ref={screenRef}