aboutsummaryrefslogtreecommitdiff
path: root/static/scripts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-20 15:46:06 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-20 15:46:06 +0530
commitaa15d59e35523c7210e962ab367e56f68467317b (patch)
treea1dbaeeb4b1d803d3fc9a6de3637f90de89daf79 /static/scripts
parent9b9875c34b336fac5932d514746be7c1470dce54 (diff)
styled the form and completed the mechanism to only render page on midnightHEADmaster
Diffstat (limited to 'static/scripts')
-rw-r--r--static/scripts/CheckTime.js4
1 files changed, 4 insertions, 0 deletions
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"
+}