minor styling
This commit is contained in:
@@ -74,6 +74,7 @@ export class Course {
|
|||||||
|
|
||||||
constructor(course: Course | Serialized<Course>) {
|
constructor(course: Course | Serialized<Course>) {
|
||||||
Object.assign(this, course);
|
Object.assign(this, course);
|
||||||
|
this.schedule = new CourseSchedule(course.schedule);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
margin: 40px;
|
margin: 50px 20px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
@@ -26,5 +26,9 @@
|
|||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.instructors {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,11 +33,10 @@ export default function CoursePopup({ course, onClose }: Props) {
|
|||||||
#{course.uniqueId}
|
#{course.uniqueId}
|
||||||
</Link>
|
</Link>
|
||||||
</Text>
|
</Text>
|
||||||
<Text size='medium'>
|
<Text size='medium' className={styles.instructors}>
|
||||||
{course.getInstructorString({
|
{course.getInstructorString({
|
||||||
prefix: 'with ',
|
prefix: 'with ',
|
||||||
format: 'first_last',
|
format: 'first_last',
|
||||||
max: 3,
|
|
||||||
})}
|
})}
|
||||||
</Text>
|
</Text>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
5
todo.md
5
todo.md
@@ -7,9 +7,9 @@ Last Updated: 03/4/2023
|
|||||||
- [x] scraping course information
|
- [x] scraping course information
|
||||||
- [x] injecting plus header and buttons
|
- [x] injecting plus header and buttons
|
||||||
- [x] auto loading next pages
|
- [x] auto loading next pages
|
||||||
- [ ] showing course popup
|
- [x] showing course popup
|
||||||
- [ ] RMP, eCis, Textbook, and Syllabus buttons
|
- [ ] RMP, eCis, Textbook, and Syllabus buttons
|
||||||
- [ ] displaying professor information on popup
|
- [x] displaying professor information on popup
|
||||||
- [ ] saving courses
|
- [ ] saving courses
|
||||||
- [ ] Multiple schedule support
|
- [ ] Multiple schedule support
|
||||||
- [ ] Browser Action Popup
|
- [ ] Browser Action Popup
|
||||||
@@ -26,7 +26,6 @@ Last Updated: 03/4/2023
|
|||||||
- [ ] Grade distribution
|
- [ ] Grade distribution
|
||||||
- [ ] Course description
|
- [ ] Course description
|
||||||
- [ ] Highlight and use rich text to make course description more readable
|
- [ ] Highlight and use rich text to make course description more readable
|
||||||
- [ ] auto load
|
|
||||||
- [ ] calendar
|
- [ ] calendar
|
||||||
- [ ] calendar file export
|
- [ ] calendar file export
|
||||||
- [ ] save as png
|
- [ ] save as png
|
||||||
|
|||||||
Reference in New Issue
Block a user