Add easy launch button for SFTP
This commit is contained in:
parent
e87db889e9
commit
33eb1d259f
|
@ -31,13 +31,23 @@ export default () => {
|
||||||
readOnly={true}
|
readOnly={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className={'mt-6'}>
|
<div className={'mt-6 flex items-center'}>
|
||||||
|
<div className={'flex-1'}>
|
||||||
<div className={'border-l-4 border-cyan-500 p-3'}>
|
<div className={'border-l-4 border-cyan-500 p-3'}>
|
||||||
<p className={'text-xs text-neutral-200'}>
|
<p className={'text-xs text-neutral-200'}>
|
||||||
Your SFTP password is the same as the password you use to access this panel.
|
Your SFTP password is the same as the password you use to access this panel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className={'ml-4'}>
|
||||||
|
<a
|
||||||
|
href={`sftp://${user.username}.${server.id}@${server.sftpDetails.ip}:${server.sftpDetails.port}`}
|
||||||
|
className={'btn btn-sm btn-secondary'}
|
||||||
|
>
|
||||||
|
Launch SFTP
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</TitledGreyBox>
|
</TitledGreyBox>
|
||||||
<div className={'w-full mt-6 md:flex-1 md:mt-0'}>
|
<div className={'w-full mt-6 md:flex-1 md:mt-0'}>
|
||||||
<RenameServerBox/>
|
<RenameServerBox/>
|
||||||
|
|
Loading…
Reference in New Issue