mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
* Improve TWA onboarding (Redirect to the account registration page) * Update changelogpull/174/head
committed by
GitHub
4 changed files with 35 additions and 29 deletions
@ -1,34 +1,36 @@ |
|||||
<div class="container"> |
<div class="container"> |
||||
<div class="row"> |
<div class="row"> |
||||
<div |
<div class="col"> |
||||
class="align-items-center d-flex flex-column justify-content-center mb-4 w-100" |
<div |
||||
> |
class="align-items-center d-flex flex-column justify-content-center mb-4 w-100" |
||||
<gf-logo size="medium"></gf-logo> |
> |
||||
</div> |
<gf-logo size="medium"></gf-logo> |
||||
|
</div> |
||||
|
|
||||
<div *ngIf="!hasError" class="col d-flex justify-content-center"> |
<div *ngIf="!hasError" class="col d-flex justify-content-center"> |
||||
<mat-spinner [diameter]="20"></mat-spinner> |
<mat-spinner [diameter]="20"></mat-spinner> |
||||
</div> |
</div> |
||||
<div |
<div |
||||
*ngIf="hasError" |
*ngIf="hasError" |
||||
class="align-items-center col d-flex flex-column justify-content-center" |
class="align-items-center col d-flex flex-column justify-content-center" |
||||
> |
|
||||
<h1 class="d-flex h5 justify-content-center mb-0 text-center" i18n> |
|
||||
Oops, authentication has failed. |
|
||||
</h1> |
|
||||
<button |
|
||||
class="mb-3 mt-4" |
|
||||
color="primary" |
|
||||
i18n |
|
||||
mat-flat-button |
|
||||
(click)="signIn()" |
|
||||
> |
> |
||||
Try again |
<h1 class="d-flex h5 justify-content-center mb-0 text-center" i18n> |
||||
</button> |
Oops, authentication has failed. |
||||
<div class="text-muted" i18n>or</div> |
</h1> |
||||
<button class="mt-1" i18n mat-flat-button (click)="deregisterDevice()"> |
<button |
||||
Go back to Home Page |
class="mb-3 mt-4" |
||||
</button> |
color="primary" |
||||
|
i18n |
||||
|
mat-flat-button |
||||
|
(click)="signIn()" |
||||
|
> |
||||
|
Try again |
||||
|
</button> |
||||
|
<div class="text-muted" i18n>or</div> |
||||
|
<button class="mt-1" i18n mat-flat-button (click)="deregisterDevice()"> |
||||
|
Go back to Home Page |
||||
|
</button> |
||||
|
</div> |
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
</div> |
</div> |
||||
|
Loading…
Reference in new issue