From 2c476300873083dba653b3459975d20952c0957b Mon Sep 17 00:00:00 2001 From: annabakouli Date: Thu, 23 Nov 2017 13:26:22 +0200 Subject: [PATCH] fixed missing files error --- dmp-frontend/src/app/app.module.ts | 8 +- .../src/app/form/dynamic-form.component.html | 53 ++----- .../src/app/form/dynamic-form.component.ts | 144 ++---------------- .../visibility-rules.service.ts | 12 +- dmp-frontend/src/index.html | 67 ++++++++ 5 files changed, 110 insertions(+), 174 deletions(-) create mode 100644 dmp-frontend/src/index.html diff --git a/dmp-frontend/src/app/app.module.ts b/dmp-frontend/src/app/app.module.ts index 46dfd0356..e0ebc2023 100644 --- a/dmp-frontend/src/app/app.module.ts +++ b/dmp-frontend/src/app/app.module.ts @@ -1,3 +1,6 @@ +import { VisibilityRulesService } from './visibility-rules/visibility-rules.service'; +import { DynamicFormSectionComponent } from './form/dynamic-form-section/dynamic-form-section'; +import { DynamicFormCompositeFieldComponent } from './form/dynamic-form-composite-field/dynamic-form-composite-field'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule, forwardRef } from '@angular/core'; import { FormsModule, ReactiveFormsModule, NG_VALUE_ACCESSOR } from '@angular/forms'; @@ -81,6 +84,7 @@ import { ProjectDetailedComponent } from './viewers/project-detailed/project-det DynamicFormComponent, DynamicFormFieldComponent, DynamicFormGroupComponent, + DynamicFormCompositeFieldComponent, TocComponent, GooggleSignInComponent, MainSignInComponent, @@ -93,7 +97,7 @@ import { ProjectDetailedComponent } from './viewers/project-detailed/project-det DatasetsComponent, ConfirmationComponent, AutocompleteRemoteComponent, - + DynamicFormSectionComponent, ProjectTableFilterPipe, DmpVersionFilterPipe, DmpStatusFilterPipe, @@ -126,7 +130,7 @@ import { ProjectDetailedComponent } from './viewers/project-detailed/project-det useClass: GlobalInterceptor, multi: true, }, - ServerService, dataModelBuilder, GlobalVariables, AuthGuard, PaginationService, TokenService, LocalStorageService, RestBase, EestoreService,NativeLoginService + ServerService, dataModelBuilder,VisibilityRulesService, GlobalVariables, AuthGuard, PaginationService, TokenService, LocalStorageService, RestBase, EestoreService,NativeLoginService ], bootstrap: [AppComponent] }) diff --git a/dmp-frontend/src/app/form/dynamic-form.component.html b/dmp-frontend/src/app/form/dynamic-form.component.html index 499f96a41..9a3e00441 100644 --- a/dmp-frontend/src/app/form/dynamic-form.component.html +++ b/dmp-frontend/src/app/form/dynamic-form.component.html @@ -7,24 +7,7 @@
-
-

{{section.title}}

-
-
- -
-
- -
- -

{{section.title}}

-
-
- -
-
- -
+
@@ -54,20 +36,19 @@ - + --> - + -
- +
-
- - + - + @@ -121,7 +98,7 @@ -