From 3c371383d54f6d23c5865e0b1d799cbac2efe354 Mon Sep 17 00:00:00 2001 From: Timothy Pidashev Date: Sat, 8 Jan 2022 16:48:15 -0800 Subject: [PATCH] minor polish --- js/python/login.js | 9 --------- login.html | 22 ++++------------------ 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 js/python/login.js diff --git a/js/python/login.js b/js/python/login.js deleted file mode 100644 index 2b7ac4b..0000000 --- a/js/python/login.js +++ /dev/null @@ -1,9 +0,0 @@ -function login(username, password) { - if (username == 'student' && password == 'student.23264') { - setTimeout(function() { // delay the location.replace for one second for login animation - location.replace('assignments.html'); - }, 1000); - } else { - return false; - } -} \ No newline at end of file diff --git a/login.html b/login.html index 39cbe85..4696999 100644 --- a/login.html +++ b/login.html @@ -44,12 +44,14 @@ duration: 800 }); - - \ No newline at end of file