mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-20 15:40:29 +00:00
Usage instructions added
This commit is contained in:
@ -9,6 +9,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</mat-tab>
|
||||
<mat-tab label="Usage instructions">
|
||||
<div class="textBox">
|
||||
{{usage}}
|
||||
</div>
|
||||
</mat-tab>
|
||||
<mat-tab label="Command line">
|
||||
<div class="textBox">
|
||||
{{commandLine}}
|
||||
|
@ -13,6 +13,7 @@ export class InfoDialogComponent implements OnInit {
|
||||
@Input() server: Server;
|
||||
@Input() node: Node;
|
||||
infoList: string[] = [];
|
||||
usage: string = '';
|
||||
commandLine: string = '';
|
||||
|
||||
constructor(
|
||||
@ -23,6 +24,7 @@ export class InfoDialogComponent implements OnInit {
|
||||
ngOnInit() {
|
||||
this.infoList = this.infoService.getInfoAboutNode(this.node, this.server);
|
||||
this.commandLine = this.infoService.getCommandLine(this.node);
|
||||
this.usage = this.node.usage ? this.node.usage : `No usage information has been provided for this node.`;
|
||||
}
|
||||
|
||||
onCloseClick() {
|
||||
|
Reference in New Issue
Block a user