feat: add ssh buttons in the ui using hostinfo checks
This commit is contained in:
parent
b34a3f0ca1
commit
1e86b0e95b
5 changed files with 97 additions and 22 deletions
21
app/components/tags/TailscaleSSH.tsx
Normal file
21
app/components/tags/TailscaleSSH.tsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import cn from '~/utils/cn';
|
||||
import Chip from '../Chip';
|
||||
import Tooltip from '../Tooltip';
|
||||
|
||||
export function TailscaleSSHTag() {
|
||||
return (
|
||||
<Tooltip>
|
||||
<Chip
|
||||
text="Tailscale SSH"
|
||||
className={cn(
|
||||
'bg-lime-500 text-lime-900 dark:bg-lime-900 dark:text-lime-500',
|
||||
)}
|
||||
/>
|
||||
<Tooltip.Body>
|
||||
This machine advertises Tailscale SSH, which allows you to authenticate
|
||||
SSH credentials using your Tailscale account and via the Headplane web
|
||||
UI.
|
||||
</Tooltip.Body>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue