ghostfolio/apps/client/src/app/app.component.html

57 lines
1.5 KiB
HTML
Raw Normal View History

2021-04-13 21:53:58 +02:00
<header>
<gf-header
class="position-fixed w-100"
2021-04-13 21:53:58 +02:00
[currentRoute]="currentRoute"
[info]="info"
2021-04-13 21:53:58 +02:00
[user]="user"
(signOut)="onSignOut()"
2021-04-13 21:53:58 +02:00
></gf-header>
</header>
<main role="main">
<div
*ngIf="canCreateAccount || (info?.systemMessage && user)"
class="container info-message-container"
>
<div class="row">
<div class="col-md-8 offset-md-2 text-center">
<a *ngIf="canCreateAccount" class="text-center" [routerLink]="['/']">
<div
class="cursor-pointer d-inline-block info-message px-3 py-2"
(click)="onCreateAccount()"
>
<span i18n>You are using the Live Demo.</span>
<a class="ml-2" href="#" i18n>Create Account</a>
</div></a
2021-04-13 21:53:58 +02:00
>
<div
*ngIf="!canCreateAccount && info?.systemMessage && user"
class="d-inline-block info-message px-3 py-2"
>
{{ info.systemMessage }}
</div>
2021-04-13 21:53:58 +02:00
</div>
</div>
</div>
<router-outlet></router-outlet>
</main>
<footer
*ngIf="currentRoute === 'start'"
class="footer d-flex justify-content-center w-100"
>
2021-04-13 21:53:58 +02:00
<div class="container text-center">
<div>
© {{ currentYear }} <a href="https://ghostfol.io">Ghostfolio</a>
{{ version }}
</div>
2021-04-13 21:53:58 +02:00
<div class="py-2 text-muted">
<small i18n
>The risk of loss in trading can be substantial. It is not advisable to
invest money you may need in the short term.</small
>
</div>
</div>
</footer>