diff --git a/frontend/src/app/admin/admin.component.css b/frontend/src/app/admin/admin.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/admin/admin.component.ts b/frontend/src/app/admin/admin.component.ts index 5522dc22f33cf66ccf48db72b34ef681c564a1b4..6607f6646c5023c5e2650d2375dc4589a4007501 100644 --- a/frontend/src/app/admin/admin.component.ts +++ b/frontend/src/app/admin/admin.component.ts @@ -1,16 +1,13 @@ import { Component, OnInit } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; import { Answer, QandA, Question, User } from '../Types/types'; import { UsersService } from '../services/users.service'; import { QuestionsService } from '../services/questions.service'; -import { Subscription } from 'rxjs'; import { AuthenticationService } from '../services/authentication.service'; import { Router } from '@angular/router'; @Component({ selector: 'app-admin', - templateUrl: './admin.component.html', - styleUrls: ['./admin.component.css'] + templateUrl: './admin.component.html' }) export class AdminComponent implements OnInit { public data; diff --git a/frontend/src/app/app.component.css b/frontend/src/app/app.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index a07147730a22ce3dc68c8e8db5871cffa966ca5e..9cbdb0d58d5fe38666b711ff0853baafa866b2ac 100644 --- a/frontend/src/app/app.component.ts +++ b/frontend/src/app/app.component.ts @@ -4,8 +4,7 @@ import { AuthenticationService } from './services/authentication.service'; @Component({ selector: 'app-root', - templateUrl: './app.component.html', - styleUrls: ['./app.component.css'] + templateUrl: './app.component.html' }) export class AppComponent { title = 'frontend'; diff --git a/frontend/src/app/deletion-confirmation/deletion-confirmation.component.css b/frontend/src/app/deletion-confirmation/deletion-confirmation.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/deletion-confirmation/deletion-confirmation.component.ts b/frontend/src/app/deletion-confirmation/deletion-confirmation.component.ts index 720e5c97d98eec4de96bb369e590d4f873bf38e6..ecb52563d3079adbbb268f5e8cd45a65a0e06e2d 100644 --- a/frontend/src/app/deletion-confirmation/deletion-confirmation.component.ts +++ b/frontend/src/app/deletion-confirmation/deletion-confirmation.component.ts @@ -2,8 +2,7 @@ import { Component, EventEmitter, Output } from '@angular/core'; @Component({ selector: 'app-deletion-confirmation', - templateUrl: './deletion-confirmation.component.html', - styleUrls: ['./deletion-confirmation.component.css'] + templateUrl: './deletion-confirmation.component.html' }) export class DeletionConfirmationComponent { diff --git a/frontend/src/app/gameroom/gameroom.component.css b/frontend/src/app/gameroom/gameroom.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/gameroom/gameroom.component.ts b/frontend/src/app/gameroom/gameroom.component.ts index 4d938c3fff6e369936a401a8acee4f376cf2ead6..abcc07bcc62c1f95ec14fd4a602d6866c8c9d53a 100644 --- a/frontend/src/app/gameroom/gameroom.component.ts +++ b/frontend/src/app/gameroom/gameroom.component.ts @@ -4,8 +4,7 @@ import { Answer } from '../Types/types'; @Component({ selector: 'app-gameroom', - templateUrl: './gameroom.component.html', - styleUrls: ['./gameroom.component.css'] + templateUrl: './gameroom.component.html' }) export class GameroomComponent implements OnInit, OnDestroy { diff --git a/frontend/src/app/login-shit/login/login.component.css b/frontend/src/app/login-shit/login/login.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/login-shit/login/login.component.ts b/frontend/src/app/login-shit/login/login.component.ts index 7107c9ee0cbaff86b0567f29850fe0fa69eeb543..e2d04c2b8951ffd2ae6e61b6d485e98a96189e83 100644 --- a/frontend/src/app/login-shit/login/login.component.ts +++ b/frontend/src/app/login-shit/login/login.component.ts @@ -5,8 +5,7 @@ import { AuthenticationService } from '../../services/authentication.service'; @Component({ selector: 'app-login', - templateUrl: './login.component.html', - styleUrls: ['./login.component.css'] + templateUrl: './login.component.html' }) export class LoginComponent implements OnInit { diff --git a/frontend/src/app/login-shit/signup/signup.component.css b/frontend/src/app/login-shit/signup/signup.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/login-shit/signup/signup.component.ts b/frontend/src/app/login-shit/signup/signup.component.ts index ef685e7acb8c8236cb4316439d669ca9e4277dee..5a6d55b29c2f7c3d0baab189ef1e5fcc03532f90 100644 --- a/frontend/src/app/login-shit/signup/signup.component.ts +++ b/frontend/src/app/login-shit/signup/signup.component.ts @@ -7,8 +7,7 @@ import { User } from '../../Types/types'; @Component({ selector: 'app-signup', - templateUrl: './signup.component.html', - styleUrls: ['./signup.component.css'] + templateUrl: './signup.component.html' }) export class SignupComponent { diff --git a/frontend/src/app/question-shit/create-answer/create-answer.component.css b/frontend/src/app/question-shit/create-answer/create-answer.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/question-shit/create-answer/create-answer.component.ts b/frontend/src/app/question-shit/create-answer/create-answer.component.ts index 4d146c12ba00edfc706614a10cf837c08331da4c..13d66870891da0f644d1f62aed8da5b807059030 100644 --- a/frontend/src/app/question-shit/create-answer/create-answer.component.ts +++ b/frontend/src/app/question-shit/create-answer/create-answer.component.ts @@ -5,8 +5,7 @@ import { QuestionsService } from 'src/app/services/questions.service'; @Component({ selector: 'app-create-answer', - templateUrl: './create-answer.component.html', - styleUrls: ['./create-answer.component.css'] + templateUrl: './create-answer.component.html' }) export class CreateAnswerComponent { createAnswer: FormGroup; diff --git a/frontend/src/app/question-shit/create-category/create-category.component.css b/frontend/src/app/question-shit/create-category/create-category.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/question-shit/create-category/create-category.component.ts b/frontend/src/app/question-shit/create-category/create-category.component.ts index 55a47e54891f30c71b6ba7f8ab14a55e4fe6fa69..2196a6f89006b269e2f58f77a85215c203e6626d 100644 --- a/frontend/src/app/question-shit/create-category/create-category.component.ts +++ b/frontend/src/app/question-shit/create-category/create-category.component.ts @@ -5,8 +5,7 @@ import { QuestionsService } from 'src/app/services/questions.service'; @Component({ selector: 'app-create-category', - templateUrl: './create-category.component.html', - styleUrls: ['./create-category.component.css'] + templateUrl: './create-category.component.html' }) export class CreateCategoryComponent { createCategory: FormGroup; diff --git a/frontend/src/app/question-shit/create-question/create-question.component.css b/frontend/src/app/question-shit/create-question/create-question.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/question-shit/create-question/create-question.component.ts b/frontend/src/app/question-shit/create-question/create-question.component.ts index 05cdb1798b6ba7d7662bfcf4b80918e63b1218d7..6db606fde5d20614b3939c489c1cc1673e81a39f 100644 --- a/frontend/src/app/question-shit/create-question/create-question.component.ts +++ b/frontend/src/app/question-shit/create-question/create-question.component.ts @@ -5,8 +5,7 @@ import { QuestionsService } from 'src/app/services/questions.service'; @Component({ selector: 'app-create-question', - templateUrl: './create-question.component.html', - styleUrls: ['./create-question.component.css'] + templateUrl: './create-question.component.html' }) export class CreateQuestionComponent { createQuestion: FormGroup; diff --git a/frontend/src/app/question-shit/remove-category/remove-category.component.css b/frontend/src/app/question-shit/remove-category/remove-category.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/question-shit/remove-category/remove-category.component.ts b/frontend/src/app/question-shit/remove-category/remove-category.component.ts index 5dffc2514166149530e78cdd4fc302b16c210533..075023f8d516f78c66b1c084d7f208b35b7190a2 100644 --- a/frontend/src/app/question-shit/remove-category/remove-category.component.ts +++ b/frontend/src/app/question-shit/remove-category/remove-category.component.ts @@ -5,8 +5,7 @@ import { QuestionsService } from 'src/app/services/questions.service'; @Component({ selector: 'app-remove-category', - templateUrl: './remove-category.component.html', - styleUrls: ['./remove-category.component.css'] + templateUrl: './remove-category.component.html' }) export class RemoveCategoryComponent { removeCategory: FormGroup; diff --git a/frontend/src/app/question-shit/update-answer/update-answer.component.css b/frontend/src/app/question-shit/update-answer/update-answer.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/question-shit/update-answer/update-answer.component.ts b/frontend/src/app/question-shit/update-answer/update-answer.component.ts index d44594b85478aba24e126c2122739cdd9b5c347e..bb35a546c5f21c38e63814ce1960cb3f40faa02f 100644 --- a/frontend/src/app/question-shit/update-answer/update-answer.component.ts +++ b/frontend/src/app/question-shit/update-answer/update-answer.component.ts @@ -5,8 +5,7 @@ import { QuestionsService } from 'src/app/services/questions.service'; @Component({ selector: 'app-update-answer', - templateUrl: './update-answer.component.html', - styleUrls: ['./update-answer.component.css'] + templateUrl: './update-answer.component.html' }) export class UpdateAnswerComponent { updateAnswer: FormGroup; diff --git a/frontend/src/app/question-shit/update-question/update-question.component.css b/frontend/src/app/question-shit/update-question/update-question.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/question-shit/update-question/update-question.component.ts b/frontend/src/app/question-shit/update-question/update-question.component.ts index a5de599ff0d06b3747fe731c52191ba7491c8c5e..4e6f9842d2773029c99829543fa197af82e9bd92 100644 --- a/frontend/src/app/question-shit/update-question/update-question.component.ts +++ b/frontend/src/app/question-shit/update-question/update-question.component.ts @@ -6,8 +6,7 @@ import { UsersService } from 'src/app/services/users.service'; @Component({ selector: 'app-update-question', - templateUrl: './update-question.component.html', - styleUrls: ['./update-question.component.css'] + templateUrl: './update-question.component.html' }) export class UpdateQuestionComponent { updateQuestion: FormGroup; diff --git a/frontend/src/app/services/socket.service.ts b/frontend/src/app/services/socket.service.ts index a2ae17aa13d9dd3f4571277d90c88afbd5208794..fc06ac3f606943d691b5990a831fcb41aa72c2d6 100644 --- a/frontend/src/app/services/socket.service.ts +++ b/frontend/src/app/services/socket.service.ts @@ -90,13 +90,11 @@ export class SocketService { recievePlayerNumber(): void { this.socket.on("Players Waiting", number => { this._playerNumber.next(number); - console.log(this.playerNumber); }) } recieveQuestion(): void { this.socket.on("Question", question => { - this._currentQuestion.next(question); }) diff --git a/frontend/src/app/user-dropdown/user-dropdown.component.css b/frontend/src/app/user-dropdown/user-dropdown.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/user-dropdown/user-dropdown.component.ts b/frontend/src/app/user-dropdown/user-dropdown.component.ts index 1071ad33990d0cff45338b6776febdaed0c878d4..34d1193b4b9d4bf3264b73e154ab0df8b08604e3 100644 --- a/frontend/src/app/user-dropdown/user-dropdown.component.ts +++ b/frontend/src/app/user-dropdown/user-dropdown.component.ts @@ -5,8 +5,7 @@ import { UsersService } from '../services/users.service'; @Component({ selector: 'app-user-dropdown', - templateUrl: './user-dropdown.component.html', - styleUrls: ['./user-dropdown.component.css'] + templateUrl: './user-dropdown.component.html' }) export class UserDropdownComponent implements OnInit { diff --git a/frontend/src/app/user-shit/create-user/create-user.component.css b/frontend/src/app/user-shit/create-user/create-user.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/user-shit/create-user/create-user.component.ts b/frontend/src/app/user-shit/create-user/create-user.component.ts index 984f2ec76d31bc553cd6040989757ce8dbf0b7e4..2e5b76bdc4461dfd0b793089e4685919108fb060 100644 --- a/frontend/src/app/user-shit/create-user/create-user.component.ts +++ b/frontend/src/app/user-shit/create-user/create-user.component.ts @@ -5,8 +5,7 @@ import { UsersService } from '../../services/users.service'; @Component({ selector: 'app-create-user', - templateUrl: './create-user.component.html', - styleUrls: ['./create-user.component.css'] + templateUrl: './create-user.component.html' }) export class CreateUserComponent { createUser: FormGroup diff --git a/frontend/src/app/user-shit/update-user/update-user.component.css b/frontend/src/app/user-shit/update-user/update-user.component.css deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/frontend/src/app/user-shit/update-user/update-user.component.ts b/frontend/src/app/user-shit/update-user/update-user.component.ts index a997185a2754461210f29191c401c363e30727a5..dc3a19a3767250d610d9669ab9d3b38ff7bea012 100644 --- a/frontend/src/app/user-shit/update-user/update-user.component.ts +++ b/frontend/src/app/user-shit/update-user/update-user.component.ts @@ -6,8 +6,7 @@ import { AuthenticationService } from 'src/app/services/authentication.service'; @Component({ selector: 'app-update-user', - templateUrl: './update-user.component.html', - styleUrls: ['./update-user.component.css'] + templateUrl: './update-user.component.html' }) export class UpdateUserComponent implements OnInit {