sshTab.component.pug 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .terminal-toolbar(
  2. (mouseenter)='showToolbar()',
  3. (mouseleave)='hideToolbar()'
  4. )
  5. i.fas.fa-xs.fa-circle.text-success.mr-2(*ngIf='session && session.open')
  6. i.fas.fa-xs.fa-circle.text-danger.mr-2(*ngIf='!session || !session.open')
  7. strong.mr-auto {{profile.options.user}}@{{profile.options.host}}:{{profile.options.port}}
  8. .mr-2(
  9. ngbDropdown,
  10. container='body',
  11. *ngIf='session && !session.supportsWorkingDirectory()',
  12. placement='bottom-right'
  13. )
  14. button.btn.btn-sm.btn-link(ngbDropdownToggle)
  15. i.far.fa-lightbulb
  16. .bg-dark(ngbDropdownMenu)
  17. a.d-flex.align-items-center(ngbDropdownItem, (click)='platform.openExternal("https://tabby.sh/go/cwd-detection")')
  18. .mr-auto
  19. strong Working directory detection
  20. div Learn how to allow Tabby to detect remote shell's working directory.
  21. i.fas.fa-arrow-right.ml-4
  22. button.btn.btn-sm.btn-link.mr-2((click)='reconnect()')
  23. i.fas.fa-redo
  24. span Reconnect
  25. button.btn.btn-sm.btn-link.mr-2((click)='openSFTP()', *ngIf='session && session.open')
  26. i.far.fa-folder-open
  27. span SFTP
  28. button.btn.btn-sm.btn-link(
  29. *ngIf='session && session.open && hostApp.platform !== Platform.Web',
  30. (click)='showPortForwarding()'
  31. )
  32. i.fas.fa-plug
  33. span Ports
  34. sftp-panel.bg-dark(
  35. @panelSlide,
  36. [(path)]='sftpPath',
  37. *ngIf='sftpPanelVisible',
  38. (click)='$event.stopPropagation()',
  39. [session]='session',
  40. (closed)='sftpPanelVisible = false'
  41. )
  42. keyboard-interactive-auth-panel.bg-dark(
  43. *ngIf='activeKIPrompt',
  44. [prompt]='activeKIPrompt',
  45. (click)='$event.stopPropagation()',
  46. (done)='activeKIPrompt = null; frontend.focus()'
  47. )