ui changes (language editor)

This commit is contained in:
Sofia Papacharalampous 2024-04-22 17:27:55 +03:00
parent 9a1515f479
commit d65eca136d
2 changed files with 44 additions and 38 deletions

View File

@ -30,6 +30,9 @@
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div class="row mt-3"> <div class="row mt-3">
<div class="col-12">
<div class="container-fluid">
<div class="row">
<div class="col-6" *ngIf="isNew"> <div class="col-6" *ngIf="isNew">
<mat-form-field class="w-100"> <mat-form-field class="w-100">
<mat-label>{{'LANGUAGE-EDITOR.FIELDS.CODE' | translate}}</mat-label> <mat-label>{{'LANGUAGE-EDITOR.FIELDS.CODE' | translate}}</mat-label>
@ -50,7 +53,7 @@
<mat-error *ngIf="formGroup.get('code').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error> <mat-error *ngIf="formGroup.get('code').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
</mat-form-field> </mat-form-field>
</div> </div>
<div class="col-4"> <div class="col-6">
<mat-form-field class="w-100"> <mat-form-field class="w-100">
<mat-label>{{'LANGUAGE-EDITOR.FIELDS.ORDINAL' | translate}}</mat-label> <mat-label>{{'LANGUAGE-EDITOR.FIELDS.ORDINAL' | translate}}</mat-label>
<input matInput type="text" name="ordinal" [formControl]="formGroup.get('ordinal')" required> <input matInput type="text" name="ordinal" [formControl]="formGroup.get('ordinal')" required>
@ -70,6 +73,9 @@
</h9> </h9>
</div> </div>
</div> </div>
</div>
</div>
</div>
</mat-card-content> </mat-card-content>
</mat-card> </mat-card>
</form> </form>

View File

@ -141,7 +141,7 @@
<mat-card-content> <mat-card-content>
<div class="row mt-3"> <div class="row mt-3">
<div class="col-12"> <div class="col-12">
<div class="container"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<app-external-fetcher-source-component [formGroup]="formGroup.get('definition').get('searchConfiguration')" [validationErrorModel]="editorModel.validationErrorModel" [validationRootPath]="'definition.searchConfiguration.'"></app-external-fetcher-source-component> <app-external-fetcher-source-component [formGroup]="formGroup.get('definition').get('searchConfiguration')" [validationErrorModel]="editorModel.validationErrorModel" [validationRootPath]="'definition.searchConfiguration.'"></app-external-fetcher-source-component>