From 38d03a59c1988a4fc2f8b272fa0039640b5ba094 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 15:21:34 -0400 Subject: [PATCH 001/172] update old code to update database --- src/goasearch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/goasearch.py b/src/goasearch.py index b661f87..a0852fc 100755 --- a/src/goasearch.py +++ b/src/goasearch.py @@ -1,7 +1,8 @@ #! /usr/bin/python2 from search import indexListing from textbookExceptions import UnIndexable -from mcmaster.classes import allCourses, classToJSON, indexListing +from mcmaster.classes import allCourses +from search import indexListing, createIndex from itertools import imap try: @@ -11,7 +12,7 @@ except Exception as e: print e print "Downloading course info" -for c in imap(classToJSON, allCourses()): +for c in allCourses(): try: print indexListing(c) except UnIndexable as e: From de31af2a3910fecb06f18d466bf9f900cc1b2eec Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 15:30:41 -0400 Subject: [PATCH 002/172] convert course to json before indexing --- src/search.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/search.py b/src/search.py index 848b455..f95cbdf 100755 --- a/src/search.py +++ b/src/search.py @@ -106,11 +106,12 @@ def indexListing(course): } """ - courseID = hashsec(course) + json_course = classToJSON(course) + courseID = hashsec(json_course) print es.index(index="oersearch", doc_type="course", id=courseID, - body=course) + 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 From b792a5041a980c22beb18d15c5cb836a0863beaf Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 16:41:52 -0400 Subject: [PATCH 003/172] remove books with no adoption / not real books --- src/scripts/results.tag | 1 + src/scripts/search.js | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/scripts/results.tag b/src/scripts/results.tag index fc51318..99136aa 100644 --- a/src/scripts/results.tag +++ b/src/scripts/results.tag @@ -7,6 +7,7 @@ var self = this; results_passer.on("new_results", function(data) { console.log("new search results detected"); + console.log(data); self.rows = data; self.update(); }); diff --git a/src/scripts/search.js b/src/scripts/search.js index 8fe25b4..e2b8a1b 100644 --- a/src/scripts/search.js +++ b/src/scripts/search.js @@ -8,11 +8,9 @@ function makeResourceGetter(self) { "author" : this.bookauthor }; var url = "/search/resources"; - console.log(params); $.getJSON(url, { data : JSON.stringify(params) }).done(function(results) { - if (results.iarchive) { self.iarchive = results.iarchive[0]; } @@ -65,7 +63,24 @@ function autocomplete(element, endpoint) { }); } +function realBook(book) { + var noAdoption = book.booktitle.indexOf("No Adoption"); + var noBooks = book.booktitle.indexOf("No Textbooks"); + return ((noAdoption == -1) && + (noBooks == -1)); +} + function filterCourses(courses) { + var books; + + for (var i in courses) { + books = courses[i].books; + if ((books.length > 0) && + (!realBook(books[0]))) { + courses[i].books = ""; + } + } + return courses.filter( function (c) { return c.prof != "Staff"; From fe786884d401d4cbd5ff075e244a3bed125635fa Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 16:56:40 -0400 Subject: [PATCH 004/172] loading thingy --- src/scripts/search.tag | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 5154ca8..e8fe892 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,15 +16,22 @@ +
+
+var that = this; function submit(ev) { console.log("submitted"); + that.opts.booksLoading = true; + that.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); + that.opts.booksLoading = false; + that.update(); }); } From 95335f74577f3c213d39e151872e8c52f5801b58 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 16:57:50 -0400 Subject: [PATCH 005/172] loading thingy --- src/scripts/search.tag | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index e8fe892..94618b6 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -23,15 +23,12 @@ var that = this; function submit(ev) { console.log("submitted"); - that.opts.booksLoading = true; - that.update(); + console.log(that); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - that.opts.booksLoading = false; - that.update(); }); } From c0346543dc33dc71d8bda3218766d70622252964 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 16:58:38 -0400 Subject: [PATCH 006/172] loading thingy --- src/scripts/search.tag | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 94618b6..ecd00fb 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -18,9 +18,7 @@
- - -var that = this; +console.log(this); function submit(ev) { console.log("submitted"); console.log(that); @@ -32,3 +30,4 @@ function submit(ev) { results_passer.trigger("new_results", cgroups); }); } + From 075512a733b5bdcef287681919ab5c1fea17b3b6 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 16:59:35 -0400 Subject: [PATCH 007/172] loading thingy --- src/scripts/search.tag | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index ecd00fb..6e9507b 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -21,13 +21,16 @@ console.log(this); function submit(ev) { console.log("submitted"); - console.log(that); + that.opts.booksLoading = true; + that.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); + that.opts.booksLoading = false; + that.update(); }); } From 943d9a8facd07516fb3454a7f669320a8ed8e262 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:00:34 -0400 Subject: [PATCH 008/172] loading thingy --- src/scripts/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.js b/src/scripts/search.js index e2b8a1b..c553117 100644 --- a/src/scripts/search.js +++ b/src/scripts/search.js @@ -48,7 +48,7 @@ function ResultsPasser() { var results_passer = new ResultsPasser(); -riot.mount("search"); +riot.mount("search", {booksLoading : false}); riot.mount("results"); function autocomplete(element, endpoint) { From 39128977327ceda5c2db1228316c226fa541aefa Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:01:52 -0400 Subject: [PATCH 009/172] loading thingy --- src/scripts/search.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 6e9507b..4713203 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -18,7 +18,7 @@
-console.log(this); +var that = this; function submit(ev) { console.log("submitted"); that.opts.booksLoading = true; From b5ab67eb95d903414b6b8944ca5038ca2866f24b Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:02:37 -0400 Subject: [PATCH 010/172] loading thingy --- src/scripts/search.tag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 4713203..45b0085 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -22,6 +22,7 @@ var that = this; function submit(ev) { console.log("submitted"); that.opts.booksLoading = true; + console.log(that.opts.booksLoading); that.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, From cccd17441d47d26630bc9c297add6a63e8aab2ed Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:03:47 -0400 Subject: [PATCH 011/172] loading thingy --- src/scripts/search.tag | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 45b0085..952ef03 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -21,17 +21,12 @@ var that = this; function submit(ev) { console.log("submitted"); - that.opts.booksLoading = true; - console.log(that.opts.booksLoading); - that.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - that.opts.booksLoading = false; - that.update(); }); } From 3ef4a3b0b3ed17b80501938e648befe33cf67146 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:04:25 -0400 Subject: [PATCH 012/172] loading thingy --- src/scripts/search.tag | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 952ef03..5154ca8 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,9 +16,8 @@ -
-
-var that = this; + + function submit(ev) { console.log("submitted"); var params = $(ev.currentTarget).serialize(); @@ -29,4 +28,3 @@ function submit(ev) { results_passer.trigger("new_results", cgroups); }); } - From bbb5393de8e0612e5ded3622f6c73a3c8a09e2d5 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:05:08 -0400 Subject: [PATCH 013/172] loading thingy --- src/scripts/search.js | 2 +- src/scripts/search.tag | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.js b/src/scripts/search.js index c553117..0400a80 100644 --- a/src/scripts/search.js +++ b/src/scripts/search.js @@ -48,7 +48,7 @@ function ResultsPasser() { var results_passer = new ResultsPasser(); -riot.mount("search", {booksLoading : false}); +riot.mount("search", {booksLoading : true}); riot.mount("results"); function autocomplete(element, endpoint) { diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 5154ca8..0656c80 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,6 +16,8 @@ +
+
function submit(ev) { From 325aa392a54b98865bb5a93e109f335453123d0f Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:05:42 -0400 Subject: [PATCH 014/172] loading thingy --- src/scripts/search.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 0656c80..5ec1938 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,7 +16,7 @@ -
+
From da16bf2cc11b9ea1d34ac3668abf0eb5a8941269 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:06:27 -0400 Subject: [PATCH 015/172] loading thingy --- src/scripts/search.js | 2 +- src/scripts/search.tag | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.js b/src/scripts/search.js index 0400a80..c553117 100644 --- a/src/scripts/search.js +++ b/src/scripts/search.js @@ -48,7 +48,7 @@ function ResultsPasser() { var results_passer = new ResultsPasser(); -riot.mount("search", {booksLoading : true}); +riot.mount("search", {booksLoading : false}); riot.mount("results"); function autocomplete(element, endpoint) { diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 5ec1938..7df813b 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,14 +19,18 @@
- +var that = this; function submit(ev) { console.log("submitted"); + that.opts.booksLoading = true; + that.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); + that.opts.booksLoading = false; + that.update(); }); } From 81fbffea6f35e97296749b71dcf5f0a7f0c02083 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:06:51 -0400 Subject: [PATCH 016/172] loading thingy --- src/scripts/search.tag | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 7df813b..1c1ab21 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -22,15 +22,11 @@ var that = this; function submit(ev) { console.log("submitted"); - that.opts.booksLoading = true; - that.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - that.opts.booksLoading = false; - that.update(); }); } From caca7e3e903397259e78674105c93ebc81ffc6c3 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:07:20 -0400 Subject: [PATCH 017/172] loading thingy --- src/scripts/search.tag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 1c1ab21..2de7f78 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -22,6 +22,7 @@ var that = this; function submit(ev) { console.log("submitted"); + console.log(that); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { From 88680a7479269d5264b69b41638909d9315da5a4 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:08:03 -0400 Subject: [PATCH 018/172] loading thingy --- src/scripts/search.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 2de7f78..f549bbf 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -18,7 +18,6 @@
- var that = this; function submit(ev) { console.log("submitted"); @@ -31,3 +30,4 @@ function submit(ev) { results_passer.trigger("new_results", cgroups); }); } + From 2721bdcd0d6b9175df827a70f383f733670cb7c3 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:08:32 -0400 Subject: [PATCH 019/172] loading thingy --- src/scripts/search.tag | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index f549bbf..db1dbae 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,6 +19,8 @@
var that = this; + + function submit(ev) { console.log("submitted"); console.log(that); @@ -30,4 +32,3 @@ function submit(ev) { results_passer.trigger("new_results", cgroups); }); } - From 5f247b8d4cc48afc6c0c2a77cf2e15d621490bc5 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:09:14 -0400 Subject: [PATCH 020/172] loading thingy --- src/scripts/search.tag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index db1dbae..ac27a45 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -18,9 +18,7 @@
-var that = this; - - + + From 265345be62836136b09ca21f3690432a202f7463 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:10:37 -0400 Subject: [PATCH 021/172] loading thingy --- src/scripts/search.tag | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index ac27a45..164ae8b 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -18,7 +18,10 @@
+ + - From 3a3dcc55941a454b6e971c9f840afa69bb98d9fc Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:12:04 -0400 Subject: [PATCH 022/172] loading thingy --- src/scripts/search.tag | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 164ae8b..fc19e2f 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -21,7 +21,6 @@ From b3811648a8a7dd1d0f5952bf07a99d7fe337bc7d Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:13:02 -0400 Subject: [PATCH 024/172] loading thingy --- src/scripts/search.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index f2a1a7b..3ef51bd 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,10 +19,9 @@
- + From b2257455749a1e298bbd77aa1458b8e8f61277cc Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:13:46 -0400 Subject: [PATCH 025/172] loading thingy --- src/scripts/search.tag | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 3ef51bd..50e860f 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,8 +16,6 @@
-
-
From 11c37f2f27b0348463e703e7babda5ba7be354de Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:14:37 -0400 Subject: [PATCH 027/172] loading thingy --- src/scripts/search.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index f07b561..7f88fb0 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -23,7 +23,7 @@ function submit(ev) { $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); - var cgroups = groupsof(4, fcourses); + var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); }); } From fa7907b72871530900c79c9617daf836372b45b3 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:15:46 -0400 Subject: [PATCH 028/172] loading thingy --- src/scripts/search.tag | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 7f88fb0..bbee3d9 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,6 +16,9 @@ + function submit(ev) { console.log("submitted"); From 5b945b35061bd503c5a9ee02709f49d9317bd6f4 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:16:12 -0400 Subject: [PATCH 029/172] loading thingy --- src/scripts/search.tag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index bbee3d9..fb5b5da 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -21,6 +21,7 @@ var that = this; function submit(ev) { + console.log(that); console.log("submitted"); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, From db31aa451ec51ca17f4b7c31defe07c8386b0b25 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:17:06 -0400 Subject: [PATCH 030/172] loading thingy --- src/scripts/search.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index fb5b5da..8a21e68 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -18,8 +18,6 @@ - function submit(ev) { console.log(that); console.log("submitted"); @@ -31,3 +29,5 @@ function submit(ev) { results_passer.trigger("new_results", cgroups); }); } + + From 786ed34e632c0bb0c0deeed453f9591439cb4cc2 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:20:24 -0400 Subject: [PATCH 031/172] loading thingy --- src/scripts/search.tag | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 8a21e68..25e0d63 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -1,5 +1,5 @@ -
+
@@ -16,10 +16,8 @@
- -
From aaec97affb90c98ad4bd8dfe2c0fc705a19836ac Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:20:45 -0400 Subject: [PATCH 032/172] loading thingy --- src/scripts/search.tag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 25e0d63..7d197ab 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,6 +19,7 @@ function submit(ev) { console.log("submitted"); + console.log(this); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { From f9011b72efc9760afb49a32276562c3759e30d06 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:21:37 -0400 Subject: [PATCH 033/172] loading thingy --- src/scripts/search.tag | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 7d197ab..e549356 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,12 +19,15 @@ function submit(ev) { console.log("submitted"); - console.log(this); + this.opts.booksLoading = true; + this.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); + this.opts.booksLoading = false; + this.update(); }); } From e0f856d407cb89ae11bc8c979dccf180b2a1db08 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:22:09 -0400 Subject: [PATCH 034/172] loading thingy --- src/scripts/search.tag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index e549356..64601c1 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,6 +19,7 @@ function submit(ev) { console.log("submitted"); + console.log(this); this.opts.booksLoading = true; this.update(); var params = $(ev.currentTarget).serialize(); From 6d4b985e3a029ec1fc6676a24e5e2a2178bc2d03 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:22:46 -0400 Subject: [PATCH 035/172] loading thingy --- src/scripts/search.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 64601c1..5dc374d 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -30,5 +30,5 @@ function submit(ev) { results_passer.trigger("new_results", cgroups); this.opts.booksLoading = false; this.update(); - }); + }).bind(this); } From 8f7740c548ad6e9ccebe7ac66407ed8fc0169daa Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:23:14 -0400 Subject: [PATCH 036/172] loading thingy --- src/scripts/search.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 5dc374d..4b466ee 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -24,11 +24,11 @@ function submit(ev) { this.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, - function(courses) { + (function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); this.opts.booksLoading = false; this.update(); - }).bind(this); + }).bind(this)); } From e5fec3fe5bf4c8c3c92aba5ecb5b0bf1b57f7827 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:24:28 -0400 Subject: [PATCH 037/172] loading thingy --- src/scripts/search.tag | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 4b466ee..e556e3a 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -19,16 +19,13 @@ function submit(ev) { console.log("submitted"); - console.log(this); this.opts.booksLoading = true; this.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, - (function(courses) { + function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - this.opts.booksLoading = false; - this.update(); - }).bind(this)); + }); } From 0a3e9ab41d3bc8bd8cb240f148e81b288ee109f8 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:26:18 -0400 Subject: [PATCH 038/172] loading thingy --- src/scripts/search.tag | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index e556e3a..a2d0fa7 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,16 +16,21 @@ +
+
function submit(ev) { console.log("submitted"); + console.log(this); this.opts.booksLoading = true; this.update(); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, - function(courses) { + (function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - }); + this.opts.booksLoading = false; + this.update(); + }).bind(this)); } From 0f4cb05472abe6010ab92b5e821e3d0185e632d3 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:26:52 -0400 Subject: [PATCH 039/172] loading thingy --- src/scripts/search.tag | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index a2d0fa7..9243e79 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -30,7 +30,5 @@ function submit(ev) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); - this.opts.booksLoading = false; - this.update(); }).bind(this)); } From 50738e75baa706899794894baf225b72c698d6b9 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:29:11 -0400 Subject: [PATCH 040/172] loading thingy --- src/scripts/search.tag | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 9243e79..d4c6e82 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -20,10 +20,12 @@ function submit(ev) { + ev.preventDefault(); console.log("submitted"); console.log(this); - this.opts.booksLoading = true; + this.booksLoading = true; this.update(); + console.log(this.opts.booksLoading); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, (function(courses) { From ecc94ebb40e4ae8e86e1c186a37c918301dc6f84 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:41:53 -0400 Subject: [PATCH 041/172] loading thingy --- src/scripts/search.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index d4c6e82..152bec6 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -25,7 +25,7 @@ function submit(ev) { console.log(this); this.booksLoading = true; this.update(); - console.log(this.opts.booksLoading); + console.log(this.booksLoading); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, (function(courses) { From efd88d951d6e3bdeac247fa44375d3790218e056 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:42:26 -0400 Subject: [PATCH 042/172] loading thingy --- src/scripts/search.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 152bec6..0d17142 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -22,15 +22,15 @@ function submit(ev) { ev.preventDefault(); console.log("submitted"); - console.log(this); this.booksLoading = true; this.update(); - console.log(this.booksLoading); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, (function(courses) { var fcourses = filterCourses(courses); var cgroups = groupsof(3, fcourses); results_passer.trigger("new_results", cgroups); + this.booksLoading = false; + this.update(); }).bind(this)); } From 4e7fc193fa8a4ba6ab1fff48322229b876b214ad Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:47:43 -0400 Subject: [PATCH 043/172] loading thingy --- src/scripts/search.tag | 2 +- src/styles/search.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 0d17142..d95f299 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,7 +16,7 @@ -
+
function submit(ev) { diff --git a/src/styles/search.css b/src/styles/search.css index 1a7aa07..7f2f07b 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -6,6 +6,12 @@ header { white-space: pre-wrap !important; } +.search-load { + border-radius: 2.9rem !important; + width: 3rem !important; + height: 2.8rem !important; +} + .body { color: #1c75bc; } From 2fd81936dcc4e385691ed39aebb8f1c032990827 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:48:26 -0400 Subject: [PATCH 044/172] loading thingy --- src/styles/search.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index 7f2f07b..bdeaf77 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -7,9 +7,6 @@ header { } .search-load { - border-radius: 2.9rem !important; - width: 3rem !important; - height: 2.8rem !important; } .body { From f8a90dfeb8377162ce8f141625d321957a03dc7d Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:49:06 -0400 Subject: [PATCH 045/172] loading thingy --- src/scripts/search.tag | 2 +- src/styles/search.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index d95f299..ec81ad7 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,7 +16,7 @@
-
+
function submit(ev) { diff --git a/src/styles/search.css b/src/styles/search.css index bdeaf77..47bb852 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -7,6 +7,9 @@ header { } .search-load { + border-radius: 2.9rem; + width: 3rem; + height: 2.8rem; } .body { From a7e16a1956f60811b0eff709dbdd082c228df2aa Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 17:51:35 -0400 Subject: [PATCH 046/172] loading thingy --- src/scripts/search.tag | 2 +- src/styles/search.css | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index ec81ad7..acce2ca 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -16,7 +16,7 @@
-
+
function submit(ev) { diff --git a/src/styles/search.css b/src/styles/search.css index 47bb852..02633de 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -7,9 +7,28 @@ header { } .search-load { + color: transparent !important; + min-height: 1.6rem; + pointer-events: none; + position: relative; +} + +.search-load::after { + -webkit-animation: loading 500ms infinite linear; + animation: loading 500ms infinite linear; + border: .2rem solid #5764c6; border-radius: 2.9rem; - width: 3rem; + border-right-color: transparent; + border-top-color: transparent; + content: ""; + display: block; height: 2.8rem; + left: 50%; + margin-left: -.8rem; + margin-top: -.8rem; + position: absolute; + top: 50%; + width: 3rem; } .body { From 3567bf2e0f43ffe41de438dc52452e0c514a3434 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:01:44 -0400 Subject: [PATCH 047/172] loading thingy --- src/scripts/results.tag | 10 +++++++++- src/scripts/search.js | 2 +- src/scripts/search.tag | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/scripts/results.tag b/src/scripts/results.tag index 99136aa..5f1d0d6 100644 --- a/src/scripts/results.tag +++ b/src/scripts/results.tag @@ -1,14 +1,22 @@ -
+
this.rows = []; var self = this; + +results_passer.on("loading", + function() { + self.notLoading = false; + self.update(); + }); + results_passer.on("new_results", function(data) { console.log("new search results detected"); console.log(data); self.rows = data; + self.notLoading = true; self.update(); }); diff --git a/src/scripts/search.js b/src/scripts/search.js index c553117..1acb7d4 100644 --- a/src/scripts/search.js +++ b/src/scripts/search.js @@ -49,7 +49,7 @@ function ResultsPasser() { var results_passer = new ResultsPasser(); riot.mount("search", {booksLoading : false}); -riot.mount("results"); +riot.mount("results", {notLoading : true}); function autocomplete(element, endpoint) { // The element should be an input class diff --git a/src/scripts/search.tag b/src/scripts/search.tag index acce2ca..d7cbe97 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -24,6 +24,7 @@ function submit(ev) { console.log("submitted"); this.booksLoading = true; this.update(); + results_passer.trigger("loading"); var params = $(ev.currentTarget).serialize(); $.getJSON("/search/fc?"+params, (function(courses) { From b929db07dfb45a61bee69ebe8b77f8d17f9f1447 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:05:53 -0400 Subject: [PATCH 048/172] loading thingy --- src/templates/search.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/templates/search.html b/src/templates/search.html index 90c984e..d3dc711 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -6,6 +6,9 @@
From a7ef34477bdc2c45598f002c888a7a397139067c Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:18:46 -0400 Subject: [PATCH 059/172] loading thingy --- src/templates/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/search.html b/src/templates/search.html index 5309ccd..7790a08 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -5,7 +5,7 @@
+
Type in the name of your course and start saving money on your books
+ {% endblock %} From e13991c12ddc2309db7140437cb55da312043b93 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:27:55 -0400 Subject: [PATCH 066/172] loading thingy --- src/templates/search.html | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/templates/search.html b/src/templates/search.html index de2286c..c23de6f 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,18 +3,15 @@ {{super()}} {% endblock %} From bb5ca75fc46f8c7ffbbba981a2f72ba1129f45b2 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:29:44 -0400 Subject: [PATCH 067/172] loading thingy --- src/templates/search.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/templates/search.html b/src/templates/search.html index c23de6f..b114b55 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -4,10 +4,16 @@ {% endblock %} From 7defbaad8a7a30bd6cce46564c613a9b8e923390 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:41:53 -0400 Subject: [PATCH 076/172] loading thingy --- src/styles/search.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index ad44222..73ec45f 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -128,7 +128,3 @@ a { .title { margin-left: 30px; } - -.title-div { - font-size: 25px; -} From 887d28bc791b03e9277b91ceeb385393dfd6d0ff Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:45:38 -0400 Subject: [PATCH 077/172] loading thingy --- src/scripts/search.tag | 7 ++++++- src/templates/search.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 52b4e39..668f5b7 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -4,7 +4,12 @@
- +
From f16d3bc8f00c62b836b993333be7e28b02bdd182 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:47:48 -0400 Subject: [PATCH 079/172] loading thingy --- src/scripts/search.tag | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 305d5e1..cb20173 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -3,14 +3,8 @@
-
- - +
+
From eed27b24dafb23e282dd76d34c03d5a1ba7307e6 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:53:29 -0400 Subject: [PATCH 081/172] loading thingy --- src/styles/search.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index 73ec45f..2123a50 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -122,9 +122,9 @@ a { .logo { margin-top: 20px; - margin-left: -30px; + margin-left: -20px; } .title { - margin-left: 30px; + margin-left: 20px; } From 5bfeed1bf9300058601c4dd49021b4df4e8c03ed Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:55:27 -0400 Subject: [PATCH 082/172] loading thingy --- src/styles/search.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index 2123a50..f5cdc34 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -122,9 +122,7 @@ a { .logo { margin-top: 20px; - margin-left: -20px; } .title { - margin-left: 20px; } From 8e28847532adf3428c0e635672f07c03ca1984c7 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:56:15 -0400 Subject: [PATCH 083/172] loading thingy --- src/styles/search.css | 2 ++ src/templates/search.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index f5cdc34..73ec45f 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -122,7 +122,9 @@ a { .logo { margin-top: 20px; + margin-left: -30px; } .title { + margin-left: 30px; } diff --git a/src/templates/search.html b/src/templates/search.html index 1260f3b..e9684e9 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -6,8 +6,8 @@
-

TextBook Commons

- -
+
{% endblock %} From 3d3277a0acea7891270406cb08ee466cc7426dac Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 18:59:57 -0400 Subject: [PATCH 088/172] loading thingy --- src/templates/search.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/templates/search.html b/src/templates/search.html index 9ddbbe5..d9ff836 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,7 +3,6 @@ {{super()}} {% endblock %} From 6bbfda7e6e28341b4c256750695b81fe14c3cad6 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:01:23 -0400 Subject: [PATCH 089/172] loading thingy --- src/templates/search.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/templates/search.html b/src/templates/search.html index d9ff836..a01aca0 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,20 +3,20 @@ {{super()}} {% endblock %} From 6a2e43ec6a9bae775fe6e8b310bce2431c5c9fe2 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:02:31 -0400 Subject: [PATCH 090/172] loading thingy --- src/templates/search.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/templates/search.html b/src/templates/search.html index a01aca0..543ef6a 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,20 +3,22 @@ {{super()}}
{% endblock %} From cd86679662b6af5ae8747da157efbaa01a9d21f6 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:03:53 -0400 Subject: [PATCH 091/172] loading thingy --- src/styles/search.css | 2 +- src/templates/search.html | 26 ++++++++++++-------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index ad44222..1a61810 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -129,6 +129,6 @@ a { margin-left: 30px; } -.title-div { +.page-top { font-size: 25px; } diff --git a/src/templates/search.html b/src/templates/search.html index 543ef6a..79ab689 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,22 +3,20 @@ {{super()}} {% endblock %} From 34814a6f2b417d0cfeb38bc1fbfea48fb375397a Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:04:15 -0400 Subject: [PATCH 092/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 1a61810..5f3fc61 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -130,5 +130,5 @@ a { } .page-top { - font-size: 25px; + font-size: 15px; } From cd3d7140f7bbe8ecc3d09b4e3afa5e83bb7d72d2 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:04:43 -0400 Subject: [PATCH 093/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 5f3fc61..a5c2ce4 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -122,7 +122,7 @@ a { .logo { margin-top: 20px; - margin-left: -30px; + margin-left: -70px; } .title { From 9293943c91f8cc49dcbe2ddd63bd0183b4f69740 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:05:04 -0400 Subject: [PATCH 094/172] loading thingy --- src/styles/search.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index a5c2ce4..8a02526 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -122,11 +122,9 @@ a { .logo { margin-top: 20px; - margin-left: -70px; } .title { - margin-left: 30px; } .page-top { From 45e185e3292713fbf5bf4705086f8c44874766d7 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:05:51 -0400 Subject: [PATCH 095/172] loading thingy --- src/styles/search.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/styles/search.css b/src/styles/search.css index 8a02526..07243c8 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -129,4 +129,5 @@ a { .page-top { font-size: 15px; + max-width: 70%; } From c427cd2d3cc0536e8787eaf7350fb6f7b5b341eb Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:06:10 -0400 Subject: [PATCH 096/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 07243c8..8eafa63 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -129,5 +129,5 @@ a { .page-top { font-size: 15px; - max-width: 70%; + width: 70% !important; } From 8ceae6beb55c9379c79148bd62f1358df4c3c1f7 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:06:31 -0400 Subject: [PATCH 097/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 8eafa63..44d5197 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -129,5 +129,5 @@ a { .page-top { font-size: 15px; - width: 70% !important; + width: 50% !important; } From 4facf9f9b9989bd6314b4ada7fc8dbb6a00cecf5 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:07:35 -0400 Subject: [PATCH 098/172] loading thingy --- src/styles/search.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index 44d5197..ae24377 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -68,8 +68,8 @@ a { } .form-item { - padding-left: 15px; - padding-right: 15px; + padding-left: 5px; + padding-right: 5px; } #title { From b629a58fa54ff59bf5a207949598247773941ccc Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:08:03 -0400 Subject: [PATCH 099/172] loading thingy --- src/styles/search.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/styles/search.css b/src/styles/search.css index ae24377..315562f 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -70,6 +70,7 @@ a { .form-item { padding-left: 5px; padding-right: 5px; + margin-right: -15px; } #title { From 5c3922b7a59bd91a8feb74253f55290f79c0c4e2 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:08:35 -0400 Subject: [PATCH 100/172] loading thingy --- src/styles/search.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/styles/search.css b/src/styles/search.css index 315562f..9ae9b38 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -123,9 +123,11 @@ a { .logo { margin-top: 20px; + margin-left: -30px; } .title { + margin-left: 30px; } .page-top { From dc021d7c216b96ee36033638cfa15cf739d703c9 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:08:57 -0400 Subject: [PATCH 101/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 9ae9b38..4e775ca 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -123,7 +123,7 @@ a { .logo { margin-top: 20px; - margin-left: -30px; + margin-left: -130px; } .title { From e73c489154d48e226f7eb2cc08d4d209ff4bfac5 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:09:22 -0400 Subject: [PATCH 102/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 4e775ca..f15975a 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -123,7 +123,7 @@ a { .logo { margin-top: 20px; - margin-left: -130px; + margin-left: -150px; } .title { From ee38d93bfb267832b8b06849c69a2dc045d77649 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:09:40 -0400 Subject: [PATCH 103/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index f15975a..8192eff 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -123,7 +123,7 @@ a { .logo { margin-top: 20px; - margin-left: -150px; + margin-left: -170px; } .title { From 3e6ecb3133a2df59ac99b41cdb90ece5d7679d65 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:10:01 -0400 Subject: [PATCH 104/172] loading thingy --- src/styles/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/search.css b/src/styles/search.css index 8192eff..103228f 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -127,7 +127,7 @@ a { } .title { - margin-left: 30px; + margin-left: 60px; } .page-top { From a2c7097af867d2a47afa05f5ac59ffb595a1f7f7 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:10:34 -0400 Subject: [PATCH 105/172] loading thingy --- src/styles/search.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index 103228f..cec7e3d 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -123,11 +123,11 @@ a { .logo { margin-top: 20px; - margin-left: -170px; + margin-left: -75px; } .title { - margin-left: 60px; + margin-left: 75px; } .page-top { From 319cba1ba4299a21bee1ee797d3ed6f37e4ce046 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:11:04 -0400 Subject: [PATCH 106/172] loading thingy --- src/styles/search.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/styles/search.css b/src/styles/search.css index cec7e3d..315562f 100644 --- a/src/styles/search.css +++ b/src/styles/search.css @@ -123,11 +123,9 @@ a { .logo { margin-top: 20px; - margin-left: -75px; } .title { - margin-left: 75px; } .page-top { From 35a8a9567b569cc5b40c08a7123fdd399e367dfb Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 8 Aug 2016 19:12:47 -0400 Subject: [PATCH 107/172] loading thingy --- src/templates/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/search.html b/src/templates/search.html index 79ab689..c39dab6 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,7 +3,7 @@ {{super()}}