diff --git a/dmp-frontend/src/app/app.component.html b/dmp-frontend/src/app/app.component.html index a78df1f2d..7c790761a 100644 --- a/dmp-frontend/src/app/app.component.html +++ b/dmp-frontend/src/app/app.component.html @@ -65,9 +65,6 @@ - diff --git a/dmp-frontend/src/app/app.component.ts b/dmp-frontend/src/app/app.component.ts index 49b2c67ed..00ca991dd 100644 --- a/dmp-frontend/src/app/app.component.ts +++ b/dmp-frontend/src/app/app.component.ts @@ -9,9 +9,6 @@ import { MainSignInComponent } from './login/main-sign-in/main-sign-in.component import { AutocompleteRemoteComponent } from './form/fields/autocomplete-remote/autocomplete-remote.component'; -import { SampleFormComponent } from './sample-form/sample-form.component'; - - declare var $ :any; @Component({ selector: 'app-root', diff --git a/dmp-frontend/src/app/app.module.ts b/dmp-frontend/src/app/app.module.ts index 8f51a52d5..7504a0c34 100644 --- a/dmp-frontend/src/app/app.module.ts +++ b/dmp-frontend/src/app/app.module.ts @@ -70,7 +70,6 @@ import { UserWorkspaceComponent } from './user-workspace/user-workspace.componen import { AutocompleteRemoteComponent } from './form/fields/autocomplete-remote/autocomplete-remote.component'; import { Ng4LoadingSpinnerModule } from 'ng4-loading-spinner'; -import { SampleFormComponent } from './sample-form/sample-form.component'; @@ -101,7 +100,7 @@ import { SampleFormComponent } from './sample-form/sample-form.component'; DmpTableFilterPipe, DatasetTableFilterPipe, DatasetStatusFilterPipe, - StatusToString, SampleFormComponent + StatusToString ], imports: [ BrowserModule, diff --git a/dmp-frontend/src/app/sample-form/sample-form.component.css b/dmp-frontend/src/app/sample-form/sample-form.component.css deleted file mode 100644 index e69de29bb..000000000 diff --git a/dmp-frontend/src/app/sample-form/sample-form.component.html b/dmp-frontend/src/app/sample-form/sample-form.component.html deleted file mode 100644 index b7e67f845..000000000 --- a/dmp-frontend/src/app/sample-form/sample-form.component.html +++ /dev/null @@ -1,11 +0,0 @@ - -
- - -{{sampleForm.value | json }} -
\ No newline at end of file diff --git a/dmp-frontend/src/app/sample-form/sample-form.component.spec.ts b/dmp-frontend/src/app/sample-form/sample-form.component.spec.ts deleted file mode 100644 index 37668ad9b..000000000 --- a/dmp-frontend/src/app/sample-form/sample-form.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { SampleFormComponent } from './sample-form.component'; - -describe('SampleFormComponent', () => { - let component: SampleFormComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ SampleFormComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(SampleFormComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should be created', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/dmp-frontend/src/app/sample-form/sample-form.component.ts b/dmp-frontend/src/app/sample-form/sample-form.component.ts deleted file mode 100644 index 257f62940..000000000 --- a/dmp-frontend/src/app/sample-form/sample-form.component.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Component, OnInit } from '@angular/core'; -import { FormControl, FormGroup } from '@angular/forms'; - -import { AutocompleteRemoteComponent } from '../form/fields/autocomplete-remote/autocomplete-remote.component'; - -@Component({ - selector: 'sample-form', - templateUrl: './sample-form.component.html', - styleUrls: ['./sample-form.component.css'] -}) -export class SampleFormComponent implements OnInit { - - - sampleForm : any; - - - constructor() { } - - ngOnInit() { - - this.sampleForm = new FormGroup ({ - a1: new FormControl(), - a2: new FormControl(), - a3: new FormControl(), - a4: new FormControl() - }); - - } - -}