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
@@ -11,6 +11,7 @@ import {
|
||||
import { useSortable } from "../hooks/useSortable";
|
||||
import SortableTh from "../components/SortableTh";
|
||||
import { downloadCsv } from "../utils/csv";
|
||||
import IntegrationPageTitle from "../components/IntegrationPageTitle";
|
||||
|
||||
function formatBytes(bytes: number | null): string {
|
||||
if (bytes === null) return "—";
|
||||
@@ -126,7 +127,7 @@ export default function PbsBackup({ user: _user }: { user: CurrentUser }) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<h2 className="page-title mb-3">Proxmox Backup Server</h2>
|
||||
<IntegrationPageTitle title="Proxmox Backup Server" integration={selected} />
|
||||
{error && <div className="alert alert-danger">{error}</div>}
|
||||
|
||||
{integrations?.length === 0 ? (
|
||||
|
||||
Reference in new issue
Block a user