Add an "Open admin" button to the integration pages
Each integration page now has a button next to its title that opens the product's own admin panel in a new tab, using the address entered on the integration. Tailscale links to its admin console. Only http(s) addresses become links. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
51ad309e35
commit
75f0a3d881
9 files changed
+64
-8
No files matched your search
@@ -16,6 +16,7 @@ import { usePagination } from "../hooks/usePagination";
|
||||
import Pagination from "../components/Pagination";
|
||||
import { downloadCsv } from "../utils/csv";
|
||||
import { confirmDialog } from "../utils/dialogs";
|
||||
import IntegrationPageTitle from "../components/IntegrationPageTitle";
|
||||
|
||||
function proxmoxStatusBadge(status: string) {
|
||||
return status === "running" ? (
|
||||
@@ -203,7 +204,7 @@ export default function Proxmox({ user }: { user: CurrentUser }) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<h2 className="page-title mb-3">Proxmox</h2>
|
||||
<IntegrationPageTitle title="Proxmox" integration={selected} />
|
||||
{error && <div className="alert alert-danger">{error}</div>}
|
||||
|
||||
{integrations?.length === 0 ? (
|
||||
|
||||
Reference in new issue
Block a user