From 8d4775fc8a7f0b20e09038b3174f5c372ffed44c Mon Sep 17 00:00:00 2001 From: sghsri Date: Tue, 11 Dec 2018 22:07:59 -0600 Subject: [PATCH] messages --- js/popup.js | 3 +++ popup.html | 5 +++-- todo | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/js/popup.js b/js/popup.js index 56eb7960..48d7f3cb 100644 --- a/js/popup.js +++ b/js/popup.js @@ -6,6 +6,9 @@ setCourseList(); // var 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(){ $("#courseList").empty() chrome.storage.sync.get('savedCourses', function (data) { diff --git a/popup.html b/popup.html index b008d545..41774cb4 100644 --- a/popup.html +++ b/popup.html @@ -17,10 +17,11 @@
-

Doesn't Look Like +

+
Doesn't Look Like Anything To Me. -
+
(No Courses Saved)

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