From 41773de1ec957b1a3ebf2693b0cb54c5a1860f1f Mon Sep 17 00:00:00 2001
From: Hagen <hagen.dressler@mni.thm.de>
Date: Wed, 7 Mar 2018 10:42:36 +0100
Subject: [PATCH] Add component create-comment

---
 src/app/app.module.ts                         |  7 +++---
 .../create-comment.component.html             |  3 +++
 .../create-comment.component.scss             |  0
 .../create-comment.component.spec.ts          | 25 +++++++++++++++++++
 .../create-comment.component.ts               | 15 +++++++++++
 5 files changed, 46 insertions(+), 4 deletions(-)
 create mode 100644 src/app/create-comment/create-comment.component.html
 create mode 100644 src/app/create-comment/create-comment.component.scss
 create mode 100644 src/app/create-comment/create-comment.component.spec.ts
 create mode 100644 src/app/create-comment/create-comment.component.ts

diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index f8a7e1ac4..d1156587e 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -58,6 +58,7 @@ import { AuthenticationGuard } from './authentication.guard';
 import { RoomService } from './room.service';
 import { RoomListComponent } from './room-list/room-list.component';
 import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-screen.component';
+import { CreateCommentComponent } from './create-comment/create-comment.component';
 
 @NgModule({
   declarations: [
@@ -73,7 +74,8 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s
     RegisterComponent,
     RoomCreationComponent,
     RoomListComponent,
-    CreatorHomeScreenComponent
+    CreatorHomeScreenComponent,
+    CreateCommentComponent
   ],
   entryComponents: [
     RegisterComponent,
@@ -83,9 +85,6 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s
     AppRoutingModule,
     BrowserModule,
     BrowserAnimationsModule,
-    MatButtonModule,
-    MatInputModule,
-    BrowserAnimationsModule,
     FlexLayoutModule,
     FormsModule,
     MatAutocompleteModule,
diff --git a/src/app/create-comment/create-comment.component.html b/src/app/create-comment/create-comment.component.html
new file mode 100644
index 000000000..3e7d5aca4
--- /dev/null
+++ b/src/app/create-comment/create-comment.component.html
@@ -0,0 +1,3 @@
+<p>
+  create-comment works!
+</p>
diff --git a/src/app/create-comment/create-comment.component.scss b/src/app/create-comment/create-comment.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/app/create-comment/create-comment.component.spec.ts b/src/app/create-comment/create-comment.component.spec.ts
new file mode 100644
index 000000000..eccf5fa7e
--- /dev/null
+++ b/src/app/create-comment/create-comment.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { CreateCommentComponent } from './create-comment.component';
+
+describe('CreateCommentComponent', () => {
+  let component: CreateCommentComponent;
+  let fixture: ComponentFixture<CreateCommentComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ CreateCommentComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(CreateCommentComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});
diff --git a/src/app/create-comment/create-comment.component.ts b/src/app/create-comment/create-comment.component.ts
new file mode 100644
index 000000000..1d7860507
--- /dev/null
+++ b/src/app/create-comment/create-comment.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'app-create-comment',
+  templateUrl: './create-comment.component.html',
+  styleUrls: ['./create-comment.component.scss']
+})
+export class CreateCommentComponent implements OnInit {
+
+  constructor() { }
+
+  ngOnInit() {
+  }
+
+}
-- 
GitLab