aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-edit
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-01 02:16:04 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-01 02:16:04 -0400
commit0e9c0803e35a23ef2e873dc7ebf224a49a92f207 (patch)
tree98583e1b1d21d1a0cc57e8ff3489fbbf758eccff /ufund-ui/src/app/components/need-edit
parent61daadccf89b2b84820386558ac454c0123d4299 (diff)
downloadJellySolutions-0e9c0803e35a23ef2e873dc7ebf224a49a92f207.tar.gz
JellySolutions-0e9c0803e35a23ef2e873dc7ebf224a49a92f207.tar.bz2
JellySolutions-0e9c0803e35a23ef2e873dc7ebf224a49a92f207.zip
Get everything working enough to go in main
Diffstat (limited to 'ufund-ui/src/app/components/need-edit')
-rw-r--r--ufund-ui/src/app/components/need-edit/need-edit.component.css21
-rw-r--r--ufund-ui/src/app/components/need-edit/need-edit.component.html6
2 files changed, 25 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/need-edit/need-edit.component.css b/ufund-ui/src/app/components/need-edit/need-edit.component.css
index e69de29..17605c2 100644
--- a/ufund-ui/src/app/components/need-edit/need-edit.component.css
+++ b/ufund-ui/src/app/components/need-edit/need-edit.component.css
@@ -0,0 +1,21 @@
+:host {
+ /*position: absolute;*/
+ /*background-color: rgba(0, 0, 0, 0.5);*/
+ /*display: flex;*/
+ /*height: 100%;*/
+ /*top: 0;*/
+ /*left: 0;*/
+ /*right: 0;*/
+ /*z-index: 5;*/
+ /*justify-content: center;*/
+}
+
+#create-form, #delete-form, #update-form {
+ margin-top: 50px;
+ background-color: #3a3a3a;
+ padding: 10px 20px 20px 20px;
+ border: 2px solid #000;
+ border-radius: 5px;
+ /*visibility: visible;*/
+ /*position: absolute;*/
+}
diff --git a/ufund-ui/src/app/components/need-edit/need-edit.component.html b/ufund-ui/src/app/components/need-edit/need-edit.component.html
index bcb166b..e776415 100644
--- a/ufund-ui/src/app/components/need-edit/need-edit.component.html
+++ b/ufund-ui/src/app/components/need-edit/need-edit.component.html
@@ -1,9 +1,11 @@
<div id="update-form">
<h1> Update Need </h1>
- <label>Needs:</label><br>
<form #updateForm="ngForm" (ngSubmit)="update(updateForm.value)">
+ <label>Name:</label><br>
<input type="text" name="name" [(ngModel)]="selectedNeed.name"><br>
+ <label>Image:</label><br>
<input type="text" name="image" [(ngModel)]="selectedNeed.image"><br>
+ <label>Location:</label><br>
<input type="text" name="location" [(ngModel)]="selectedNeed.location"><br>
<label>Max Goal:</label><br>
<input type="number" name="maxGoal" [(ngModel)]="selectedNeed.maxGoal"><br>
@@ -19,4 +21,4 @@
<input type="submit" value="Submit">
</form>
-</div> \ No newline at end of file
+</div>