"Usage" support for cloud templates and nodes

This commit is contained in:
piotrpekala7 2020-08-10 16:00:57 +02:00
parent bf4f2dcdb7
commit cb6cacc557
3 changed files with 17 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -14,4 +14,5 @@ export interface CloudTemplate {
symbol: string;
template_id: string;
template_type: string;
usage: string;
}