Merge pull request #11015 from maxunbearable/fix/3859-grcp-custom-inputs
Added missing inputs for Custom and GRCP Connectors
This commit is contained in:
commit
1df59fc4d5
@ -58,6 +58,22 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div *ngIf="connectorForm.get('type').value === connectorType.CUSTOM" class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
||||||
|
<div class="fixed-title-width" translate>gateway.connectors-table-class</div>
|
||||||
|
<div class="tb-flex no-gap">
|
||||||
|
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic">
|
||||||
|
<input matInput name="value" formControlName="class" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div *ngIf="connectorForm.get('type').value === connectorType.GRPC" class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
||||||
|
<div class="fixed-title-width" translate>gateway.connectors-table-key</div>
|
||||||
|
<div class="tb-flex no-gap">
|
||||||
|
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic">
|
||||||
|
<input matInput name="value" formControlName="key" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
<div class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
||||||
<div class="fixed-title-width" translate>gateway.remote-logging-level</div>
|
<div class="fixed-title-width" translate>gateway.remote-logging-level</div>
|
||||||
<div class="tb-flex no-gap">
|
<div class="tb-flex no-gap">
|
||||||
|
|||||||
@ -66,6 +66,8 @@ export class AddConnectorDialogComponent extends DialogComponent<AddConnectorDia
|
|||||||
logLevel: [GatewayLogLevel.INFO, []],
|
logLevel: [GatewayLogLevel.INFO, []],
|
||||||
useDefaults: [true, []],
|
useDefaults: [true, []],
|
||||||
sendDataOnlyOnChange: [false, []],
|
sendDataOnlyOnChange: [false, []],
|
||||||
|
class: ['', []],
|
||||||
|
key: ['auto', []],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -190,6 +190,22 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div *ngIf="connectorForm.get('type').value === connectorType.CUSTOM" class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
||||||
|
<div class="fixed-title-width" translate>gateway.connectors-table-class</div>
|
||||||
|
<div class="tb-flex no-gap">
|
||||||
|
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic">
|
||||||
|
<input matInput name="value" formControlName="class" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div *ngIf="connectorForm.get('type').value === connectorType.GRPC" class="tb-form-row column-xs" fxLayoutAlign="space-between center">
|
||||||
|
<div class="fixed-title-width" translate>gateway.connectors-table-key</div>
|
||||||
|
<div class="tb-flex no-gap">
|
||||||
|
<mat-form-field class="tb-flex no-gap" appearance="outline" subscriptSizing="dynamic">
|
||||||
|
<input matInput name="value" formControlName="key" placeholder="{{ 'gateway.set' | translate }}"/>
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="tb-form-panel stroked">
|
<div class="tb-form-panel stroked">
|
||||||
<div class="tb-form-panel-title" translate>gateway.logs-configuration</div>
|
<div class="tb-form-panel-title" translate>gateway.logs-configuration</div>
|
||||||
<div class="tb-form-row" fxLayoutAlign="space-between center">
|
<div class="tb-form-row" fxLayoutAlign="space-between center">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user