From cb9e29b402d3ae8fcaf3a82b7b9bf26de8b9871b Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Fri, 15 Nov 2024 19:40:28 -0800 Subject: [PATCH] Improve usability --- availabili.tf/src/App.vue | 1 - availabili.tf/src/assets/main.css | 25 ++++++++++++++++ .../src/components/AvailabilityGrid.vue | 24 +++++++++++++-- availabili.tf/src/views/TeamDetailsView.vue | 29 +++++++++++++++---- backend-flask/models/team.py | 14 +++++++-- backend-flask/team.py | 25 ++++++---------- 6 files changed, 91 insertions(+), 27 deletions(-) diff --git a/availabili.tf/src/App.vue b/availabili.tf/src/App.vue index 02452b2..2d55bfb 100644 --- a/availabili.tf/src/App.vue +++ b/availabili.tf/src/App.vue @@ -11,7 +11,6 @@ const baseUrl = window.location.origin;

availabili.tf

Home Schedule - Roster Builder
diff --git a/availabili.tf/src/assets/main.css b/availabili.tf/src/assets/main.css index 701beae..42c995e 100644 --- a/availabili.tf/src/assets/main.css +++ b/availabili.tf/src/assets/main.css @@ -142,6 +142,9 @@ main { } input { + display: block; + width: 100%; + color: var(--text); padding: 6px 9px; border: none; /*outline: 1px solid var(--overlay-0);*/ @@ -164,3 +167,25 @@ input { 'Helvetica Neue', sans-serif; } + +.form-group { + display: flex; + flex-direction: column; + gap: 4px; + flex-grow: 1; +} + +.form-group.margin { + margin-top: 16px; + margin-bottom: 16px; +} + +.form-group.row { + flex-direction: row; + margin: none; +} + +.form-group .action-buttons { + display: flex; + justify-content: end; +} diff --git a/availabili.tf/src/components/AvailabilityGrid.vue b/availabili.tf/src/components/AvailabilityGrid.vue index d88a393..610e1c5 100644 --- a/availabili.tf/src/components/AvailabilityGrid.vue +++ b/availabili.tf/src/components/AvailabilityGrid.vue @@ -1,6 +1,9 @@