parent
8380e95217
commit
344f7a7eef
BIN
backend/allowance_planner.db3.backup.3
Normal file
BIN
backend/allowance_planner.db3.backup.3
Normal file
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
export interface History {
|
||||
timestamp: string;
|
||||
allowance: number;
|
||||
description: string;
|
||||
}
|
@ -10,11 +10,11 @@
|
||||
<div class="item" *ngFor="let history of history$ | async">
|
||||
<div class="left">
|
||||
<div class="date">{{ history.timestamp | date: 'yyyy-MM-dd' }}</div>
|
||||
<div class="description">Seba made an oopsie</div>
|
||||
<div class="description">{{ history.description }}</div>
|
||||
</div>
|
||||
<div
|
||||
class="amount"
|
||||
[ngClass]="{ 'negative': history.allowance < 0 }"
|
||||
>{{ history.allowance }}</div>
|
||||
>{{ history.allowance }} SP</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
|
@ -6,6 +6,10 @@
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.left {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.date {
|
||||
color: var(--line-color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user