Commit 2020da577d54205c91d963996751d83b9384785c
1 parent
b5969eac
Changed provision device key/secret fields position in UI
Showing
1 changed file
with
7 additions
and
7 deletions
ui-ngx/src/app/modules/home/components/profile/device-profile-provision-configuration.component.html
@@ -29,18 +29,18 @@ | @@ -29,18 +29,18 @@ | ||
29 | </mat-form-field> | 29 | </mat-form-field> |
30 | <section *ngIf="provisionConfigurationFormGroup.get('type').value !== deviceProvisionType.DISABLED" fxLayoutGap.gt-xs="8px" fxLayout="row" fxLayout.xs="column"> | 30 | <section *ngIf="provisionConfigurationFormGroup.get('type').value !== deviceProvisionType.DISABLED" fxLayoutGap.gt-xs="8px" fxLayout="row" fxLayout.xs="column"> |
31 | <mat-form-field fxFlex class="mat-block"> | 31 | <mat-form-field fxFlex class="mat-block"> |
32 | - <mat-label translate>device-profile.provision-device-secret</mat-label> | ||
33 | - <input matInput formControlName="provisionDeviceSecret" required/> | ||
34 | - <mat-error *ngIf="provisionConfigurationFormGroup.get('provisionDeviceSecret').hasError('required')"> | ||
35 | - {{ 'device-profile.provision-device-secret-required' | translate }} | ||
36 | - </mat-error> | ||
37 | - </mat-form-field> | ||
38 | - <mat-form-field fxFlex class="mat-block"> | ||
39 | <mat-label translate>device-profile.provision-device-key</mat-label> | 32 | <mat-label translate>device-profile.provision-device-key</mat-label> |
40 | <input matInput formControlName="provisionDeviceKey" required/> | 33 | <input matInput formControlName="provisionDeviceKey" required/> |
41 | <mat-error *ngIf="provisionConfigurationFormGroup.get('provisionDeviceKey').hasError('required')"> | 34 | <mat-error *ngIf="provisionConfigurationFormGroup.get('provisionDeviceKey').hasError('required')"> |
42 | {{ 'device-profile.provision-device-key-required' | translate }} | 35 | {{ 'device-profile.provision-device-key-required' | translate }} |
43 | </mat-error> | 36 | </mat-error> |
44 | </mat-form-field> | 37 | </mat-form-field> |
38 | + <mat-form-field fxFlex class="mat-block"> | ||
39 | + <mat-label translate>device-profile.provision-device-secret</mat-label> | ||
40 | + <input matInput formControlName="provisionDeviceSecret" required/> | ||
41 | + <mat-error *ngIf="provisionConfigurationFormGroup.get('provisionDeviceSecret').hasError('required')"> | ||
42 | + {{ 'device-profile.provision-device-secret-required' | translate }} | ||
43 | + </mat-error> | ||
44 | + </mat-form-field> | ||
45 | </section> | 45 | </section> |
46 | </div> | 46 | </div> |