mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 22:44:55 +00:00
ui tweaks
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
h3 Connections
|
||||
|
||||
.list-group.mt-3.mb-3
|
||||
.list-group.list-group-flush.mt-3.mb-3
|
||||
ng-container(*ngFor='let group of childGroups')
|
||||
.list-group-item.list-group-item-action.d-flex.align-items-center((click)='groupCollapsed[group.name] = !groupCollapsed[group.name]')
|
||||
.list-group-item.list-group-item-action.d-flex.align-items-center(
|
||||
(click)='groupCollapsed[group.name] = !groupCollapsed[group.name]'
|
||||
)
|
||||
.fa.fa-fw.fa-chevron-right(*ngIf='groupCollapsed[group.name]')
|
||||
.fa.fa-fw.fa-chevron-down(*ngIf='!groupCollapsed[group.name]')
|
||||
span.ml-3.mr-auto {{group.name || "Ungrouped"}}
|
||||
@@ -11,15 +13,16 @@ h3 Connections
|
||||
button.btn.btn-outline-danger.ml-1((click)='deleteGroup(group)')
|
||||
i.fa.fa-trash-o
|
||||
ng-container(*ngIf='!groupCollapsed[group.name]')
|
||||
.list-group-item.pl-5.d-flex.align-items-center(*ngFor='let connection of group.connections')
|
||||
.list-group-item.list-group-item-action.pl-5.d-flex.align-items-center(
|
||||
*ngFor='let connection of group.connections',
|
||||
(click)='editConnection(connection)'
|
||||
)
|
||||
.mr-auto
|
||||
div {{connection.name}}
|
||||
.text-muted {{connection.host}}
|
||||
button.btn.btn-outline-info.ml-2((click)='editConnection(connection)')
|
||||
i.fa.fa-pencil
|
||||
button.btn.btn-outline-danger.ml-1((click)='deleteConnection(connection)')
|
||||
button.btn.btn-outline-danger.ml-1((click)='$event.stopPropagation(); deleteConnection(connection)')
|
||||
i.fa.fa-trash-o
|
||||
|
||||
button.btn.btn-outline-primary((click)='createConnection()')
|
||||
div.fa.fa-fw.fa-globe
|
||||
button.btn.btn-primary((click)='createConnection()')
|
||||
i.fa.fa-fw.fa-plus
|
||||
span.ml-2 Add connection
|
||||
|
Reference in New Issue
Block a user