From 9ab4702fb66b3472f0fcc9a6cb57c25fa43d8c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:54:11 +0300 Subject: [PATCH] update pages --- .../components/access/access.component.html | 6 ++--- src/app/components/access/access.component.ts | 27 +++---------------- src/app/components/error/error.component.html | 6 ++--- src/app/components/error/error.component.ts | 26 ++---------------- src/app/components/login/login.component.html | 16 +++++------ src/app/components/login/login.component.ts | 2 ++ .../notfound/notfound.component.html | 22 +++++++-------- .../components/notfound/notfound.component.ts | 26 ++---------------- 8 files changed, 34 insertions(+), 97 deletions(-) diff --git a/src/app/components/access/access.component.html b/src/app/components/access/access.component.html index 99122f3..c03f388 100644 --- a/src/app/components/access/access.component.html +++ b/src/app/components/access/access.component.html @@ -7,10 +7,10 @@
- +
-

Access Denied

- You do not have the necesary permisions. Please contact admins. +

Access Denied

+ You do not have the necesary permisions. Please contact admins. Access denied
Go to Dashboard diff --git a/src/app/components/access/access.component.ts b/src/app/components/access/access.component.ts index 1867c97..401b3be 100644 --- a/src/app/components/access/access.component.ts +++ b/src/app/components/access/access.component.ts @@ -1,28 +1,7 @@ -import { Component, OnInit, OnDestroy } from '@angular/core'; -import { ConfigService } from '../../service/app.config.service'; -import { AppConfig } from '../../api/appconfig'; -import { Subscription } from 'rxjs'; +import { Component } from '@angular/core'; + @Component({ selector: 'app-access', templateUrl: './access.component.html', }) -export class AccessComponent implements OnInit, OnDestroy { - - config: AppConfig; - subscription: Subscription; - - constructor(public configService: ConfigService){ } - - ngOnInit(): void { - this.config = this.configService.config; - this.subscription = this.configService.configUpdate$.subscribe(config => { - this.config = config; - }); - } - - ngOnDestroy(): void { - if(this.subscription){ - this.subscription.unsubscribe(); - } - } -} +export class AccessComponent {} \ No newline at end of file diff --git a/src/app/components/error/error.component.html b/src/app/components/error/error.component.html index 9a19020..f65429a 100644 --- a/src/app/components/error/error.component.html +++ b/src/app/components/error/error.component.html @@ -7,10 +7,10 @@
- +
-

Error Occured

- Requested resource is not available. +

Error Occured

+ Requested resource is not available. Error
Go to Dashboard diff --git a/src/app/components/error/error.component.ts b/src/app/components/error/error.component.ts index 8f8fd3b..fff1795 100644 --- a/src/app/components/error/error.component.ts +++ b/src/app/components/error/error.component.ts @@ -1,29 +1,7 @@ -import { Component, OnInit, OnDestroy } from '@angular/core'; -import { ConfigService } from '../../service/app.config.service'; -import { AppConfig } from '../../api/appconfig'; -import { Subscription } from 'rxjs'; +import { Component } from '@angular/core'; @Component({ selector: 'app-error', templateUrl: './error.component.html', }) -export class ErrorComponent implements OnInit, OnDestroy { - - config: AppConfig; - subscription: Subscription; - - constructor(public configService: ConfigService){ } - - ngOnInit(): void { - this.config = this.configService.config; - this.subscription = this.configService.configUpdate$.subscribe(config => { - this.config = config; - }); - } - - ngOnDestroy(): void { - if(this.subscription){ - this.subscription.unsubscribe(); - } - } -} +export class ErrorComponent {} \ No newline at end of file diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html index f38c712..3b6922f 100644 --- a/src/app/components/login/login.component.html +++ b/src/app/components/login/login.component.html @@ -1,21 +1,21 @@
- Sakai logo + Sakai logo
-
+
Image -
Welcome, Isabel!
- Sign in to continue +
Welcome, Isabel!
+ Sign in to continue
- + - +
@@ -23,9 +23,9 @@
- Forgot password? + Forgot password?
- +
diff --git a/src/app/components/login/login.component.ts b/src/app/components/login/login.component.ts index edf5b6b..0bca5d9 100644 --- a/src/app/components/login/login.component.ts +++ b/src/app/components/login/login.component.ts @@ -14,11 +14,13 @@ import { Subscription } from 'rxjs'; :host ::ng-deep .pi-eye{ transform:scale(1.6); margin-right: 1rem; + color: var(--primary-color) !important; } :host ::ng-deep .pi-eye-slash{ transform:scale(1.6); margin-right: 1rem; + color: var(--primary-color) !important; } `] }) diff --git a/src/app/components/notfound/notfound.component.html b/src/app/components/notfound/notfound.component.html index 44375d1..242095f 100644 --- a/src/app/components/notfound/notfound.component.html +++ b/src/app/components/notfound/notfound.component.html @@ -7,33 +7,33 @@
404 -

Looks like you are lost

- Requested resource is not available. +

Looks like you are lost

+ Requested resource is not available.
- +
-

Frequently Asked Questions

- Ultricies mi quis hendrerit dolor. +

Frequently Asked Questions

+ Ultricies mi quis hendrerit dolor.
- +
-

Solution Center

- Phasellus faucibus scelerisque eleifend. +

Solution Center

+ Phasellus faucibus scelerisque eleifend.
- +
-

Permission Manager

- Accumsan in nisl nisi scelerisque +

Permission Manager

+ Accumsan in nisl nisi scelerisque
diff --git a/src/app/components/notfound/notfound.component.ts b/src/app/components/notfound/notfound.component.ts index d607612..567c8c3 100644 --- a/src/app/components/notfound/notfound.component.ts +++ b/src/app/components/notfound/notfound.component.ts @@ -1,29 +1,7 @@ -import { Component, OnInit, OnDestroy } from '@angular/core'; -import { ConfigService } from '../../service/app.config.service'; -import { AppConfig } from '../../api/appconfig'; -import { Subscription } from 'rxjs'; +import { Component } from '@angular/core'; @Component({ selector: 'app-notfound', templateUrl: './notfound.component.html', }) -export class NotfoundComponent implements OnInit, OnDestroy { - - config: AppConfig; - subscription: Subscription; - - constructor(public configService: ConfigService){ } - - ngOnInit(): void { - this.config = this.configService.config; - this.subscription = this.configService.configUpdate$.subscribe(config => { - this.config = config; - }); - } - - ngOnDestroy(): void { - if(this.subscription){ - this.subscription.unsubscribe(); - } - } -} +export class NotfoundComponent {} \ No newline at end of file