mirror of https://github.com/ghostfolio/ghostfolio
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							90 lines
						
					
					
						
							2.7 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							90 lines
						
					
					
						
							2.7 KiB
						
					
					
				
								<mat-tab-group
							 | 
						|
								  animationDuration="0ms"
							 | 
						|
								  class="position-absolute"
							 | 
						|
								  headerPosition="below"
							 | 
						|
								  mat-align-tabs="center"
							 | 
						|
								  [disablePagination]="true"
							 | 
						|
								  (selectedTabChange)="onTabChanged($event)"
							 | 
						|
								>
							 | 
						|
								  <mat-tab>
							 | 
						|
								    <ng-template mat-tab-label>
							 | 
						|
								      <ion-icon name="analytics-outline" size="large"></ion-icon>
							 | 
						|
								    </ng-template>
							 | 
						|
								    <div
							 | 
						|
								      class="
							 | 
						|
								        container
							 | 
						|
								        d-flex
							 | 
						|
								        flex-column
							 | 
						|
								        h-100
							 | 
						|
								        justify-content-center
							 | 
						|
								        overview
							 | 
						|
								        position-relative
							 | 
						|
								      "
							 | 
						|
								    >
							 | 
						|
								      <div class="row">
							 | 
						|
								        <div
							 | 
						|
								          class="chart-container d-flex flex-column col justify-content-center"
							 | 
						|
								        >
							 | 
						|
								          <gf-line-chart
							 | 
						|
								            class="mr-3"
							 | 
						|
								            symbol="Performance"
							 | 
						|
								            [historicalDataItems]="historicalDataItems"
							 | 
						|
								            [showLoader]="false"
							 | 
						|
								            [showXAxis]="false"
							 | 
						|
								            [showYAxis]="false"
							 | 
						|
								          ></gf-line-chart>
							 | 
						|
								          <div
							 | 
						|
								            *ngIf="historicalDataItems?.length === 0"
							 | 
						|
								            class="d-flex justify-content-center"
							 | 
						|
								          >
							 | 
						|
								            <gf-no-transactions-info-indicator></gf-no-transactions-info-indicator>
							 | 
						|
								          </div>
							 | 
						|
								        </div>
							 | 
						|
								      </div>
							 | 
						|
								      <div class="overview-container row mb-5 mt-1">
							 | 
						|
								        <div class="col">
							 | 
						|
								          <gf-portfolio-performance
							 | 
						|
								            class="pb-4"
							 | 
						|
								            [baseCurrency]="user?.settings?.baseCurrency"
							 | 
						|
								            [isLoading]="isLoadingPerformance"
							 | 
						|
								            [locale]="user?.settings?.locale"
							 | 
						|
								            [performance]="performance"
							 | 
						|
								            [showDetails]="!hasImpersonationId && !user.settings.isRestrictedView"
							 | 
						|
								          ></gf-portfolio-performance>
							 | 
						|
								        </div>
							 | 
						|
								      </div>
							 | 
						|
								    </div>
							 | 
						|
								  </mat-tab>
							 | 
						|
								
							 | 
						|
								  <mat-tab>
							 | 
						|
								    <ng-template mat-tab-label>
							 | 
						|
								      <ion-icon name="wallet-outline" size="large"></ion-icon>
							 | 
						|
								    </ng-template>
							 | 
						|
								    <div class="container justify-content-center pb-3 px-3 positions">
							 | 
						|
								      <h3 class="d-flex justify-content-center mb-3" i18n>Holdings</h3>
							 | 
						|
								      <div class="row">
							 | 
						|
								        <div class="align-items-center col">
							 | 
						|
								          <mat-card *ngIf="hasPositions === true" class="p-0">
							 | 
						|
								            <mat-card-content>
							 | 
						|
								              <gf-positions
							 | 
						|
								                [baseCurrency]="user?.settings?.baseCurrency"
							 | 
						|
								                [deviceType]="deviceType"
							 | 
						|
								                [locale]="user?.settings?.locale"
							 | 
						|
								                [positions]="positions"
							 | 
						|
								                [range]="dateRange"
							 | 
						|
								              ></gf-positions>
							 | 
						|
								            </mat-card-content>
							 | 
						|
								          </mat-card>
							 | 
						|
								          <div
							 | 
						|
								            *ngIf="hasPositions === false"
							 | 
						|
								            class="d-flex justify-content-center"
							 | 
						|
								          >
							 | 
						|
								            <div>
							 | 
						|
								              <gf-no-transactions-info-indicator></gf-no-transactions-info-indicator>
							 | 
						|
								            </div>
							 | 
						|
								          </div>
							 | 
						|
								        </div>
							 | 
						|
								      </div>
							 | 
						|
								    </div>
							 | 
						|
								  </mat-tab>
							 | 
						|
								</mat-tab-group>
							 | 
						|
								
							 |