mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-22 20:40:08 +00:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
.titlebar
|
|
.title((dblclick)='hostApp.maximizeWindow()') Term
|
|
.btn-minimize((click)='hostApp.minimizeWindow()')
|
|
i.fa.fa-window-minimize
|
|
.btn-maximize((click)='hostApp.maximizeWindow()')
|
|
i.fa.fa-window-maximize
|
|
.btn-close((click)='hostApp.quit()')
|
|
i.fa.fa-close
|
|
|
|
.tabs
|
|
.tab(
|
|
*ngFor='let tab of tabs; let idx = index; trackBy: tab?.id',
|
|
(click)='selectTab(tab)',
|
|
[class.active]='tab == activeTab',
|
|
[class.pre-selected]='tabs[idx + 1] == activeTab',
|
|
[class.post-selected]='tabs[idx - 1] == activeTab',
|
|
@animateTab,
|
|
)
|
|
div.index {{idx + 1}}
|
|
div.name {{tab.name || 'Terminal'}}
|
|
button((click)='closeTab(tab)') ×
|
|
.btn-new-tab((click)='newTab()')
|
|
i.fa.fa-plus
|
|
span Tab
|
|
.btn-settings((click)='showSettings()')
|
|
i.fa.fa-cog
|
|
|
|
.tabs-content
|
|
.tab(*ngFor='let tab of tabs; trackBy: tab?.id', [class.active]='tab == activeTab')
|
|
terminal([session]='tab.session', '[(title)]'='tab.name')
|
|
|
|
toaster-container([toasterconfig]="toasterconfig")
|
|
template(ngbModalContainer)
|
|
|
|
div.window-resizer.window-resizer-tl
|