/
githubmirror
/
tabby
Обзор
Документация
Войти
/
githubmirror
/
tabby
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tabby-ssh/src/components/sshTab.component.pug
57 строк
2 KB
Eugene
replace ssh2 with russh
18 окт 2024, 21:24
Не верифицирован
18 окт 2024, 21:24
aab7e28
Код
Авторство
О чём код?
terminal-toolbar([tab]='this') i.fas.fa-xs.fa-circle.text-success.me-2(*ngIf='session && session.open') i.fas.fa-xs.fa-circle.text-danger.me-2(*ngIf='!session || !session.open') strong.me-auto( style='user-select: text; cursor: text;' onclick='event.stopPropagation()' ) {{profile.options.user}}@{{profile.options.host}}:{{profile.options.port}} .me-2( ngbDropdown, container='body', *ngIf='session && !session.supportsWorkingDirectory()', placement='bottom-right bottom-left bottom' ) button.btn.btn-sm.btn-link(ngbDropdownToggle) i.far.fa-lightbulb.text-primary .bg-dark(ngbDropdownMenu) a.d-flex.align-items-center(ngbDropdownItem, (click)='platform.openExternal("https://tabby.sh/go/cwd-detection")') .me-auto strong(translate) Working directory detection div(translate) Learn how to allow Tabby to detect remote shell's working directory. i.fas.fa-arrow-right.ms-4 button.btn.btn-sm.btn-link.me-2((click)='reconnect()') i.fas.fa-redo span(translate) Reconnect button.btn.btn-sm.btn-link.me-2((click)='openSFTP()', *ngIf='session && session.open') i.far.fa-folder-open span SFTP button.btn.btn-sm.btn-link( *ngIf='session && session.open && hostApp.platform !== Platform.Web', (click)='showPortForwarding()' ) i.fas.fa-plug span(translate) Ports sftp-panel.bg-dark( @panelSlide, [@.disabled]='!config.store.accessibility.animations', [(path)]='sftpPath', *ngIf='sftpPanelVisible && sshSession', (click)='$event.stopPropagation()', [session]='sshSession!', [cwdDetectionAvailable]='session?.supportsWorkingDirectory() ?? false', (closed)='sftpPanelVisible = false' ) keyboard-interactive-auth-panel.bg-dark( *ngIf='activeKIPrompt', [prompt]='activeKIPrompt', [profile]='profile', (click)='$event.stopPropagation()', (done)='activeKIPrompt = null; frontend?.focus()' )