mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-17 14:28:13 +00:00
Fix for tabs
This commit is contained in:
@ -23,8 +23,6 @@
|
|||||||
<mat-icon>close</mat-icon>
|
<mat-icon>close</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
place for log console component
|
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
|
|
||||||
<mat-tab *ngFor="let node of nodes; let index = index" [label]="tab">
|
<mat-tab *ngFor="let node of nodes; let index = index" [label]="tab">
|
||||||
@ -35,10 +33,16 @@
|
|||||||
</button>
|
</button>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<div>
|
<!-- <ng-template matTabContent>
|
||||||
<app-web-console [server]="server" [node]="node"></app-web-console>
|
<div>
|
||||||
</div>
|
<app-web-console [server]="server" [node]="node"></app-web-console>
|
||||||
|
</div>
|
||||||
|
</ng-template> -->
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
|
|
||||||
</mat-tab-group>
|
</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>
|
</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({
|
@Component({
|
||||||
encapsulation: ViewEncapsulation.ShadowDom,
|
encapsulation: ViewEncapsulation.None,
|
||||||
selector: 'app-web-console',
|
selector: 'app-web-console',
|
||||||
templateUrl: './web-console.component.html',
|
templateUrl: './web-console.component.html',
|
||||||
styleUrls: ['../../../../../node_modules/xterm/css/xterm.css']
|
styleUrls: ['../../../../../node_modules/xterm/css/xterm.css']
|
||||||
|
Reference in New Issue
Block a user