Implement 'Add Transaction' from dashboard

This commit is contained in:
William Brawner 2018-08-31 21:03:12 -05:00
parent 4a77c91f68
commit 967bdb2665
2 changed files with 8 additions and 3 deletions

View file

@ -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 {

View file

@ -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 &gt;&gt;</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>