+
+
{{ element.subject_code }}{{ element.number }}:
{{ element.title }}
-
+
}
-
+
diff --git a/frontend/src/app/academics/academics-admin/course/admin-course.component.ts b/frontend/src/app/academics/academics-admin/course/admin-course.component.ts
index c052f76c6..181741428 100644
--- a/frontend/src/app/academics/academics-admin/course/admin-course.component.ts
+++ b/frontend/src/app/academics/academics-admin/course/admin-course.component.ts
@@ -8,19 +8,16 @@
*/
import { Component, WritableSignal, inject, signal } from '@angular/core';
-import { Observable } from 'rxjs';
import { permissionGuard } from 'src/app/permission.guard';
import { Course } from '../../academics.models';
-import { Route, Router } from '@angular/router';
+import { Router } from '@angular/router';
import { MatSnackBar } from '@angular/material/snack-bar';
import { AcademicsService } from '../../academics.service';
-import { RxCourseList } from '../rx-academics-admin';
@Component({
- selector: 'app-admin-course',
- templateUrl: './admin-course.component.html',
- styleUrls: ['./admin-course.component.css'],
- standalone: false
+ selector: 'app-admin-course',
+ templateUrl: './admin-course.component.html',
+ standalone: false
})
export class AdminCourseComponent {
public static Route = {
diff --git a/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.css b/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.css
deleted file mode 100644
index 2cbbf7b9d..000000000
--- a/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.css
+++ /dev/null
@@ -1,26 +0,0 @@
-.mat-mdc-card {
- margin: 1em;
- max-width: 640px;
- }
-
-mat-card-content {
- display: flex;
- flex-direction: column;
- gap: 16px;
- padding-top: 16px;
-}
-
-mat-form-field {
- width: 100%;
-}
-
-
-.mat-mdc-card-actions .mdc-button {
- margin-left: 8px;
- margin-bottom: 8px;
-}
-
-/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
-mat-card-content {
- margin-top: 8px;
-}
\ No newline at end of file
diff --git a/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.html b/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.html
index 0f56286cf..a1128a12b 100644
--- a/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.html
+++ b/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.html
@@ -10,9 +10,9 @@
Update Course
-
+
-
+
Subject Code
-
+
Number
-
+
Title
-
+
Course Description
-
+
Credit Hours
-
-
-
+
+
+
+
+
diff --git a/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.ts b/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.ts
index 2ce45a819..3bdfb287e 100644
--- a/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.ts
+++ b/frontend/src/app/academics/academics-admin/course/course-editor/course-editor.component.ts
@@ -44,10 +44,9 @@ const canActivateEditor: CanActivateFn = (
};
@Component({
- selector: 'app-course-editor',
- templateUrl: './course-editor.component.html',
- styleUrls: ['./course-editor.component.css'],
- standalone: false
+ selector: 'app-course-editor',
+ templateUrl: './course-editor.component.html',
+ standalone: false
})
export class CourseEditorComponent {
/** Route information to be used in the Routing Module */
diff --git a/frontend/src/app/academics/academics-admin/room/admin-room.component.css b/frontend/src/app/academics/academics-admin/room/admin-room.component.css
deleted file mode 100644
index ddc089745..000000000
--- a/frontend/src/app/academics/academics-admin/room/admin-room.component.css
+++ /dev/null
@@ -1,37 +0,0 @@
-.mat-mdc-row .mat-mdc-cell {
- border-bottom: 1px solid transparent;
- border-top: 1px solid transparent;
- cursor: pointer;
-}
-
-.mat-mdc-row:hover .mat-mdc-cell {
- border-color: white;
-}
-
-.header {
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.row {
- display: flex;
- flex-direction: row;
- width: 100%;
- justify-content: space-between;
- align-items: center;
-}
-
-.modify-buttons {
- margin-left: auto;
-}
-
-#edit-button {
- margin-right: 8px;
-}
-
-::ng-deep .mat-mdc-card-outlined {
- max-width: 100% !important;
- margin-right: 32px !important;
- }
-
\ No newline at end of file
diff --git a/frontend/src/app/academics/academics-admin/room/admin-room.component.html b/frontend/src/app/academics/academics-admin/room/admin-room.component.html
index 3852e6c22..346cc7f09 100644
--- a/frontend/src/app/academics/academics-admin/room/admin-room.component.html
+++ b/frontend/src/app/academics/academics-admin/room/admin-room.component.html
@@ -1,5 +1,5 @@
-
+
@if(rooms()) {
@@ -7,19 +7,19 @@
|
- |
-
-
+
+
{{ element.nickname }}
-
+
}
-
+
diff --git a/frontend/src/app/academics/academics-admin/room/admin-room.component.ts b/frontend/src/app/academics/academics-admin/room/admin-room.component.ts
index 441548bed..36573e322 100644
--- a/frontend/src/app/academics/academics-admin/room/admin-room.component.ts
+++ b/frontend/src/app/academics/academics-admin/room/admin-room.component.ts
@@ -17,10 +17,9 @@ import { Observable } from 'rxjs';
import { Room } from '../../academics.models';
@Component({
- selector: 'app-admin-room',
- templateUrl: './admin-room.component.html',
- styleUrls: ['./admin-room.component.css'],
- standalone: false
+ selector: 'app-admin-room',
+ templateUrl: './admin-room.component.html',
+ standalone: false
})
export class AdminRoomComponent {
public static Route = {
diff --git a/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.css b/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.css
deleted file mode 100644
index a39da2c42..000000000
--- a/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.css
+++ /dev/null
@@ -1,33 +0,0 @@
-.mat-mdc-card {
- margin: 1em;
- max-width: 640px;
- }
-
-mat-card-content {
- display: flex;
- flex-direction: column;
- gap: 16px;
- padding-top: 16px;
-}
-
-mat-form-field {
- width: 100%;
-}
-
-mat-slide-toggle {
- padding-bottom: 16px;
-}
-
-.mat-mdc-card-actions .mdc-button {
- margin-left: 8px;
- margin-bottom: 8px;
-}
-
-/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
-mat-card-content {
- margin-top: 8px;
-}
-
-.checkbox {
- margin-top: 0px;
-}
\ No newline at end of file
diff --git a/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.html b/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.html
index 97fc1d663..99ad84274 100644
--- a/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.html
+++ b/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.html
@@ -10,9 +10,10 @@
Update Room
-
+
@@ -25,7 +26,7 @@
required />
-
+
Room Nickname
-
+
Room Building
-
+
Room Number
-
+
Room Capacity
-
+
Reservable?
-
-
-
+
+
+
+
+
diff --git a/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.ts b/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.ts
index b5cfc92d5..37e945dae 100644
--- a/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.ts
+++ b/frontend/src/app/academics/academics-admin/room/room-editor/room-editor.component.ts
@@ -19,11 +19,8 @@ import {
import { FormBuilder, FormControl, Validators } from '@angular/forms';
import { PermissionService } from 'src/app/permission.service';
import { profileResolver } from 'src/app/profile/profile.resolver';
-import {
- roomResolver,
- termResolver
-} from 'src/app/academics/academics.resolver';
-import { Room, Term } from 'src/app/academics/academics.models';
+import { roomResolver } from 'src/app/academics/academics.resolver';
+import { Room } from 'src/app/academics/academics.models';
import { MatSnackBar } from '@angular/material/snack-bar';
import { AcademicsService } from 'src/app/academics/academics.service';
import { Profile } from 'src/app/models.module';
@@ -44,10 +41,9 @@ const canActivateEditor: CanActivateFn = (
}
};
@Component({
- selector: 'app-room-editor',
- templateUrl: './room-editor.component.html',
- styleUrls: ['./room-editor.component.css'],
- standalone: false
+ selector: 'app-room-editor',
+ templateUrl: './room-editor.component.html',
+ standalone: false
})
export class RoomEditorComponent {
/** Route information to be used in the Routing Module */
diff --git a/frontend/src/app/academics/academics-admin/section/admin-section.component.css b/frontend/src/app/academics/academics-admin/section/admin-section.component.css
deleted file mode 100644
index 54c673012..000000000
--- a/frontend/src/app/academics/academics-admin/section/admin-section.component.css
+++ /dev/null
@@ -1,52 +0,0 @@
-.mat-mdc-row .mat-mdc-cell {
- border-bottom: 1px solid transparent;
- border-top: 1px solid transparent;
- cursor: pointer;
-}
-
-.mat-mdc-row:hover .mat-mdc-cell {
- border-color: white;
-}
-
-.header {
- display: flex;
- align-items: center;
- padding-top: 16px;
- padding-bottom: 16px;
-}
-
-.row {
- display: flex;
- flex-direction: row;
- width: 100%;
- justify-content: space-between;
- align-items: center;
-}
-
-.modify-buttons {
- margin-left: auto;
-}
-
-#edit-button {
- margin-right: 8px;
-}
-
-.right-header-container {
- display: flex;
- flex-direction: row;
- margin-left: auto;
- gap: 12px;
- align-items: center;
-}
-
-.term-selector {
- width: 260px;
- margin-bottom: -1.25em;
- }
-
-
-::ng-deep .mat-mdc-card-outlined {
- max-width: 100% !important;
- margin-right: 32px !important;
-}
-
\ No newline at end of file
diff --git a/frontend/src/app/academics/academics-admin/section/admin-section.component.html b/frontend/src/app/academics/academics-admin/section/admin-section.component.html
index 5935d465f..8a522b88a 100644
--- a/frontend/src/app/academics/academics-admin/section/admin-section.component.html
+++ b/frontend/src/app/academics/academics-admin/section/admin-section.component.html
@@ -1,15 +1,15 @@
-
+
|
- |
-
-
+
+
{{ element.subject_code }}
{{ element.course_number }} - {{ element.section_number }}:
{{ element.title }}
-
+
Cancel
@@ -88,16 +89,16 @@
| |
-
+
} @else {
-
-
+
+
Upcoming Reservations
No upcoming reservations.
-
+
} } @if (activeReservations()) { @if(activeReservations().length > 0) {
-
+
Active Reservations
@@ -151,12 +152,12 @@
| |
-
+
} @else {
-
-
+
+
Active Reservations
It's lonely in here.
-
+
} }
diff --git a/frontend/src/app/coworking/ambassador-home/ambassador-xl/ambassador-xl.component.ts b/frontend/src/app/coworking/ambassador-home/ambassador-xl/ambassador-xl.component.ts
index d7c3cf9c2..9c6842d5c 100644
--- a/frontend/src/app/coworking/ambassador-home/ambassador-xl/ambassador-xl.component.ts
+++ b/frontend/src/app/coworking/ambassador-home/ambassador-xl/ambassador-xl.component.ts
@@ -16,10 +16,9 @@ import { CoworkingService } from '../../coworking.service';
const FIVE_SECONDS = 5 * 1000;
@Component({
- selector: 'app-ambassador-xl',
- templateUrl: './ambassador-xl.component.html',
- styleUrls: ['./ambassador-xl.component.css'],
- standalone: false
+ selector: 'app-ambassador-xl',
+ templateUrl: './ambassador-xl.component.html',
+ standalone: false
})
export class AmbassadorXLComponent implements OnDestroy, OnInit {
/** Route information to be used in App Routing Module */
diff --git a/frontend/src/app/coworking/coworking-home/coworking-home.component.css b/frontend/src/app/coworking/coworking-home/coworking-home.component.css
deleted file mode 100644
index 536dbeb06..000000000
--- a/frontend/src/app/coworking/coworking-home/coworking-home.component.css
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* coworking.component.css
-*
-* The coworking page is the hub for students to reserve materials from
-* the CSXL coworking space.
-*
-*/
-
-.reserve-room-content {
- display: flex;
- flex-direction: row;
- align-items: center;
- margin-top: 16px;
- margin-bottom: 16px;
-}
-
-.reserve-room-text {
- display: flex;
- flex-direction: column;
- justify-content: center;
- margin-left: 16px;
-
- p {
- margin-bottom: 0px;
- }
-}
-
-#new-room-reservation-button {
- margin-left: auto;
- margin-right: 16px;
-}
\ No newline at end of file
diff --git a/frontend/src/app/coworking/coworking-home/coworking-home.component.html b/frontend/src/app/coworking/coworking-home/coworking-home.component.html
index 2b468a78e..9c608d0d9 100644
--- a/frontend/src/app/coworking/coworking-home/coworking-home.component.html
+++ b/frontend/src/app/coworking/coworking-home/coworking-home.component.html
@@ -24,13 +24,13 @@
}
-
-
+
+
Reserve a Room
Reserve a room in the XL hallway!
;
@@ -118,11 +117,7 @@ export class CoworkingPageComponent implements OnInit, OnDestroy {
reserve(seatSelection: SeatAvailability[]) {
this.coworkingService.draftReservation(seatSelection).subscribe({
error: (response) => {
- this.snackBar.open(
- response.error.message,
- '',
- { duration: 8000 }
- );
+ this.snackBar.open(response.error.message, '', { duration: 8000 });
},
next: (reservation) => {
this.router.navigateByUrl(`/coworking/reservation/${reservation.id}`);
diff --git a/frontend/src/app/coworking/reservation/reservation.component.css b/frontend/src/app/coworking/reservation/reservation.component.css
deleted file mode 100644
index 4c3fd726f..000000000
--- a/frontend/src/app/coworking/reservation/reservation.component.css
+++ /dev/null
@@ -1,34 +0,0 @@
-.card-container {
- margin: 16px;
-}
-
-.mat-mdc-card {
- max-width: 640px;
- margin: 0px;
-}
-
-.mat-mdc-card-header {
- margin-bottom: 16px;
-}
-
-.mat-mdc-card-actions {
- margin-top: 16px;
-}
-
-.mat-divider {
- margin: 1em 0;
-}
-
-h3 {
- font-size: 18px;
- margin-bottom: 0px;
-}
-
-h3 > label {
- width: 64px;
- display: inline-block;
-}
-
-p {
- margin-left: 64px;
-}
diff --git a/frontend/src/app/coworking/reservation/reservation.component.html b/frontend/src/app/coworking/reservation/reservation.component.html
index 16e953d56..f98c1138d 100644
--- a/frontend/src/app/coworking/reservation/reservation.component.html
+++ b/frontend/src/app/coworking/reservation/reservation.component.html
@@ -1,4 +1,4 @@
-
+
@if(reservationService.reservation()) {
= (
};
@Component({
- selector: 'app-coworking-reservation',
- templateUrl: './reservation.component.html',
- styleUrls: ['./reservation.component.css'],
- standalone: false
+ selector: 'app-coworking-reservation',
+ templateUrl: './reservation.component.html',
+ standalone: false
})
export class ReservationComponent {
public static Route: Route = {
diff --git a/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.css b/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.css
deleted file mode 100644
index 4c3fd726f..000000000
--- a/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.css
+++ /dev/null
@@ -1,34 +0,0 @@
-.card-container {
- margin: 16px;
-}
-
-.mat-mdc-card {
- max-width: 640px;
- margin: 0px;
-}
-
-.mat-mdc-card-header {
- margin-bottom: 16px;
-}
-
-.mat-mdc-card-actions {
- margin-top: 16px;
-}
-
-.mat-divider {
- margin: 1em 0;
-}
-
-h3 {
- font-size: 18px;
- margin-bottom: 0px;
-}
-
-h3 > label {
- width: 64px;
- display: inline-block;
-}
-
-p {
- margin-left: 64px;
-}
diff --git a/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.html b/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.html
index 2b1cdd2e6..293c26b85 100644
--- a/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.html
+++ b/frontend/src/app/coworking/room-reservation/confirm-reservation/confirm-reservation.component.html
@@ -1,4 +1,4 @@
-
+
@if(reservation) {
-
- Reserve a Room
-
+
+ Reserve a Room
+ Total Hours Remaining:
{{ numHoursStudyRoomReservations$ | async }}
-
+
@@ -13,27 +13,27 @@
-
-
-
- Available
+
+
-
-
- Reserved
+
-
-
- Your Reservations
+
-
-
- Selected
+
-
-
+
diff --git a/frontend/src/app/coworking/room-reservation/new-reservation-page/new-reservation-page.component.ts b/frontend/src/app/coworking/room-reservation/new-reservation-page/new-reservation-page.component.ts
index 0ff9b5b17..a32252d14 100644
--- a/frontend/src/app/coworking/room-reservation/new-reservation-page/new-reservation-page.component.ts
+++ b/frontend/src/app/coworking/room-reservation/new-reservation-page/new-reservation-page.component.ts
@@ -14,10 +14,9 @@ import { RoomReservationService } from '../room-reservation.service';
import { MatSnackBar } from '@angular/material/snack-bar';
@Component({
- selector: 'app-new-reservation-page',
- templateUrl: './new-reservation-page.component.html',
- styleUrls: ['./new-reservation-page.component.css'],
- standalone: false
+ selector: 'app-new-reservation-page',
+ templateUrl: './new-reservation-page.component.html',
+ standalone: false
})
export class NewReservationPageComponent implements OnInit {
public static Route = {
diff --git a/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.css b/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.css
deleted file mode 100644
index 988a8855a..000000000
--- a/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.css
+++ /dev/null
@@ -1,20 +0,0 @@
-
-/* NOTE: This is the only way to apply the pane style without duplicating a lot of code. */
-::ng-deep .pane {
- border-color: transparent !important;
-}
-
-.mat-mdc-card-actions {
- padding-bottom: 16px;
- justify-content: end;
- gap: 12px;
-}
-
-@media only screen and (max-width: 640px) {
- .mat-mdc-card-actions {
- flex-direction: column;
- padding-bottom: 16px;
- align-items: start;
- gap: 12px;
- }
-}
diff --git a/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.html b/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.html
index c444787da..90b317a44 100644
--- a/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.html
+++ b/frontend/src/app/coworking/widgets/coworking-reservation-card/coworking-reservation-card.html
@@ -1,4 +1,4 @@
-
+
@switch (reservation.state) { @case ('DRAFT') {
@@ -34,7 +34,7 @@
-
+
@switch (reservation.state) { @case ('DRAFT') {
();
diff --git a/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.css b/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.css
deleted file mode 100644
index b7994e604..000000000
--- a/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.css
+++ /dev/null
@@ -1,124 +0,0 @@
-/* Begin Action List Styling */
-
-.mat-mdc-list-item {
- border-radius: 12px;
-}
-
-.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end {
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 32px;
- margin-top: auto;
- margin-bottom: auto;
- /* margin-top: auto;
- margin-bottom: auto;
- line-height: 32px;
- font-size: 32px;
- vertical-align: middle; */
-}
-
-.mdc-list-item__content {
- align-items: center;
-}
-
-.mdc-list-item__primary-text {
- margin-top: -4px !important;
- margin-left: 4px !important;
-}
-
-.mdc-list-item__secondary-text {
- margin-left: 4px !important;
- margin-bottom: 0px;
-}
-
-/* .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines
- .mdc-list-item__end::before {
- height: 40px;
-} */
-
-.mdc-list-item--with-leading-icon .mdc-list-item__start {
- font-size: 24px;
- background: #4786c6;
- width: 36px;
- height: 36px;
- text-align: center;
- margin-top: auto;
- margin-bottom: auto;
- margin-left: 8px;
- margin-right: 8px;
- padding-bottom: 0;
- line-height: 36px;
- border-radius: 100%;
- color: white;
-}
-
-.mdc-list-item--with-leading-icon .mdc-list-item__start.unavailable {
- background: #612d23;
-}
-
-.mdc-list-item--with-leading-icon .mdc-list-item__start.upcoming {
- background: #234261;
-}
-
-/* End Action List Styling */
-
-.mat-mdc-card {
- margin: 0 !important;
- max-width: 640px;
-}
-
-.dropin-header {
- display: flex;
- margin-bottom: 0.5rem;
- align-items: center;
- justify-content: space-between;
-}
-
-.mdc-list-group__subheader {
- margin: 0;
-}
-
-.mdc-list-item {
- padding: 0 !important;
- display: flex;
- align-items: baseline;
-}
-
-.mdc-list-group__subheader {
- margin: 0;
-}
-
-.mat-mdc-list-base {
- padding: 0;
-}
-
-.mat-expansion-panel-header-description {
- align-items: right;
- flex: 0 0 auto;
-}
-
-.mat-expansion-panel-header-description button {
- z-index: 10 !important;
-}
-
-mat-expansion-panel {
- margin-top: 8px;
-}
-
-.mat-action-row {
- align-items: center;
-}
-
-/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
-mat-checkbox {
- flex: 1;
-}
-
-.bolded {
- font-weight: 500;
-}
-
-a {
- text-decoration: none;
-}
diff --git a/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.html b/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.html
index 5dc78ae11..70c1d5c93 100644
--- a/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.html
+++ b/frontend/src/app/coworking/widgets/dropin-availability-card/dropin-availability-card.widget.html
@@ -1,6 +1,6 @@
- |