Information dialog added

This commit is contained in:
Piotr Pekala
2019-08-08 05:44:35 -07:00
parent 031291612f
commit 162806b268
8 changed files with 172 additions and 3 deletions

View File

@ -0,0 +1,27 @@
<h1 mat-dialog-title>{{node.name}}</h1>
<div class="modal-form-container">
<mat-tab-group>
<mat-tab label="General information">
<div class='textBox'>
<mat-list>
<mat-list-item *ngFor="let info of infoList">
{{info}}
</mat-list-item>
</mat-list>
</div>
</mat-tab>
<mat-tab label="Command line">
<div *ngIf="node.status !== 'started'" class='textBox'>
Please start the node in order to get the command line information.
</div>
<div *ngIf="node.status === 'started'" class="textBox">
{{node.command_line}}
</div>
</mat-tab>
</mat-tab-group>
</div>
<div mat-dialog-actions>
<button mat-button (click)="onCloseClick()" color="accent">Close</button>
</div>