From 71186c4d98af8a9cf80f408e35eb82fac32f0f54 Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Fri, 4 Nov 2022 21:46:43 -0400 Subject: [PATCH] Add borrower input fields --- assets/main.css | 18 +++++++++++++----- components/new.vue | 47 +++++++++++++++++++++++++++++++++------------- 2 files changed, 47 insertions(+), 18 deletions(-) diff --git a/assets/main.css b/assets/main.css index 7613ceb..209187f 100644 --- a/assets/main.css +++ b/assets/main.css @@ -143,7 +143,6 @@ menu.sidebar svg { } #home .announce { - /* background: grey; */ min-height: 150px; border: 1px solid var(--outline); /* border-radius: 4px; */ @@ -190,16 +189,25 @@ section.loans-list { color: black; } +section.form input, section.form select { + border: 2px solid var(--outline); + border-radius: 3px; +} + section.radios { display: grid; grid-template-columns: 50px 1fr; + justify-content: center; row-gap: 20px; - /* border-bottom: 1px solid var(--text-lightest); */ - /* padding-bottom: 50px; */ - /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */ - /* border-radius: 3px; */ + max-width: 250px; } +section.inputs { + display: flex; + flex-flow: column; + max-width: 250px; + row-gap: 15px; +} section.radios h3 { grid-column: 1 / 3; } diff --git a/components/new.vue b/components/new.vue index c15c5b5..0b178eb 100644 --- a/components/new.vue +++ b/components/new.vue @@ -21,6 +21,19 @@ fill="currentColor" class="bi bi-plus" viewBox="0 0 16 16"> +

Borrower

+ + + + + + + +

Transaction Type

-
+

Property Details

@@ -44,7 +57,6 @@ selected="loans[sel].transaction == 1"> -
@@ -60,7 +72,7 @@ selected="loans[sel].transaction == 1">
-
+

Loan Details

- + - +
@@ -86,8 +98,13 @@ selected="loans[sel].transaction == 1">