Implement 'Add Transaction' from dashboard
This commit is contained in:
parent
4a77c91f68
commit
967bdb2665
2 changed files with 8 additions and 3 deletions
|
@ -35,11 +35,13 @@
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dashboard-primary a {
|
||||
.dashboard-primary div {
|
||||
bottom: 1em;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
left: 1em;
|
||||
right: 1em;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dashboard .no-categories {
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
<h2 class="balance">
|
||||
Current Balance: <span [ngClass]="{'income': balance > 0, 'expense': balance < 0}" >{{ balance | currency }}</span>
|
||||
</h2>
|
||||
<a routerLink="/transactions">View Transactions >></a>
|
||||
<div class="transaction-navigation">
|
||||
<a routerLink="/transactions/new">Add Transaction</a>
|
||||
<a routerLink="/transactions">View Transactions</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dashboard-categories">
|
||||
<h3 class="categories">Categories</h3>
|
||||
|
|
Loading…
Reference in a new issue