From 47d57d08ee7181f2ea3da5ce34fbb5ae9580d091 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 16 Nov 2017 22:46:33 +0100 Subject: [PATCH] rearranged terminal settings tab --- .../terminalSettingsTab.component.pug | 70 ++++++++----------- 1 file changed, 29 insertions(+), 41 deletions(-) diff --git a/terminus-terminal/src/components/terminalSettingsTab.component.pug b/terminus-terminal/src/components/terminalSettingsTab.component.pug index 23571d3d..ee6be4a5 100644 --- a/terminus-terminal/src/components/terminalSettingsTab.component.pug +++ b/terminus-terminal/src/components/terminalSettingsTab.component.pug @@ -1,7 +1,7 @@ +h3.mb-2 Appearance .row .col-md-6 .form-group - label Preview .appearance-preview( [style.font-family]='config.store.terminal.font', [style.font-size]='config.store.terminal.fontSize + "px"', @@ -60,23 +60,6 @@ span([style.color]='config.store.terminal.colorScheme.colors[15]') W div span   - div - span john@doe-pc - span([style.color]='config.store.terminal.colorScheme.colors[1]') $ - span webpack - div - span Asset Size - div - span([style.color]='config.store.terminal.colorScheme.colors[2]') main.js - span 234 kB - span([style.color]='config.store.terminal.colorScheme.colors[2]') [emitted] - div - span([style.color]='config.store.terminal.colorScheme.colors[3]') big.js - span([style.color]='config.store.terminal.colorScheme.colors[3]') 1.2 MB - span([style.color]='config.store.terminal.colorScheme.colors[2]') [emitted] - span([style.color]='config.store.terminal.colorScheme.colors[3]') [big] - div - span   div span john@doe-pc span([style.color]='config.store.terminal.colorScheme.colors[1]') $ @@ -228,6 +211,10 @@ ) | ▁ +h3.mt-2.mb-2 Behaviour + +.row + .col-md-6 .d-flex .form-group.mr-3 label Shell @@ -260,6 +247,30 @@ (ngModelChange)='config.save()', ) + .form-group + label Auto-open a terminal on app start + br + .btn-group( + '[(ngModel)]'='config.store.terminal.autoOpen', + (ngModelChange)='config.save()', + ngbRadioGroup + ) + label.btn.btn-secondary(ngbButtonLabel) + input( + type='radio', + ngbButton, + [value]='false' + ) + | Off + label.btn.btn-secondary(ngbButtonLabel) + input( + type='radio', + ngbButton, + [value]='true' + ) + | On + + .col-md-6 .d-flex .form-group.mr-3 label Terminal bell @@ -314,29 +325,6 @@ ) | On - .form-group - label Auto-open a terminal on app start - br - .btn-group( - '[(ngModel)]'='config.store.terminal.autoOpen', - (ngModelChange)='config.save()', - ngbRadioGroup - ) - label.btn.btn-secondary(ngbButtonLabel) - input( - type='radio', - ngbButton, - [value]='false' - ) - | Off - label.btn.btn-secondary(ngbButtonLabel) - input( - type='radio', - ngbButton, - [value]='true' - ) - | On - .d-flex .form-group.mr-3 label Copy on select