From 28a0142718dcad621dfecdb99fe6f2965edf5f0d Mon Sep 17 00:00:00 2001 From: louie Date: Sun, 17 Apr 2022 10:46:30 -0700 Subject: Created custom directory, moved background out of main file (to custom) --- .gitignore | 1 + assignment_list.js | 4 ---- assignment_list.php | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1a15d5d..81d5e8e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ * !backend/backend.php +!custom !assignment_list* !setup.php diff --git a/assignment_list.js b/assignment_list.js index 6955328..1c153fb 100644 --- a/assignment_list.js +++ b/assignment_list.js @@ -1,7 +1,3 @@ -//set background image -const bg_image = ["rubber_duck_PNG33.png", "dice.png"]; -document.getElementById("bg").style.backgroundImage = "url(" + bg_image[Math.floor(Math.random() * bg_image.length)] + ")"; - //Function to get date function get_day(d){ if(!d) d = new Date(); diff --git a/assignment_list.php b/assignment_list.php index e6e817b..1d4dfc3 100644 --- a/assignment_list.php +++ b/assignment_list.php @@ -126,6 +126,7 @@ print "TEST: num_hw = $ENGL2A->num_hw"; Daily Homework Schedule + -- cgit