2021-02-21 19:02:31 +00:00
|
|
|
<div fxLayout="row" fxLayoutAlign="start center" class="page-title-container">
|
|
|
|
<fa-icon [icon]="faTools" class="page-title-img mr-1"></fa-icon>
|
|
|
|
<span class="page-title">Node Config</span>
|
|
|
|
</div>
|
|
|
|
<div fxLayout="column" class="padding-gap-x">
|
|
|
|
<mat-card>
|
|
|
|
<mat-card-content fxLayout="column">
|
|
|
|
<nav mat-tab-nav-bar>
|
|
|
|
<div role="tab" mat-tab-link class="mat-tab-label" [active]="activeLink === links[0].link" (click)="activeLink = links[0].link" routerLink="{{links[0].link}}">{{links[0].name}}</div>
|
2021-12-29 23:08:41 +00:00
|
|
|
<div role="tab" mat-tab-link *ngIf="selNode?.lnImplementation?.toUpperCase() === 'LND'" class="mat-tab-label" [active]="activeLink === links[1].link" (click)="activeLink = links[1].link" routerLink="{{links[1].link}}" [state]="{ initial: false }">{{links[1].name}}</div>
|
2022-05-01 17:35:20 +00:00
|
|
|
<div role="tab" mat-tab-link *ngIf="selNode?.lnImplementation?.toUpperCase() === 'CLN'" class="mat-tab-label" [active]="activeLink === links[2].link" (click)="activeLink = links[2].link" routerLink="{{links[2].link}}">{{links[2].name}}</div>
|
2021-12-29 23:08:41 +00:00
|
|
|
<div role="tab" mat-tab-link *ngIf="showLnConfig" class="mat-tab-label" [active]="activeLink === links[3].link" (click)="activeLink = links[3].link" routerLink="{{links[3].link}}">{{links[3].name}}</div>
|
2021-02-21 19:02:31 +00:00
|
|
|
</nav>
|
2022-08-18 20:33:41 +00:00
|
|
|
<div fxLayout="column" fxFlex="100" fxLayoutAlign="space-between stretch" class="mat-tab-body-wrapper mb-2">
|
2021-02-21 19:02:31 +00:00
|
|
|
<router-outlet></router-outlet>
|
|
|
|
</div>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
|
|
|
|