mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-03 19:44:12 +00:00
"Usage" support for cloud templates and nodes
This commit is contained in:
parent
bf4f2dcdb7
commit
cb6cacc557
@ -163,6 +163,16 @@
|
||||
</mat-form-field>
|
||||
<button mat-button class="form-field" (click)="onAddUdpInterface()">Add</button>
|
||||
</mat-expansion-panel>
|
||||
<mat-expansion-panel>
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title>
|
||||
Usage
|
||||
</mat-panel-title>
|
||||
</mat-expansion-panel-header>
|
||||
<mat-form-field class="form-field">
|
||||
<textarea matInput type="text" [(ngModel)]="cloudNodeTemplate.usage"></textarea>
|
||||
</mat-form-field>
|
||||
</mat-expansion-panel>
|
||||
</mat-accordion>
|
||||
<div class="buttons-bar">
|
||||
<button class="cancel-button" (click)="goBack()" mat-button>Cancel</button>
|
||||
|
@ -77,6 +77,12 @@
|
||||
placeholder="Console HTTP path">
|
||||
</mat-form-field>
|
||||
</mat-tab>
|
||||
|
||||
<mat-tab label="Usage">
|
||||
<mat-form-field class="form-field">
|
||||
<textarea matInput type="text" [(ngModel)]="node.properties.usage"></textarea>
|
||||
</mat-form-field>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
</mat-card>
|
||||
</div>
|
||||
|
@ -14,4 +14,5 @@ export interface CloudTemplate {
|
||||
symbol: string;
|
||||
template_id: string;
|
||||
template_type: string;
|
||||
usage: string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user