diff options
Diffstat (limited to 'ufund-ui/src/app/components/dashboard')
| -rw-r--r-- | ufund-ui/src/app/components/dashboard/dashboard.component.html | 10 | ||||
| -rw-r--r-- | ufund-ui/src/app/components/dashboard/dashboard.component.ts | 4 | 
2 files changed, 9 insertions, 5 deletions
diff --git a/ufund-ui/src/app/components/dashboard/dashboard.component.html b/ufund-ui/src/app/components/dashboard/dashboard.component.html index c73849f..fc8baf0 100644 --- a/ufund-ui/src/app/components/dashboard/dashboard.component.html +++ b/ufund-ui/src/app/components/dashboard/dashboard.component.html @@ -1,5 +1,5 @@ -<p>dashboard works!</p> -<ul> -    <li><a routerLink="/cupboard">Go to the Cupboard</a></li> -    <li><a routerLink="/basket">Go to my basket</a></li> -</ul> + +<h1>Dashboard</h1> +<input type="button" value="Back to Login" (click)="back()"> +<app-cupboard></app-cupboard> +<app-funding-basket></app-funding-basket>
\ No newline at end of file diff --git a/ufund-ui/src/app/components/dashboard/dashboard.component.ts b/ufund-ui/src/app/components/dashboard/dashboard.component.ts index dd323c4..48c5894 100644 --- a/ufund-ui/src/app/components/dashboard/dashboard.component.ts +++ b/ufund-ui/src/app/components/dashboard/dashboard.component.ts @@ -8,4 +8,8 @@ import { Component } from '@angular/core';  })  export class DashboardComponent {      constructor() {} + +    back() { +      window.history.back(); +    }  }  | 
