mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-16 14:38:52 +00:00
Fix for tabs
This commit is contained in:
parent
43787e94e8
commit
a341d7c2ec
@ -23,8 +23,6 @@
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
</ng-template>
|
||||
|
||||
place for log console component
|
||||
</mat-tab>
|
||||
|
||||
<mat-tab *ngFor="let node of nodes; let index = index" [label]="tab">
|
||||
@ -35,10 +33,16 @@
|
||||
</button>
|
||||
</ng-template>
|
||||
|
||||
<div>
|
||||
<app-web-console [server]="server" [node]="node"></app-web-console>
|
||||
</div>
|
||||
<!-- <ng-template matTabContent>
|
||||
<div>
|
||||
<app-web-console [server]="server" [node]="node"></app-web-console>
|
||||
</div>
|
||||
</ng-template> -->
|
||||
</mat-tab>
|
||||
|
||||
</mat-tab-group>
|
||||
|
||||
<div *ngFor="let node of nodes; let index = index">
|
||||
<app-web-console [hidden]="!(selected.value===(index+1))" [server]="server" [node]="nodes[index]"></app-web-console>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1 +1 @@
|
||||
<div #terminal id="terminal"></div>
|
||||
<div [style.visibility]="visible ? 'hidden' : 'visible' " #terminal id="terminal"></div>
|
||||
|
@ -9,7 +9,7 @@ import { NodeConsoleService } from '../../../services/nodeConsole.service';
|
||||
|
||||
|
||||
@Component({
|
||||
encapsulation: ViewEncapsulation.ShadowDom,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
selector: 'app-web-console',
|
||||
templateUrl: './web-console.component.html',
|
||||
styleUrls: ['../../../../../node_modules/xterm/css/xterm.css']
|
||||
|
Loading…
x
Reference in New Issue
Block a user