|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
<mat-toolbar class="p-0">
|
|
|
|
|
<ng-container *ngIf="user">
|
|
|
|
|
<a href="/" class="no-min-width px-2" mat-button>
|
|
|
|
|
<a [routerLink]="['/']" class="no-min-width px-2" mat-button>
|
|
|
|
|
<gf-logo></gf-logo>
|
|
|
|
|
</a>
|
|
|
|
|
<span class="spacer"></span>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block"
|
|
|
|
|
href="/"
|
|
|
|
|
[routerLink]="['/']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'home' ? 'primary' : null"
|
|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/analysis"
|
|
|
|
|
[routerLink]="['/analysis']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'analysis' ? 'primary' : null"
|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/report"
|
|
|
|
|
[routerLink]="['/report']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'report' ? 'primary' : null"
|
|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/transactions"
|
|
|
|
|
[routerLink]="['/transactions']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'transactions' ? 'primary' : null"
|
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
|
<a
|
|
|
|
|
*ngIf="canAccessAdminAccessControl"
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/admin"
|
|
|
|
|
[routerLink]="['/admin']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'admin' ? 'primary' : null"
|
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/resources"
|
|
|
|
|
[routerLink]="['/resources']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'resources' ? 'primary' : null"
|
|
|
|
@ -55,7 +55,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/about"
|
|
|
|
|
[routerLink]="['/about']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'about' ? 'primary' : null"
|
|
|
|
@ -119,7 +119,7 @@
|
|
|
|
|
</ng-container>
|
|
|
|
|
<a
|
|
|
|
|
class="d-block d-sm-none"
|
|
|
|
|
href="/analysis"
|
|
|
|
|
[routerLink]="['/analysis']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'analysis' }"
|
|
|
|
@ -127,7 +127,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-block d-sm-none"
|
|
|
|
|
href="/report"
|
|
|
|
|
[routerLink]="['/report']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'report' }"
|
|
|
|
@ -135,7 +135,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-block d-sm-none"
|
|
|
|
|
href="/transactions"
|
|
|
|
|
[routerLink]="['/transactions']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'transactions' }"
|
|
|
|
@ -143,7 +143,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="align-items-center d-flex"
|
|
|
|
|
href="/account"
|
|
|
|
|
[routerLink]="['/account']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'account' }"
|
|
|
|
@ -153,7 +153,7 @@
|
|
|
|
|
<a
|
|
|
|
|
*ngIf="canAccessAdminAccessControl"
|
|
|
|
|
class="d-block d-sm-none"
|
|
|
|
|
href="/admin"
|
|
|
|
|
[routerLink]="['/admin']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'admin' }"
|
|
|
|
@ -162,7 +162,7 @@
|
|
|
|
|
<hr class="m-0" />
|
|
|
|
|
<a
|
|
|
|
|
class="d-block d-sm-none"
|
|
|
|
|
href="/resources"
|
|
|
|
|
[routerLink]="['/resources']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'resources' }"
|
|
|
|
@ -170,7 +170,7 @@
|
|
|
|
|
>
|
|
|
|
|
<a
|
|
|
|
|
class="d-block d-sm-none"
|
|
|
|
|
href="/about"
|
|
|
|
|
[routerLink]="['/about']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[ngClass]="{ 'font-weight-bold': currentRoute === 'about' }"
|
|
|
|
@ -183,7 +183,7 @@
|
|
|
|
|
<ng-container *ngIf="user === null">
|
|
|
|
|
<a
|
|
|
|
|
*ngIf="currentRoute && currentRoute !== 'start'"
|
|
|
|
|
href="/"
|
|
|
|
|
[routerLink]="['/']"
|
|
|
|
|
class="mx-2 no-min-width px-2"
|
|
|
|
|
mat-button
|
|
|
|
|
>
|
|
|
|
@ -192,7 +192,7 @@
|
|
|
|
|
<span class="spacer"></span>
|
|
|
|
|
<a
|
|
|
|
|
class="d-none d-sm-block mx-1"
|
|
|
|
|
href="/about"
|
|
|
|
|
[routerLink]="['/about']"
|
|
|
|
|
i18n
|
|
|
|
|
mat-flat-button
|
|
|
|
|
[color]="currentRoute === 'about' ? 'primary' : null"
|
|
|
|
|