File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
resources/scripts/components/server/settings Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,21 @@ export default () => {
3131 readOnly = { true }
3232 />
3333 </ div >
34- < div className = { 'mt-6' } >
35- < div className = { 'border-l-4 border-cyan-500 p-3' } >
36- < p className = { 'text-xs text-neutral-200' } >
37- Your SFTP password is the same as the password you use to access this panel.
38- </ p >
34+ < div className = { 'mt-6 flex items-center' } >
35+ < div className = { 'flex-1' } >
36+ < div className = { 'border-l-4 border-cyan-500 p-3' } >
37+ < p className = { 'text-xs text-neutral-200' } >
38+ Your SFTP password is the same as the password you use to access this panel.
39+ </ p >
40+ </ div >
41+ </ div >
42+ < div className = { 'ml-4' } >
43+ < a
44+ href = { `sftp://${ user . username } .${ server . id } @${ server . sftpDetails . ip } :${ server . sftpDetails . port } ` }
45+ className = { 'btn btn-sm btn-secondary' }
46+ >
47+ Launch SFTP
48+ </ a >
3949 </ div >
4050 </ div >
4151 </ TitledGreyBox >
You can’t perform that action at this time.
0 commit comments