diff --git a/src/mcmaster/schedule.csv b/src/mcmaster/schedule.csv new file mode 100644 index 0000000..e69de29 diff --git a/src/scripts/class.tag b/src/scripts/class.tag index f428c4d..bcd2ef8 100644 --- a/src/scripts/class.tag +++ b/src/scripts/class.tag @@ -1,24 +1,26 @@ -
-
{ dept } { title }
-
Taught by: { prof }
-
Running: { sem }
-
-
- -
-
- - -
-
+
+
+
{ dept } { title }
+
Taught by: { prof }
+
Running: { sem }
+
+
+ +
+
+ + +
+
+

No books at this time

diff --git a/src/search.py b/src/search.py index 33aeb22..8c67220 100755 --- a/src/search.py +++ b/src/search.py @@ -74,8 +74,6 @@ def createIndex(name): """ This creates a new index in elasticsearch An index is like a schema in a regular database - Create an elasticsearch index - """ indices = elasticsearch.client.IndicesClient(es) @@ -114,18 +112,6 @@ def indexListing(course): id=courseID, body=json_course) - # For every course we index, we also create a resource for it - # This should be an idempotent operation because we're putting it in couchdb - # And we're using the id obtained from the hash function, so it should just update the document - # no need to delete anything - #try: - #courseDept = course[0]["title"].strip().split(" ")[0].strip() - #courseCode = course[0]["title"].strip().split(" ")[1].strip() - #print "DEPARTMENT = \"%s\", COURSECODE = \"%s\"" % (courseDept, courseCode) - #print createResource(textbookInfo, course[0], courseDept, courseCode, courseID) - #except: - #print "Couldn't create the resource associated with %s" % course - def termSearch(field): """ Make a term search (exact match) diff --git a/src/styles/search.scss b/src/styles/search.scss index a307c1a..43f9791 100644 --- a/src/styles/search.scss +++ b/src/styles/search.scss @@ -156,3 +156,11 @@ a { margin-top: -10px; border: none; } + +.card { + border: none !important; +} + +.course-info { + border: solid; +}