-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for custom color schemes for local shell profiles
- Loading branch information
Showing
2 changed files
with
37 additions
and
26 deletions.
There are no files selected for viewing
58 changes: 35 additions & 23 deletions
58
tabby-local/src/components/localProfileSettings.component.pug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,39 @@ | ||
command-line-editor([model]='profile.options') | ||
ul.nav-tabs(ngbNav, #nav='ngbNav') | ||
li(ngbNavItem) | ||
a(ngbNavLink, translate) General | ||
ng-template(ngbNavContent) | ||
command-line-editor([model]='profile.options') | ||
|
||
.form-line(*ngIf='uac?.isAvailable') | ||
.header | ||
.title(translate) Run as administrator | ||
toggle( | ||
[(ngModel)]='profile.options.runAsAdministrator', | ||
) | ||
.form-line(*ngIf='uac?.isAvailable') | ||
.header | ||
.title(translate) Run as administrator | ||
toggle( | ||
[(ngModel)]='profile.options.runAsAdministrator', | ||
) | ||
|
||
.mb-3 | ||
label(translate) Working directory | ||
.mb-3 | ||
label(translate) Working directory | ||
|
||
.input-group | ||
input.form-control( | ||
type='text', | ||
placeholder='Home directory', | ||
[(ngModel)]='profile.options.cwd' | ||
) | ||
button.btn.btn-secondary((click)='pickWorkingDirectory()') | ||
i.fas.fa-folder-open | ||
|
||
.mb-3 | ||
label(translate) Environment | ||
environment-editor( | ||
type='text', | ||
[(model)]='profile.options.env', | ||
) | ||
.input-group | ||
input.form-control( | ||
type='text', | ||
placeholder='Home directory', | ||
[(ngModel)]='profile.options.cwd' | ||
) | ||
button.btn.btn-secondary((click)='pickWorkingDirectory()') | ||
i.fas.fa-folder-open | ||
|
||
.mb-3 | ||
label(translate) Environment | ||
environment-editor( | ||
type='text', | ||
[(model)]='profile.options.env', | ||
) | ||
|
||
li(ngbNavItem) | ||
a(ngbNavLink, translate) Colors | ||
ng-template(ngbNavContent) | ||
color-scheme-selector([(model)]='profile.terminalColorScheme') | ||
|
||
div([ngbNavOutlet]='nav') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters