mirror of https://github.com/ghostfolio/ghostfolio
9 changed files with 336 additions and 303 deletions
@ -1,10 +1,29 @@ |
|||||
<div class="container"> |
<mat-tab-nav-panel #tabPanel class="flex-grow-1 overflow-auto"> |
||||
<div class="row"> |
<router-outlet></router-outlet> |
||||
<div class="col"> |
</mat-tab-nav-panel> |
||||
<h2 class="h3 mb-3 text-center" i18n>Account</h2> |
|
||||
<gf-user-account-membership *ngIf="user?.subscription" /> |
<nav |
||||
<gf-user-account-settings /> |
mat-align-tabs="center" |
||||
<gf-user-account-access /> |
mat-tab-nav-bar |
||||
</div> |
[disablePagination]="true" |
||||
</div> |
[tabPanel]="tabPanel" |
||||
</div> |
> |
||||
|
<ng-container *ngFor="let tab of tabs"> |
||||
|
<a |
||||
|
#rla="routerLinkActive" |
||||
|
*ngIf="tab.showCondition !== false" |
||||
|
class="px-3" |
||||
|
mat-tab-link |
||||
|
routerLinkActive |
||||
|
[active]="rla.isActive" |
||||
|
[routerLink]="tab.path" |
||||
|
[routerLinkActiveOptions]="{ exact: true }" |
||||
|
> |
||||
|
<ion-icon |
||||
|
[name]="tab.iconName" |
||||
|
[size]="deviceType === 'mobile' ? 'large': 'small'" |
||||
|
></ion-icon> |
||||
|
<div class="d-none d-sm-block ml-2">{{ tab.label }}</div> |
||||
|
</a> |
||||
|
</ng-container> |
||||
|
</nav> |
||||
|
@ -1,5 +1,9 @@ |
|||||
|
@import 'apps/client/src/styles/ghostfolio-style'; |
||||
|
|
||||
:host { |
:host { |
||||
|
color: rgb(var(--dark-primary-text)); |
||||
} |
} |
||||
|
|
||||
:host-context(.is-dark-theme) { |
:host-context(.is-dark-theme) { |
||||
|
color: rgb(var(--light-primary-text)); |
||||
} |
} |
||||
|
Loading…
Reference in new issue