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.
36 lines
959 B
36 lines
959 B
@if (isLoading) {
|
|
<ngx-skeleton-loader
|
|
animation="pulse"
|
|
appearance="circle"
|
|
[theme]="{
|
|
height: '1.8rem',
|
|
width: '1.8rem'
|
|
}"
|
|
/>
|
|
} @else {
|
|
@if (marketState === 'closed' && range === '1d') {
|
|
<ion-icon class="text-muted" name="pause-circle-outline" [size]="size" />
|
|
} @else if (marketState === 'delayed' && range === '1d') {
|
|
<ion-icon class="text-muted" name="time-outline" [size]="size" />
|
|
} @else if (value <= -0.0005) {
|
|
<ion-icon
|
|
class="text-danger"
|
|
name="arrow-down-circle-outline"
|
|
[ngClass]="{ 'rotate-45-down': value > -0.01 }"
|
|
[size]="size"
|
|
/>
|
|
} @else if (value > -0.0005 && value < 0.0005) {
|
|
<ion-icon
|
|
class="text-muted"
|
|
name="arrow-forward-circle-outline"
|
|
[size]="size"
|
|
/>
|
|
} @else {
|
|
<ion-icon
|
|
class="text-success"
|
|
name="arrow-up-circle-outline"
|
|
[ngClass]="{ 'rotate-45-up': value < 0.01 }"
|
|
[size]="size"
|
|
/>
|
|
}
|
|
}
|
|
|