Feature/harmonize page layouts (#417)
* Harmonize page layouts * Update changelog
This commit is contained in:
parent
93dcbeb6c7
commit
4ab6a1a071
@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Maximum number of orders
|
- Maximum number of orders
|
||||||
- Data provider service returns data for the `dataSource` / `symbol` pair
|
- Data provider service returns data for the `dataSource` / `symbol` pair
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Harmonized the page layouts
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed the broken line charts showing value labels
|
- Fixed the broken line charts showing value labels
|
||||||
|
@ -28,7 +28,10 @@
|
|||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer *ngIf="!user" class="footer d-flex justify-content-center w-100">
|
<footer
|
||||||
|
*ngIf="currentRoute === 'start'"
|
||||||
|
class="footer d-flex justify-content-center w-100"
|
||||||
|
>
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<div>
|
<div>
|
||||||
© {{ currentYear }} <a href="https://ghostfol.io">Ghostfolio</a>
|
© {{ currentYear }} <a href="https://ghostfol.io">Ghostfolio</a>
|
||||||
|
@ -11,9 +11,10 @@ import { takeUntil } from 'rxjs/operators';
|
|||||||
import { environment } from '../../../environments/environment';
|
import { environment } from '../../../environments/environment';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-about-page',
|
selector: 'gf-about-page',
|
||||||
templateUrl: './about-page.html',
|
styleUrls: ['./about-page.scss'],
|
||||||
styleUrls: ['./about-page.scss']
|
templateUrl: './about-page.html'
|
||||||
})
|
})
|
||||||
export class AboutPageComponent implements OnDestroy, OnInit {
|
export class AboutPageComponent implements OnDestroy, OnInit {
|
||||||
public baseCurrency = baseCurrency;
|
public baseCurrency = baseCurrency;
|
||||||
|
@ -20,9 +20,10 @@ import { EMPTY, Subject } from 'rxjs';
|
|||||||
import { catchError, switchMap, takeUntil } from 'rxjs/operators';
|
import { catchError, switchMap, takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-account-page',
|
selector: 'gf-account-page',
|
||||||
templateUrl: './account-page.html',
|
styleUrls: ['./account-page.scss'],
|
||||||
styleUrls: ['./account-page.scss']
|
templateUrl: './account-page.html'
|
||||||
})
|
})
|
||||||
export class AccountPageComponent implements OnDestroy, OnInit {
|
export class AccountPageComponent implements OnDestroy, OnInit {
|
||||||
@ViewChild('toggleSignInWithFingerprintEnabledElement')
|
@ViewChild('toggleSignInWithFingerprintEnabledElement')
|
||||||
|
@ -16,9 +16,10 @@ import { takeUntil } from 'rxjs/operators';
|
|||||||
import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog/create-or-update-account-dialog.component';
|
import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog/create-or-update-account-dialog.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-accounts-page',
|
selector: 'gf-accounts-page',
|
||||||
templateUrl: './accounts-page.html',
|
styleUrls: ['./accounts-page.scss'],
|
||||||
styleUrls: ['./accounts-page.scss']
|
templateUrl: './accounts-page.html'
|
||||||
})
|
})
|
||||||
export class AccountsPageComponent implements OnDestroy, OnInit {
|
export class AccountsPageComponent implements OnDestroy, OnInit {
|
||||||
public accounts: AccountModel[];
|
public accounts: AccountModel[];
|
||||||
|
@ -15,9 +15,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-admin-page',
|
selector: 'gf-admin-page',
|
||||||
templateUrl: './admin-page.html',
|
styleUrls: ['./admin-page.scss'],
|
||||||
styleUrls: ['./admin-page.scss']
|
templateUrl: './admin-page.html'
|
||||||
})
|
})
|
||||||
export class AdminPageComponent implements OnDestroy, OnInit {
|
export class AdminPageComponent implements OnDestroy, OnInit {
|
||||||
public dataGatheringInProgress: boolean;
|
public dataGatheringInProgress: boolean;
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-hallo-ghostfolio-page',
|
selector: 'gf-hallo-ghostfolio-page',
|
||||||
|
styleUrls: ['./hallo-ghostfolio-page.scss'],
|
||||||
templateUrl: './hallo-ghostfolio-page.html'
|
templateUrl: './hallo-ghostfolio-page.html'
|
||||||
})
|
})
|
||||||
export class HalloGhostfolioPageComponent {}
|
export class HalloGhostfolioPageComponent {}
|
||||||
|
@ -139,7 +139,7 @@
|
|||||||
Thomas von Ghostfolio
|
Thomas von Ghostfolio
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
<section class="my-5">
|
<section class="mb-4">
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li class="h5">
|
<li class="h5">
|
||||||
<span class="badge badge-light font-weight-normal mr-2"
|
<span class="badge badge-light font-weight-normal mr-2"
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
:host {
|
||||||
|
display: block;
|
||||||
|
}
|
@ -1,7 +1,9 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-hello-ghostfolio-page',
|
selector: 'gf-hello-ghostfolio-page',
|
||||||
|
styleUrls: ['./hello-ghostfolio-page.scss'],
|
||||||
templateUrl: './hello-ghostfolio-page.html'
|
templateUrl: './hello-ghostfolio-page.html'
|
||||||
})
|
})
|
||||||
export class HelloGhostfolioPageComponent {}
|
export class HelloGhostfolioPageComponent {}
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
Thomas from Ghostfolio
|
Thomas from Ghostfolio
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
<section class="my-5">
|
<section class="mb-4">
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li class="h5">
|
<li class="h5">
|
||||||
<span class="badge badge-light font-weight-normal mr-2"
|
<span class="badge badge-light font-weight-normal mr-2"
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
:host {
|
||||||
|
display: block;
|
||||||
|
}
|
@ -36,8 +36,8 @@ import { takeUntil } from 'rxjs/operators';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'gf-home-page',
|
selector: 'gf-home-page',
|
||||||
templateUrl: './home-page.html',
|
styleUrls: ['./home-page.scss'],
|
||||||
styleUrls: ['./home-page.scss']
|
templateUrl: './home-page.html'
|
||||||
})
|
})
|
||||||
export class HomePageComponent implements OnDestroy, OnInit {
|
export class HomePageComponent implements OnDestroy, OnInit {
|
||||||
@HostBinding('class.with-create-account-container') get isDemo() {
|
@HostBinding('class.with-create-account-container') get isDemo() {
|
||||||
|
@ -7,9 +7,10 @@ import { format } from 'date-fns';
|
|||||||
import { Subject } from 'rxjs';
|
import { Subject } from 'rxjs';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-landing-page',
|
selector: 'gf-landing-page',
|
||||||
templateUrl: './landing-page.html',
|
styleUrls: ['./landing-page.scss'],
|
||||||
styleUrls: ['./landing-page.scss']
|
templateUrl: './landing-page.html'
|
||||||
})
|
})
|
||||||
export class LandingPageComponent implements OnDestroy, OnInit {
|
export class LandingPageComponent implements OnDestroy, OnInit {
|
||||||
public currentYear = format(new Date(), 'yyyy');
|
public currentYear = format(new Date(), 'yyyy');
|
||||||
|
@ -15,9 +15,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-allocations-page',
|
selector: 'gf-allocations-page',
|
||||||
templateUrl: './allocations-page.html',
|
styleUrls: ['./allocations-page.scss'],
|
||||||
styleUrls: ['./allocations-page.scss']
|
templateUrl: './allocations-page.html'
|
||||||
})
|
})
|
||||||
export class AllocationsPageComponent implements OnDestroy, OnInit {
|
export class AllocationsPageComponent implements OnDestroy, OnInit {
|
||||||
public accounts: {
|
public accounts: {
|
||||||
|
@ -10,9 +10,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-analysis-page',
|
selector: 'gf-analysis-page',
|
||||||
templateUrl: './analysis-page.html',
|
styleUrls: ['./analysis-page.scss'],
|
||||||
styleUrls: ['./analysis-page.scss']
|
templateUrl: './analysis-page.html'
|
||||||
})
|
})
|
||||||
export class AnalysisPageComponent implements OnDestroy, OnInit {
|
export class AnalysisPageComponent implements OnDestroy, OnInit {
|
||||||
public accounts: {
|
public accounts: {
|
||||||
|
@ -7,9 +7,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-portfolio-page',
|
selector: 'gf-portfolio-page',
|
||||||
templateUrl: './portfolio-page.html',
|
styleUrls: ['./portfolio-page.scss'],
|
||||||
styleUrls: ['./portfolio-page.scss']
|
templateUrl: './portfolio-page.html'
|
||||||
})
|
})
|
||||||
export class PortfolioPageComponent implements OnDestroy, OnInit {
|
export class PortfolioPageComponent implements OnDestroy, OnInit {
|
||||||
public hasPermissionForSubscription: boolean;
|
public hasPermissionForSubscription: boolean;
|
||||||
|
@ -5,9 +5,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-report-page',
|
selector: 'gf-report-page',
|
||||||
templateUrl: './report-page.html',
|
styleUrls: ['./report-page.scss'],
|
||||||
styleUrls: ['./report-page.scss']
|
templateUrl: './report-page.html'
|
||||||
})
|
})
|
||||||
export class ReportPageComponent implements OnDestroy, OnInit {
|
export class ReportPageComponent implements OnDestroy, OnInit {
|
||||||
public accountClusterRiskRules: PortfolioReportRule[];
|
public accountClusterRiskRules: PortfolioReportRule[];
|
||||||
|
@ -19,9 +19,10 @@ import { CreateOrUpdateTransactionDialog } from './create-or-update-transaction-
|
|||||||
import { ImportTransactionDialog } from './import-transaction-dialog/import-transaction-dialog.component';
|
import { ImportTransactionDialog } from './import-transaction-dialog/import-transaction-dialog.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-transactions-page',
|
selector: 'gf-transactions-page',
|
||||||
templateUrl: './transactions-page.html',
|
styleUrls: ['./transactions-page.scss'],
|
||||||
styleUrls: ['./transactions-page.scss']
|
templateUrl: './transactions-page.html'
|
||||||
})
|
})
|
||||||
export class TransactionsPageComponent implements OnDestroy, OnInit {
|
export class TransactionsPageComponent implements OnDestroy, OnInit {
|
||||||
public defaultAccountId: string;
|
public defaultAccountId: string;
|
||||||
|
@ -7,9 +7,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-pricing-page',
|
selector: 'gf-pricing-page',
|
||||||
templateUrl: './pricing-page.html',
|
styleUrls: ['./pricing-page.scss'],
|
||||||
styleUrls: ['./pricing-page.scss']
|
templateUrl: './pricing-page.html'
|
||||||
})
|
})
|
||||||
export class PricingPageComponent implements OnDestroy, OnInit {
|
export class PricingPageComponent implements OnDestroy, OnInit {
|
||||||
public baseCurrency = baseCurrency;
|
public baseCurrency = baseCurrency;
|
||||||
|
@ -12,9 +12,10 @@ import { takeUntil } from 'rxjs/operators';
|
|||||||
import { ShowAccessTokenDialog } from './show-access-token-dialog/show-access-token-dialog.component';
|
import { ShowAccessTokenDialog } from './show-access-token-dialog/show-access-token-dialog.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-register-page',
|
selector: 'gf-register-page',
|
||||||
templateUrl: './register-page.html',
|
styleUrls: ['./register-page.scss'],
|
||||||
styleUrls: ['./register-page.scss']
|
templateUrl: './register-page.html'
|
||||||
})
|
})
|
||||||
export class RegisterPageComponent implements OnDestroy, OnInit {
|
export class RegisterPageComponent implements OnDestroy, OnInit {
|
||||||
public currentYear = format(new Date(), 'yyyy');
|
public currentYear = format(new Date(), 'yyyy');
|
||||||
|
@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
import { Subject } from 'rxjs';
|
import { Subject } from 'rxjs';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-resources-page',
|
selector: 'gf-resources-page',
|
||||||
templateUrl: './resources-page.html',
|
styleUrls: ['./resources-page.scss'],
|
||||||
styleUrls: ['./resources-page.scss']
|
templateUrl: './resources-page.html'
|
||||||
})
|
})
|
||||||
export class ResourcesPageComponent implements OnInit {
|
export class ResourcesPageComponent implements OnInit {
|
||||||
private unsubscribeSubject = new Subject<void>();
|
private unsubscribeSubject = new Subject<void>();
|
||||||
|
@ -6,9 +6,10 @@ import { Subject } from 'rxjs';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
host: { class: 'mb-5' },
|
||||||
selector: 'gf-webauthn-page',
|
selector: 'gf-webauthn-page',
|
||||||
templateUrl: './webauthn-page.html',
|
styleUrls: ['./webauthn-page.scss'],
|
||||||
styleUrls: ['./webauthn-page.scss']
|
templateUrl: './webauthn-page.html'
|
||||||
})
|
})
|
||||||
export class WebauthnPageComponent implements OnDestroy, OnInit {
|
export class WebauthnPageComponent implements OnDestroy, OnInit {
|
||||||
public hasError = false;
|
public hasError = false;
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
:host {
|
||||||
|
display: block;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user