From c9e4da9c71bd393f8ae3a20675b1769045f2e2ff Mon Sep 17 00:00:00 2001 From: "alec.schmidt" <alec.schmidt@etu.hesge.ch> Date: Thu, 15 Jun 2023 13:11:11 +0200 Subject: [PATCH] removed css files --- frontend/src/app/admin/admin.component.css | 0 frontend/src/app/admin/admin.component.ts | 5 +---- frontend/src/app/app.component.css | 0 frontend/src/app/app.component.ts | 3 +-- .../deletion-confirmation.component.css | 0 .../deletion-confirmation/deletion-confirmation.component.ts | 3 +-- frontend/src/app/gameroom/gameroom.component.css | 0 frontend/src/app/gameroom/gameroom.component.ts | 3 +-- frontend/src/app/login-shit/login/login.component.css | 0 frontend/src/app/login-shit/login/login.component.ts | 3 +-- frontend/src/app/login-shit/signup/signup.component.css | 0 frontend/src/app/login-shit/signup/signup.component.ts | 3 +-- .../question-shit/create-answer/create-answer.component.css | 0 .../question-shit/create-answer/create-answer.component.ts | 3 +-- .../create-category/create-category.component.css | 0 .../create-category/create-category.component.ts | 3 +-- .../create-question/create-question.component.css | 0 .../create-question/create-question.component.ts | 3 +-- .../remove-category/remove-category.component.css | 0 .../remove-category/remove-category.component.ts | 3 +-- .../question-shit/update-answer/update-answer.component.css | 0 .../question-shit/update-answer/update-answer.component.ts | 3 +-- .../update-question/update-question.component.css | 0 .../update-question/update-question.component.ts | 3 +-- frontend/src/app/services/socket.service.ts | 2 -- frontend/src/app/user-dropdown/user-dropdown.component.css | 0 frontend/src/app/user-dropdown/user-dropdown.component.ts | 3 +-- .../src/app/user-shit/create-user/create-user.component.css | 0 .../src/app/user-shit/create-user/create-user.component.ts | 3 +-- .../src/app/user-shit/update-user/update-user.component.css | 0 .../src/app/user-shit/update-user/update-user.component.ts | 3 +-- 31 files changed, 15 insertions(+), 34 deletions(-) delete mode 100644 frontend/src/app/admin/admin.component.css delete mode 100644 frontend/src/app/app.component.css delete mode 100644 frontend/src/app/deletion-confirmation/deletion-confirmation.component.css delete mode 100644 frontend/src/app/gameroom/gameroom.component.css delete mode 100644 frontend/src/app/login-shit/login/login.component.css delete mode 100644 frontend/src/app/login-shit/signup/signup.component.css delete mode 100644 frontend/src/app/question-shit/create-answer/create-answer.component.css delete mode 100644 frontend/src/app/question-shit/create-category/create-category.component.css delete mode 100644 frontend/src/app/question-shit/create-question/create-question.component.css delete mode 100644 frontend/src/app/question-shit/remove-category/remove-category.component.css delete mode 100644 frontend/src/app/question-shit/update-answer/update-answer.component.css delete mode 100644 frontend/src/app/question-shit/update-question/update-question.component.css delete mode 100644 frontend/src/app/user-dropdown/user-dropdown.component.css delete mode 100644 frontend/src/app/user-shit/create-user/create-user.component.css delete mode 100644 frontend/src/app/user-shit/update-user/update-user.component.css diff --git a/frontend/src/app/admin/admin.component.css b/frontend/src/app/admin/admin.component.css deleted file mode 100644 index e69de29..0000000 diff --git a/frontend/src/app/admin/admin.component.ts b/frontend/src/app/admin/admin.component.ts index 5522dc2..6607f66 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 e69de29..0000000 diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index a071477..9cbdb0d 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 e69de29..0000000 diff --git a/frontend/src/app/deletion-confirmation/deletion-confirmation.component.ts b/frontend/src/app/deletion-confirmation/deletion-confirmation.component.ts index 720e5c9..ecb5256 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 e69de29..0000000 diff --git a/frontend/src/app/gameroom/gameroom.component.ts b/frontend/src/app/gameroom/gameroom.component.ts index 4d938c3..abcc07b 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 e69de29..0000000 diff --git a/frontend/src/app/login-shit/login/login.component.ts b/frontend/src/app/login-shit/login/login.component.ts index 7107c9e..e2d04c2 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 e69de29..0000000 diff --git a/frontend/src/app/login-shit/signup/signup.component.ts b/frontend/src/app/login-shit/signup/signup.component.ts index ef685e7..5a6d55b 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 e69de29..0000000 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 4d146c1..13d6687 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 e69de29..0000000 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 55a47e5..2196a6f 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 e69de29..0000000 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 05cdb17..6db606f 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 e69de29..0000000 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 5dffc25..075023f 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 e69de29..0000000 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 d44594b..bb35a54 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 e69de29..0000000 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 a5de599..4e6f984 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 a2ae17a..fc06ac3 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 e69de29..0000000 diff --git a/frontend/src/app/user-dropdown/user-dropdown.component.ts b/frontend/src/app/user-dropdown/user-dropdown.component.ts index 1071ad3..34d1193 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 e69de29..0000000 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 984f2ec..2e5b76b 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 e69de29..0000000 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 a997185..dc3a19a 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 { -- GitLab