|
@ -6,67 +6,76 @@ |
|
|
<span class="spacer"></span> |
|
|
<span class="spacer"></span> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block" |
|
|
class="d-none d-sm-block" |
|
|
[routerLink]="['/']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('home') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('home') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/']" |
|
|
>Overview</a |
|
|
>Overview</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/analysis']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('analysis') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('analysis') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/analysis']" |
|
|
>Analysis</a |
|
|
>Analysis</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/report']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('report') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('report') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/report']" |
|
|
>X-ray</a |
|
|
>X-ray</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/transactions']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('transactions') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('transactions') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/transactions']" |
|
|
>Transactions</a |
|
|
>Transactions</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/accounts']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('accounts') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('accounts') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/accounts']" |
|
|
>Accounts</a |
|
|
>Accounts</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
*ngIf="hasPermissionToAccessAdminControl" |
|
|
*ngIf="hasPermissionToAccessAdminControl" |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/admin']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('admin') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('admin') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/admin']" |
|
|
>Admin Control</a |
|
|
>Admin Control</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/resources']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('resources') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('resources') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/resources']" |
|
|
>Resources</a |
|
|
>Resources</a |
|
|
> |
|
|
> |
|
|
|
|
|
<a |
|
|
|
|
|
*ngIf="hasPermissionForSubscription" |
|
|
|
|
|
class="d-none d-sm-block mx-1" |
|
|
|
|
|
i18n |
|
|
|
|
|
mat-flat-button |
|
|
|
|
|
[color]="currentRoute?.startsWith('pricing') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/pricing']" |
|
|
|
|
|
>Pricing</a |
|
|
|
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/about']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('about') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('about') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/about']" |
|
|
>About</a |
|
|
>About</a |
|
|
> |
|
|
> |
|
|
<button |
|
|
<button |
|
@ -127,72 +136,81 @@ |
|
|
</ng-container> |
|
|
</ng-container> |
|
|
<a |
|
|
<a |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/analysis']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('analysis') }" |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('analysis') }" |
|
|
|
|
|
[routerLink]="['/analysis']" |
|
|
>Analysis</a |
|
|
>Analysis</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/report']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('report') }" |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('report') }" |
|
|
|
|
|
[routerLink]="['/report']" |
|
|
>X-ray</a |
|
|
>X-ray</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/transactions']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ |
|
|
[ngClass]="{ |
|
|
'font-weight-bold': currentRoute?.startsWith('transactions') |
|
|
'font-weight-bold': currentRoute?.startsWith('transactions') |
|
|
}" |
|
|
}" |
|
|
|
|
|
[routerLink]="['/transactions']" |
|
|
>Transactions</a |
|
|
>Transactions</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/accounts']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('accounts') }" |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('accounts') }" |
|
|
|
|
|
[routerLink]="['/accounts']" |
|
|
>Accounts</a |
|
|
>Accounts</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="align-items-center d-flex" |
|
|
class="align-items-center d-flex" |
|
|
[routerLink]="['/account']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('account') }" |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('account') }" |
|
|
|
|
|
[routerLink]="['/account']" |
|
|
>Ghostfolio Account</a |
|
|
>Ghostfolio Account</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
*ngIf="hasPermissionToAccessAdminControl" |
|
|
*ngIf="hasPermissionToAccessAdminControl" |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/admin']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('admin') }" |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('admin') }" |
|
|
|
|
|
[routerLink]="['/admin']" |
|
|
>Admin Control</a |
|
|
>Admin Control</a |
|
|
> |
|
|
> |
|
|
<hr class="m-0" /> |
|
|
<hr class="m-0" /> |
|
|
<a |
|
|
<a |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/resources']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ |
|
|
[ngClass]="{ |
|
|
'font-weight-bold': currentRoute?.startsWith('resources') |
|
|
'font-weight-bold': currentRoute?.startsWith('resources') |
|
|
}" |
|
|
}" |
|
|
|
|
|
[routerLink]="['/resources']" |
|
|
>Resources</a |
|
|
>Resources</a |
|
|
> |
|
|
> |
|
|
|
|
|
<a |
|
|
|
|
|
*ngIf="hasPermissionForSubscription" |
|
|
|
|
|
class="d-block d-sm-none" |
|
|
|
|
|
i18n |
|
|
|
|
|
mat-menu-item |
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('pricing') }" |
|
|
|
|
|
[routerLink]="['/pricing']" |
|
|
|
|
|
>Pricing</a |
|
|
|
|
|
> |
|
|
<a |
|
|
<a |
|
|
class="d-block d-sm-none" |
|
|
class="d-block d-sm-none" |
|
|
[routerLink]="['/about']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('about') }" |
|
|
[ngClass]="{ 'font-weight-bold': currentRoute?.startsWith('about') }" |
|
|
|
|
|
[routerLink]="['/about']" |
|
|
>About Ghostfolio</a |
|
|
>About Ghostfolio</a |
|
|
> |
|
|
> |
|
|
<hr class="d-block d-sm-none m-0" /> |
|
|
<hr class="d-block d-sm-none m-0" /> |
|
@ -202,19 +220,19 @@ |
|
|
<ng-container *ngIf="user === null"> |
|
|
<ng-container *ngIf="user === null"> |
|
|
<a |
|
|
<a |
|
|
*ngIf="currentRoute && currentRoute !== 'start'" |
|
|
*ngIf="currentRoute && currentRoute !== 'start'" |
|
|
[routerLink]="['/']" |
|
|
|
|
|
class="mx-2 no-min-width px-2" |
|
|
class="mx-2 no-min-width px-2" |
|
|
mat-button |
|
|
mat-button |
|
|
|
|
|
[routerLink]="['/']" |
|
|
> |
|
|
> |
|
|
<gf-logo></gf-logo> |
|
|
<gf-logo></gf-logo> |
|
|
</a> |
|
|
</a> |
|
|
<span class="spacer"></span> |
|
|
<span class="spacer"></span> |
|
|
<a |
|
|
<a |
|
|
class="d-none d-sm-block mx-1" |
|
|
class="d-none d-sm-block mx-1" |
|
|
[routerLink]="['/about']" |
|
|
|
|
|
i18n |
|
|
i18n |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
[color]="currentRoute?.startsWith('about') ? 'primary' : null" |
|
|
[color]="currentRoute?.startsWith('about') ? 'primary' : null" |
|
|
|
|
|
[routerLink]="['/about']" |
|
|
>About</a |
|
|
>About</a |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|