aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/cupboard.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
-rw-r--r--ufund-ui/src/app/components/cupboard/cupboard.component.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html
index b767439..6faea9b 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.html
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html
@@ -1,8 +1,12 @@
<h1> Cupboard </h1>
-<div id="create-button">
- <button (click)="open()">Create new Need</button>
+<div id="menu">
+ <button (click)="opencreate()">Create new Need</button>
+ <button (click)="opendestroy()">Delete all Needs</button>
+</div>
+<div id="destroy-form">
+ <button (click)="destroy()">Really Really sure you want to delete all needs?</button>
+ <button (click)="back()">Close</button>
</div>
-
<div id="create-form">
<h1> Create a new need </h1>
<form #cupboardForm="ngForm" (ngSubmit)="submit(cupboardForm.value)">
@@ -18,8 +22,8 @@
<input type="radio" name="type" value="PHYSICAL" ngModel>
<label>Physical</label><br>
<input type="submit" value="Submit">
- <button (click)="close()">Close</button>
+ <button (click)="back()">Close</button>
</form>
</div>
<hr>
-<app-need-list></app-need-list>
+<app-need-list></app-need-list> \ No newline at end of file