This commit is contained in:
sghsri
2018-12-11 22:07:59 -06:00
parent 47ce8feca1
commit 8d4775fc8a
3 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,9 @@ setCourseList();
// var modhtml = '<div class=modal id=myModal><div class=modal-content><span class=close>×</span><div class=card><div class=cardcontainer></div></div></div></div>'; // var modhtml = '<div class=modal id=myModal><div class=modal-content><span class=close>×</span><div class=card><div class=cardcontainer></div></div></div></div>';
// $("#html").prepend(modhtml); // $("#html").prepend(modhtml);
var emptyText = ["Doesn't Look Like Anything To Me.", "You Can't Fail Classes You're Not In."];
$("#main").text(emptyText[Math.floor(Math.random()*emptyText.length)]);
function setCourseList(){ function setCourseList(){
$("#courseList").empty() $("#courseList").empty()
chrome.storage.sync.get('savedCourses', function (data) { chrome.storage.sync.get('savedCourses', function (data) {

View File

@@ -17,10 +17,11 @@
</div> </div>
<div> <div>
<ul id="courseList" style="list-style-type: none;padding: 5px;"></ul> <ul id="courseList" style="list-style-type: none;padding: 5px;"></ul>
<h2 id="empty" style="font-weight: normal;font-size: large;margin: 60px 30px 40px 30px ;text-align: center">Doesn't Look Like <h2 id="empty" style="font-weight: normal;font-size: large;margin: 60px 30px 40px 30px ;text-align: center">
<div id="main" style="margin-bottom: 5px;">Doesn't Look Like
Anything Anything
To Me. To Me.
<br> </div>
<span style="font-size: small;display:table;margin:0 auto;font-weight: bold">(No Courses Saved)</span> <span style="font-size: small;display:table;margin:0 auto;font-weight: bold">(No Courses Saved)</span>
</h2> </h2>
<div style=" margin-bottom: 0px; display:inline-block"></div> <div style=" margin-bottom: 0px; display:inline-block"></div>

4
todo
View File

@@ -1,9 +1,10 @@
TODO as of 12/11/18 TODO as of 12/11/18
FEATURES: FEATURES:
- load all courses on first pages
- work on UT Planner - work on UT Planner
- work on multiple schedules - work on multiple schedules
- search by unique number
- all semester's grade distribution
- Easter egg, no course messages - Easter egg, no course messages
BUGS TO FIX: BUGS TO FIX:
@@ -15,6 +16,7 @@ DONE/FIXED:
- Textbook button (amber) - Textbook button (amber)
- Calendar popup - Calendar popup
- online classes no times in popup link - online classes no times in popup link
- load all courses on first pages
- Location in popup extra info - Location in popup extra info
- Export calendar format - Export calendar format
- import courses from class schedule screen - import courses from class schedule screen