From 599493892a9efa4e04ba1e4b39dfce9e8b37daf6 Mon Sep 17 00:00:00 2001 From: bryantran24 <158430748+bryantran24@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:14:35 -0500 Subject: [PATCH 01/12] Made slider show below for mobile view --- src/web/src/pages/NewCourseScheduler.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/web/src/pages/NewCourseScheduler.vue b/src/web/src/pages/NewCourseScheduler.vue index fc0094ce1..23b86eea3 100644 --- a/src/web/src/pages/NewCourseScheduler.vue +++ b/src/web/src/pages/NewCourseScheduler.vue @@ -808,6 +808,25 @@ sidebar-panel-nav { width: 25%; } +@media (max-width: 768px) { + .sidebar-panel { + position: static; + width: 100%; + height: auto; + margin: 0; + z-index: 1; + } + + .sidebar { + padding: 0; + } + + .main-body { + display: flex; + flex-direction: column; + } +} + .hidden { visibility: hidden; } From c7a31d301cad405b983f6473d1321f66b9d12ec1 Mon Sep 17 00:00:00 2001 From: bryantran24 <158430748+bryantran24@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:16:06 -0500 Subject: [PATCH 02/12] Move mobile view course selector Instead of mobile view showing course selector at top, I moved it below schedule view. --- src/web/src/pages/NewCourseScheduler.vue | 142 +++++++++++------------ 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/src/web/src/pages/NewCourseScheduler.vue b/src/web/src/pages/NewCourseScheduler.vue index 23b86eea3..14a21ef33 100644 --- a/src/web/src/pages/NewCourseScheduler.vue +++ b/src/web/src/pages/NewCourseScheduler.vue @@ -21,77 +21,6 @@ - + + + + + From 2a89f045bb313bd0c64f89a4715b52f8d6aa142e Mon Sep 17 00:00:00 2001 From: bryantran24 <158430748+bryantran24@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:34:28 -0500 Subject: [PATCH 03/12] Updated CRN, Credit, Color blind, export data row Made it work with mobile view and made it fit better --- src/web/src/pages/NewCourseScheduler.vue | 68 ++++++++++++------------ 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/src/web/src/pages/NewCourseScheduler.vue b/src/web/src/pages/NewCourseScheduler.vue index 14a21ef33..c717fc6ca 100644 --- a/src/web/src/pages/NewCourseScheduler.vue +++ b/src/web/src/pages/NewCourseScheduler.vue @@ -72,37 +72,34 @@ - - + +
CRNs: {{ selectedCrns }}
Credits: {{ totalCredits }}
- - - - - Color Blind Assistance - - - - - - - Export To ICS - - - - Export To Image - - - + + + + Color Blind Assistance + + + + + + Export To ICS + + + + Export To Image + +
@@ -773,6 +770,11 @@ sidebar-panel-nav { background: #3d4959 !important; } +.b-dropdown .dropdown-menu { + // shifts export data menu left + transform: translateX(-10px); +} + .slide-enter-active, .slide-leave-active { transition: transform 0.2s ease; @@ -809,22 +811,22 @@ sidebar-panel-nav { } @media (max-width: 768px) { + // basically mobile view showing sidebar at bottom instead + .main-body { + display: flex; + flex-direction: column; + } + .sidebar-panel { position: static; width: 100%; height: auto; margin: 0; - z-index: 1; } .sidebar { padding: 0; } - - .main-body { - display: flex; - flex-direction: column; - } } .hidden { From 1705f4d17148c359aaf5fc29c6cc3e37be10939b Mon Sep 17 00:00:00 2001 From: bryantran24 <158430748+bryantran24@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:28:08 -0500 Subject: [PATCH 04/12] Fixed bug where buttons went into next row --- src/web/src/pages/NewCourseScheduler.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/web/src/pages/NewCourseScheduler.vue b/src/web/src/pages/NewCourseScheduler.vue index c717fc6ca..e02b4b112 100644 --- a/src/web/src/pages/NewCourseScheduler.vue +++ b/src/web/src/pages/NewCourseScheduler.vue @@ -34,8 +34,8 @@ >
- - + + + Add some sections to generate schedules! @@ -58,7 +58,7 @@ {{ this.possibilities.length }} - +
- + +
-->