diff options
Diffstat (limited to 'ufund-ui/src/app')
-rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.html | 5 | ||||
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.html | 10 |
2 files changed, 10 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 89d8fbe..f6a2041 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.html +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html @@ -47,9 +47,10 @@ <label>Physical</label><br> <input type="checkbox" name="urgent" [(ngModel)]="selectedNeed.urgent"> <label>Urgent</label> <br> - <input type="submit" value="Submit"> - <label>Description</label> + <label>Description</label> <br> <textarea name="description" [(ngModel)]="selectedNeed.description"></textarea><br> + <input type="submit" value="Submit"> + </form> <span *ngIf="statusText">{{statusText | async}}</span> diff --git a/ufund-ui/src/app/components/need-list/need-list.component.html b/ufund-ui/src/app/components/need-list/need-list.component.html index 3a4ca9c..d35f2ed 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.html +++ b/ufund-ui/src/app/components/need-list/need-list.component.html @@ -32,20 +32,24 @@ <span class="needName">{{need.name}}</span> <span class="needType">{{need.type}}</span> </div> - + <div class="right"> <span *ngIf="need.urgent" class="urgent">URGENT</span> <span *ngIf="need.location"><span class="icon">location_on</span>{{need.location}}</span> </div> </div> - + <div class="prog"> <span id="hover-status-label-{{need.id}}"> </span> <span>{{need.current}}/{{need.maxGoal}} ({{(need.current / need.maxGoal) * 100}}%)</span> <progress [value]="need.current" [max]="need.maxGoal"></progress> </div> - </div> + <div class="description"> + {{need.description}} + </div> + </div> + <div> <button *ngIf="isHelper()" (click)="add(need)">Add To Basket</button> <button *ngIf="isManager()" (click)="select(need)"> |