no message

This commit is contained in:
annabakouli 2018-01-11 18:25:41 +02:00
parent c277ea3095
commit d16df93e9f
4 changed files with 9 additions and 6 deletions

View File

@ -3,10 +3,10 @@
<mat-step [stepControl]="formGroup"> <mat-step [stepControl]="formGroup">
<form *ngIf="formGroup" [formGroup]="formGroup"> <form *ngIf="formGroup" [formGroup]="formGroup">
<ng-template matStepLabel>{{'DATASET-WIZARD.FIRST-STEP.TITLE' | translate}}</ng-template> <ng-template matStepLabel>{{'DATASET-WIZARD.FIRST-STEP.TITLE' | translate}}</ng-template>
<auto-complete class="full-width" placeholder="{{'DATASET-WIZARD.FIRST-STEP.DMP' | translate}}" [configuration]="dmpAutoCompleteConfiguration" <auto-complete class="mat-form-field-full-width" placeholder="{{'DATASET-WIZARD.FIRST-STEP.DMP' | translate}}" [configuration]="dmpAutoCompleteConfiguration"
titleKey="label" [control]="formGroup.get('dmp')" [required]="true"> titleKey="label" [control]="formGroup.get('dmp')" [required]="true">
</auto-complete> </auto-complete>
<auto-complete class="full-width" placeholder="{{'DATASET-WIZARD.FIRST-STEP.PROFILE' | translate}}" [configuration]="datasetProfileAutoCompleteConfiguration" <auto-complete class="mat-form-field-full-width" placeholder="{{'DATASET-WIZARD.FIRST-STEP.PROFILE' | translate}}" [configuration]="datasetProfileAutoCompleteConfiguration"
titleKey="label" [control]="formGroup.get('profile')" [required]="true" [disabled]="!formGroup.get('dmp').value"> titleKey="label" [control]="formGroup.get('profile')" [required]="true" [disabled]="!formGroup.get('dmp').value">
</auto-complete> </auto-complete>
<div> <div>

View File

@ -11,10 +11,13 @@
} }
.data-management-plan-editor { .data-management-plan-editor {
.mat-form-field-full-width{
mat-form-field { mat-form-field {
width: 100%; width: 100%;
padding: 3px; padding: 3px;
} }
}
.mat-card { .mat-card {
margin: 16px 0; margin: 16px 0;

View File

@ -18,7 +18,7 @@ import { ExternalSourcesItemModel } from "../../models/external-sources/External
@Component({ @Component({
selector: 'app-dataset-editor-component', selector: 'app-dataset-editor-component',
templateUrl: 'dataset-editor.component.html', templateUrl: 'dataset-editor.component.html',
styleUrls: ['./dataset-editor.component.css'], styleUrls: ['./dataset-editor.component.scss'],
providers: [DatasetService, ExternalSourcesService], providers: [DatasetService, ExternalSourcesService],
encapsulation: ViewEncapsulation.None encapsulation: ViewEncapsulation.None
}) })