Browse Source

UI: Fixed tenant profile form

pull/8597/head
Artem Dzhereleiko 3 years ago
parent
commit
b671c7671b
  1. 2
      ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.html
  2. 8
      ui-ngx/src/app/modules/home/components/profile/tenant-profile.component.scss
  3. 4
      ui-ngx/src/app/modules/home/components/queue/queue-form.component.html

2
ui-ngx/src/app/modules/home/components/entity/add-entity-dialog.component.html

@ -15,7 +15,7 @@
limitations under the License.
-->
<form (ngSubmit)="add()" style="min-width: 400px; width: 700px;" [ngStyle]="entitiesTableConfig.addDialogStyle">
<form (ngSubmit)="add()" style="min-width: 400px; width: 750px;" [ngStyle]="entitiesTableConfig.addDialogStyle">
<mat-toolbar color="primary">
<h2 translate>{{ translations.add }}</h2>
<span fxFlex></span>

8
ui-ngx/src/app/modules/home/components/profile/tenant-profile.component.scss

@ -14,10 +14,16 @@
* limitations under the License.
*/
:host ::ng-deep {
.mat-mdc-form-field-infix {
.mat-mdc-floating-label {
width: 100% !important;
}
.mat-mdc-form-field-error {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mat-mdc-checkbox{
&.hinted-checkbox {
.mdc-checkbox {

4
ui-ngx/src/app/modules/home/components/queue/queue-form.component.html

@ -40,7 +40,7 @@
<div fxFlex fxLayout="row" fxLayout.xs="column" fxLayoutGap="16px" formGroupName="submitStrategy">
<div fxFlex>
<label class="group-label" translate>queue.submit-strategy</label>
<mat-radio-group fxFlex fxLayout="column" fxLayoutGap="15px" formControlName="type" required>
<mat-radio-group fxFlex fxLayout="column" formControlName="type" required>
<mat-radio-button *ngFor="let strategy of submitStrategies" [value]="strategy">
{{ queueSubmitStrategyTypesMap.get(queueSubmitStrategyTypes[strategy]).label | translate }}
<mat-icon
@ -78,7 +78,7 @@
<div fxFlex fxLayout="row" fxLayout.xs="column" fxLayoutGap="16px" formGroupName="processingStrategy">
<div fxFlex>
<label class="group-label" translate>queue.processing-strategy</label>
<mat-radio-group fxFlex fxLayout="column" fxLayoutGap="15px" formControlName="type" required>
<mat-radio-group fxFlex fxLayout="column" formControlName="type" required>
<mat-radio-button *ngFor="let strategy of processingStrategies" [value]="strategy">
{{ queueProcessingStrategyTypesMap.get(queueProcessingStrategyTypes[strategy]).label | translate }}
<mat-icon

Loading…
Cancel
Save