Skip to content

Commit 1627471

Browse files
committed
update login style
1 parent 2599d7b commit 1627471

File tree

7 files changed

+28
-11
lines changed

7 files changed

+28
-11
lines changed

projects/fusio-sdk/src/lib/component/login/login.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<div class="fusio-login">
33
<div class="fusio-login-panel">
44
<header class="text-center bg-light border-bottom">
5-
<h1 *ngIf="!logo">Login</h1>
65
<img *ngIf="logo" [src]="'assets/' + logo" class="m-3">
6+
<h1 *ngIf="title" class="p-3 m-0 lead">Login</h1>
77
</header>
88
<div class="fusio-login-panel-body">
99
<fusio-message [response]="response"></fusio-message>

projects/fusio-sdk/src/lib/component/login/login.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ export class LoginComponent implements OnInit {
2727

2828
identity?: IdentityCollection;
2929
logo?: string;
30+
title: boolean = false;
3031

3132
constructor(private consumer: ConsumerService, private router: Router, private location: LocationStrategy, private user: UserService, private config: ConfigService) {
3233
}
3334

3435
async ngOnInit(): Promise<void> {
3536
this.identity = await this.consumer.getClientAnonymous().identity().getAll();
3637
this.logo = this.config.getLogo();
38+
this.title = this.logo === undefined;
3739
}
3840

3941
async login() {
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11

22
<div class="fusio-login">
33
<div class="fusio-login-panel">
4-
<header>
5-
<h1>Provider</h1>
4+
<header class="text-center bg-light border-bottom">
5+
<h1 class="p-3 m-0 lead">Provider</h1>
66
</header>
77
<div class="fusio-login-panel-body">
88
<fusio-message [response]="response"></fusio-message>
99
</div>
10+
<div class="text-end p-2 fw-light bg-light border-top">
11+
<span class="text-muted" style="font-size:14px;"><a href="https://www.fusio-project.org/">Fusio</a></span>
12+
</div>
1013
</div>
1114
</div>

projects/fusio-sdk/src/lib/component/password/confirm/confirm.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<div class="fusio-login">
33
<div class="fusio-login-panel">
4-
<header>
5-
<h1>Password confirmation</h1>
4+
<header class="text-center bg-light border-bottom">
5+
<h1 class="p-3 m-0 lead">Password confirmation</h1>
66
</header>
77
<div class="fusio-login-panel-body">
88
<fusio-message [response]="response"></fusio-message>
@@ -21,5 +21,8 @@ <h1>Password confirmation</h1>
2121
</button>
2222
</form>
2323
</div>
24+
<div class="text-end p-2 fw-light bg-light border-top">
25+
<span class="text-muted" style="font-size:14px;"><a href="https://www.fusio-project.org/">Fusio</a></span>
26+
</div>
2427
</div>
2528
</div>

projects/fusio-sdk/src/lib/component/password/reset/reset.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<div class="fusio-login">
33
<div class="fusio-login-panel">
4-
<header>
5-
<h1>Password reset</h1>
4+
<header class="text-center bg-light border-bottom">
5+
<h1 class="p-3 m-0 lead">Password reset</h1>
66
</header>
77
<div class="fusio-login-panel-body">
88
<fusio-message [response]="response"></fusio-message>
@@ -21,5 +21,8 @@ <h1>Password reset</h1>
2121
</button>
2222
</form>
2323
</div>
24+
<div class="text-end p-2 fw-light bg-light border-top">
25+
<span class="text-muted" style="font-size:14px;"><a href="https://www.fusio-project.org/">Fusio</a></span>
26+
</div>
2427
</div>
2528
</div>
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11

22
<div class="fusio-login">
33
<div class="fusio-login-panel">
4-
<header>
5-
<h1>Activation</h1>
4+
<header class="text-center bg-light border-bottom">
5+
<h1 class="p-3 m-0 lead">Activation</h1>
66
</header>
77
<div class="fusio-login-panel-body">
88
<fusio-message [response]="response"></fusio-message>
99
</div>
10+
<div class="text-end p-2 fw-light bg-light border-top">
11+
<span class="text-muted" style="font-size:14px;"><a href="https://www.fusio-project.org/">Fusio</a></span>
12+
</div>
1013
</div>
1114
</div>

projects/fusio-sdk/src/lib/component/register/register.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<div class="fusio-login">
33
<div class="fusio-login-panel">
4-
<header>
5-
<h1>Register</h1>
4+
<header class="text-center bg-light border-bottom">
5+
<h1 class="p-3 m-0 lead">Register</h1>
66
</header>
77
<div class="fusio-login-panel-body">
88
<fusio-message [response]="response"></fusio-message>
@@ -33,5 +33,8 @@ <h1>Register</h1>
3333
</button>
3434
</form>
3535
</div>
36+
<div class="text-end p-2 fw-light bg-light border-top">
37+
<span class="text-muted" style="font-size:14px;"><a href="https://www.fusio-project.org/">Fusio</a></span>
38+
</div>
3639
</div>
3740
</div>

0 commit comments

Comments
 (0)