From 9cb106ed02876de22890fb297b429816e9f2af4f Mon Sep 17 00:00:00 2001 From: Thomas Lenz <Thomas.Lenz@mni.thm.de> Date: Thu, 15 Mar 2018 11:04:26 +0100 Subject: [PATCH] Add participant-choice-content component --- src/app/app.module.ts | 4 ++- .../participant-choice-content.component.html | 3 +++ .../participant-choice-content.component.scss | 0 ...rticipant-choice-content.component.spec.ts | 25 +++++++++++++++++++ .../participant-choice-content.component.ts | 15 +++++++++++ 5 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 src/app/participant-choice-content/participant-choice-content.component.html create mode 100644 src/app/participant-choice-content/participant-choice-content.component.scss create mode 100644 src/app/participant-choice-content/participant-choice-content.component.spec.ts create mode 100644 src/app/participant-choice-content/participant-choice-content.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 618e686c6..a95c4db1b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -75,6 +75,7 @@ import { ContentAnswerService } from './content-answer.service'; import { RoomDeletionComponent } from './room-deletion/room-deletion.component'; import { AnswerStatisticsComponent } from './answer-statistics/answer-statistics.component'; import { RoomModificationComponent } from './room-modification/room-modification.component'; +import { ParticipantChoiceContentComponent } from './participant-choice-content/participant-choice-content.component'; @NgModule({ declarations: [ @@ -103,7 +104,8 @@ import { RoomModificationComponent } from './room-modification/room-modification ContentAnswersListComponent, RoomDeletionComponent, RoomModificationComponent, - AnswerStatisticsComponent + AnswerStatisticsComponent, + ParticipantChoiceContentComponent ], entryComponents: [ RegisterComponent, diff --git a/src/app/participant-choice-content/participant-choice-content.component.html b/src/app/participant-choice-content/participant-choice-content.component.html new file mode 100644 index 000000000..de31e4f93 --- /dev/null +++ b/src/app/participant-choice-content/participant-choice-content.component.html @@ -0,0 +1,3 @@ +<p> + participant-choice-content works! +</p> diff --git a/src/app/participant-choice-content/participant-choice-content.component.scss b/src/app/participant-choice-content/participant-choice-content.component.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/app/participant-choice-content/participant-choice-content.component.spec.ts b/src/app/participant-choice-content/participant-choice-content.component.spec.ts new file mode 100644 index 000000000..bb07ae23f --- /dev/null +++ b/src/app/participant-choice-content/participant-choice-content.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ParticipantChoiceContentComponent } from './participant-choice-content.component'; + +describe('ParticipantChoiceContentComponent', () => { + let component: ParticipantChoiceContentComponent; + let fixture: ComponentFixture<ParticipantChoiceContentComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ParticipantChoiceContentComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ParticipantChoiceContentComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/participant-choice-content/participant-choice-content.component.ts b/src/app/participant-choice-content/participant-choice-content.component.ts new file mode 100644 index 000000000..7e9ef1cd9 --- /dev/null +++ b/src/app/participant-choice-content/participant-choice-content.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-participant-choice-content', + templateUrl: './participant-choice-content.component.html', + styleUrls: ['./participant-choice-content.component.scss'] +}) +export class ParticipantChoiceContentComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} -- GitLab