From aa15d59e35523c7210e962ab367e56f68467317b Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 20 Apr 2021 15:46:06 +0530 Subject: styled the form and completed the mechanism to only render page on midnight --- static/scripts/CheckTime.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 static/scripts/CheckTime.js (limited to 'static/scripts') diff --git a/static/scripts/CheckTime.js b/static/scripts/CheckTime.js new file mode 100644 index 0000000..7c806c5 --- /dev/null +++ b/static/scripts/CheckTime.js @@ -0,0 +1,4 @@ +var timeHours = new Date().getHours(); +if (timeHours != 00) { + window.location = "about:blank" +} -- cgit v1.2.3