Changed provision device key/secret fields position in UI
This commit is contained in:
parent
b5969eacc8
commit
2020da577d
@ -28,13 +28,6 @@
|
|||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<section *ngIf="provisionConfigurationFormGroup.get('type').value !== deviceProvisionType.DISABLED" fxLayoutGap.gt-xs="8px" fxLayout="row" fxLayout.xs="column">
|
<section *ngIf="provisionConfigurationFormGroup.get('type').value !== deviceProvisionType.DISABLED" fxLayoutGap.gt-xs="8px" fxLayout="row" fxLayout.xs="column">
|
||||||
<mat-form-field fxFlex class="mat-block">
|
|
||||||
<mat-label translate>device-profile.provision-device-secret</mat-label>
|
|
||||||
<input matInput formControlName="provisionDeviceSecret" required/>
|
|
||||||
<mat-error *ngIf="provisionConfigurationFormGroup.get('provisionDeviceSecret').hasError('required')">
|
|
||||||
{{ 'device-profile.provision-device-secret-required' | translate }}
|
|
||||||
</mat-error>
|
|
||||||
</mat-form-field>
|
|
||||||
<mat-form-field fxFlex class="mat-block">
|
<mat-form-field fxFlex class="mat-block">
|
||||||
<mat-label translate>device-profile.provision-device-key</mat-label>
|
<mat-label translate>device-profile.provision-device-key</mat-label>
|
||||||
<input matInput formControlName="provisionDeviceKey" required/>
|
<input matInput formControlName="provisionDeviceKey" required/>
|
||||||
@ -42,5 +35,12 @@
|
|||||||
{{ 'device-profile.provision-device-key-required' | translate }}
|
{{ 'device-profile.provision-device-key-required' | translate }}
|
||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
<mat-form-field fxFlex class="mat-block">
|
||||||
|
<mat-label translate>device-profile.provision-device-secret</mat-label>
|
||||||
|
<input matInput formControlName="provisionDeviceSecret" required/>
|
||||||
|
<mat-error *ngIf="provisionConfigurationFormGroup.get('provisionDeviceSecret').hasError('required')">
|
||||||
|
{{ 'device-profile.provision-device-secret-required' | translate }}
|
||||||
|
</mat-error>
|
||||||
|
</mat-form-field>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user