diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 65a8b8ed332afaf11163b9d605d78298421eb768..0cab4d5af7e70c731fe529d53bebd9511046f9ac 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -64,6 +64,7 @@ import { CreatorHomeScreenComponent } from './creator-home-screen/creator-home-s import { CreateCommentComponent } from './create-comment/create-comment.component'; import { CommentService } from './comment.service'; import { ParticipantHomeScreenComponent } from './participant-home-screen/participant-home-screen.component'; +import { ParticipantRoomComponent } from './participant-room/participant-room.component'; import { DataStoreService } from './data-store.service'; @NgModule({ @@ -85,7 +86,8 @@ import { DataStoreService } from './data-store.service'; CreateCommentComponent, ParticipantHomeScreenComponent, CommentComponent, - ContentAnswersComponent + ContentAnswersComponent, + ParticipantRoomComponent ], entryComponents: [ RegisterComponent, diff --git a/src/app/participant-room/participant-room.component.html b/src/app/participant-room/participant-room.component.html new file mode 100644 index 0000000000000000000000000000000000000000..e3d7a91787712e5998d1005486b3d8f7414bd888 --- /dev/null +++ b/src/app/participant-room/participant-room.component.html @@ -0,0 +1,19 @@ +<div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="20px" fxFill> + <mat-list fxLayout="column" fxLayoutGap="10px" fxLayoutAlign="center"> + <mat-list-item>Room: {{roomId}}</mat-list-item> + <mat-list-item> + <button mat-fab color="primary"> + <mat-icon>question_answer</mat-icon> + </button> + <button mat-fab color="primary"> + <mat-icon>feedback</mat-icon> + </button> + </mat-list-item> + <mat-list-item> + <button mat-raised-button color="primary">Contents</button> + </mat-list-item> + <mat-list-item> + <button mat-raised-button color="primary">Comments</button> + </mat-list-item> + </mat-list> +</div> diff --git a/src/app/participant-room/participant-room.component.scss b/src/app/participant-room/participant-room.component.scss new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/src/app/participant-room/participant-room.component.spec.ts b/src/app/participant-room/participant-room.component.spec.ts new file mode 100644 index 0000000000000000000000000000000000000000..37811a7fbe4e4e2f3b30d9b43e7d698880c5850f --- /dev/null +++ b/src/app/participant-room/participant-room.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ParticipantRoomComponent } from './participant-room.component'; + +describe('ParticipantRoomComponent', () => { + let component: ParticipantRoomComponent; + let fixture: ComponentFixture<ParticipantRoomComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ParticipantRoomComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ParticipantRoomComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/participant-room/participant-room.component.ts b/src/app/participant-room/participant-room.component.ts new file mode 100644 index 0000000000000000000000000000000000000000..6e5404f51580d21e9dc809e119dee20829ef2911 --- /dev/null +++ b/src/app/participant-room/participant-room.component.ts @@ -0,0 +1,16 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-participant-room', + templateUrl: './participant-room.component.html', + styleUrls: ['./participant-room.component.scss'] +}) +export class ParticipantRoomComponent implements OnInit { + roomId = '1'; + constructor() { + } + + ngOnInit() { + } + +}