-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Styling Changes and My Courses Hotfix (#508)
* Attempt to Fix Profile Image Roundness * Revamp Community Agreement Dialog * Fix Office Hours Editor HTML Issue * Add Attributions for My Courses * Add a Few More Attributions
- Loading branch information
1 parent
6c6a09b
commit dcf9651
Showing
18 changed files
with
413 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
/** | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2023 | ||
* @license MIT | ||
*/ | ||
|
||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* The Course Catalog enables users to view all COMP courses at UNC. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2023 | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
/** | ||
* Tab navigation controller for courses. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
import { Component } from '@angular/core'; | ||
import { ActivatedRoute } from '@angular/router'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...c/app/my-courses/course/office-hours/office-hours-editor/office-hours-editor.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
/** | ||
* Component that enables the editing of office hours. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
import { Component } from '@angular/core'; | ||
import { | ||
courseSitePageGuard, | ||
|
8 changes: 8 additions & 0 deletions
8
...p/my-courses/course/office-hours/office-hours-get-help/office-hours-get-help.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
/** | ||
* Office hours page for students that enables them to create tickets and get help. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
import { | ||
Component, | ||
OnDestroy, | ||
|
8 changes: 8 additions & 0 deletions
8
...d/src/app/my-courses/course/office-hours/office-hours-page/office-hours-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
/** | ||
* Office hours page that shows events. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
import { Component, WritableSignal, signal } from '@angular/core'; | ||
import { PageEvent } from '@angular/material/paginator'; | ||
import { MatSnackBar } from '@angular/material/snack-bar'; | ||
|
8 changes: 8 additions & 0 deletions
8
...src/app/my-courses/course/office-hours/office-hours-queue/office-hours-queue.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
/** | ||
* Office hours queue for instructors. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
import { | ||
Component, | ||
OnDestroy, | ||
|
8 changes: 8 additions & 0 deletions
8
frontend/src/app/my-courses/course/roster/roster.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
/** | ||
* The Roster Component enables instructors to view the roster of their courses. | ||
* | ||
* @author Ajay Gandecha <[email protected]> | ||
* @copyright 2024 | ||
* @license MIT | ||
*/ | ||
|
||
import { | ||
Component, | ||
Signal, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 13 additions & 19 deletions
32
frontend/src/app/shared/community-agreement/community-agreement.widget.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,20 @@ | ||
.content-container { | ||
max-width: 100%; | ||
max-height: 90vh; | ||
overflow: auto; | ||
scroll-behavior: auto; | ||
padding-bottom: env(safe-area-inset-bottom); | ||
.mat-divider { | ||
margin-top: 16px; | ||
margin-bottom: 16px; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 5px; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
background: #888; | ||
border-radius: 10px; | ||
.mat-mdc-dialog-content { | ||
overflow-y: scroll; | ||
} | ||
|
||
::-webkit-scrollbar-thumb:hover { | ||
background: #555; | ||
/* Always show scrollbar */ | ||
::-webkit-scrollbar { | ||
-webkit-appearance: none; | ||
width: 7px; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
.content-container { | ||
color: white; | ||
} | ||
::-webkit-scrollbar-thumb { | ||
border-radius: 4px; | ||
background-color: rgba(0, 0, 0, .5); | ||
box-shadow: 0 0 1px rgba(255, 255, 255, .5); | ||
} |
Oops, something went wrong.