From d477d14d624bea299a62199799607155d43a4226 Mon Sep 17 00:00:00 2001
From: Weitian LI <liweitianux@gmail.com>
Date: Sun, 20 Apr 2014 16:17:47 +0800
Subject: * implemented the index page   o base.html, navbar.html,
 favicon.html, index.html   o added static files related to index page *
 performed south migrations * implemented registration templates * implemented
 regiration views and pages

---
 static/js/index.js | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 static/js/index.js

(limited to 'static/js')

diff --git a/static/js/index.js b/static/js/index.js
new file mode 100644
index 0000000..1f955a2
--- /dev/null
+++ b/static/js/index.js
@@ -0,0 +1,17 @@
+/*
+ * js code for 'index.html' page
+ *
+ * Weitian LI
+ */
+
+$(document).ready(function() {
+    // add class "skaschool-home" to "body"
+    if (! $("body").hasClass("skaschool-home")) {
+        $("body").addClass("skaschool-home");
+    }
+    // add class "masthead" to "main"
+    if (! $("main").hasClass("masthead")) {
+        $("main").addClass("masthead");
+    }
+});
+
-- 
cgit v1.2.2