aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-28 21:37:28 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-28 21:37:28 -0400
commite1eb3f16e10042c2539b56d6c2d2e33f07abf7d9 (patch)
tree921b54a870974a30612b8b079bdfd55570326f42 /ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html
parentfb4e2bc3eb66ca861eb8393ade21811e4510669a (diff)
downloadJellySolutions-e1eb3f16e10042c2539b56d6c2d2e33f07abf7d9.tar.gz
JellySolutions-e1eb3f16e10042c2539b56d6c2d2e33f07abf7d9.tar.bz2
JellySolutions-e1eb3f16e10042c2539b56d6c2d2e33f07abf7d9.zip
Implement new dashboard and mini-need-list
Diffstat (limited to '')
-rw-r--r--ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html b/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html
new file mode 100644
index 0000000..a2de9e5
--- /dev/null
+++ b/ufund-ui/src/app/components/mini-need-list/mini-need-list.component.html
@@ -0,0 +1,17 @@
+<div id="header">
+ <span>{{jtitle}}</span>
+ <a [routerLink]="url">Show All<span class="icon">arrow_forward_ios</span></a>
+</div>
+
+<div id="needList">
+ <div class="needEntry" *ngFor="let need of needList" [routerLink]="'/need/'+need.id">
+ <div>
+ <span class="needName">{{need.name}}</span>
+ <span class="needType">{{need.type}}</span>
+ </div>
+ <div>
+ <span>{{need.current}}/{{need.maxGoal}}</span>
+ <progress [max]="need.maxGoal" [value]="need.current"></progress>
+ </div>
+ </div>
+</div>