From 7e79ecbb517877f0bcc67a4553a766f65fd73d52 Mon Sep 17 00:00:00 2001 From: HumairAK Date: Tue, 26 Jul 2016 21:59:20 -0400 Subject: split up script files, only serving relevant scripts for each page accordingly --- views/layouts/layout.hbs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'views') diff --git a/views/layouts/layout.hbs b/views/layouts/layout.hbs index b9895a5..17e9b3d 100644 --- a/views/layouts/layout.hbs +++ b/views/layouts/layout.hbs @@ -25,7 +25,17 @@ + + {{# if userProfile}} + + {{/if}} + {{# if adminPanel}} + + {{/if}} + {{# if homePage }} + + {{/if}} -- cgit v1.2.3 From a6f8527174c8677b29eb377e2a9f235b4989ab99 Mon Sep 17 00:00:00 2001 From: Waref Haque Date: Tue, 26 Jul 2016 22:39:53 -0400 Subject: follow exam --- views/questions.hbs | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) (limited to 'views') diff --git a/views/questions.hbs b/views/questions.hbs index 1d62a2b..36d2a25 100644 --- a/views/questions.hbs +++ b/views/questions.hbs @@ -2,31 +2,23 @@ - - - - + {{#each query}} -- cgit v1.2.3 From 96935191ed1741aa2185a88deb32a5de4b824219 Mon Sep 17 00:00:00 2001 From: HumairAK Date: Wed, 27 Jul 2016 00:35:09 -0400 Subject: made a few adjustments, removed all avatar occurrences, a few other images for optimization and performance speed, replace pngs with svgs etc. --- views/index.hbs | 10 +++++----- views/questions.hbs | 12 ++++-------- views/user_profile_alt.hbs | 16 ++++++++++------ views/user_solutions.hbs | 8 +++++--- 4 files changed, 24 insertions(+), 22 deletions(-) (limited to 'views') diff --git a/views/index.hbs b/views/index.hbs index 214695b..8025281 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -67,11 +67,11 @@ name="search" placeholder="Enter course name"> - - - + + + diff --git a/views/questions.hbs b/views/questions.hbs index ac94f8b..ebbbcc5 100644 --- a/views/questions.hbs +++ b/views/questions.hbs @@ -16,11 +16,8 @@ {{/if}} {{/if}} -
- - -
+

{{examInfo.courseCode}}

{{examInfo.term}} {{examInfo.year}} {{examInfo.type}}

Instructor(s): {{examInfo.instructors}}

@@ -30,14 +27,13 @@

Question count: {{examInfo.questionCount}}

- -
- + {{#each query}} @@ -47,7 +43,7 @@

{{this.count}} solutions, {{this.comments}} comments

- +
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs index 72baa86..7a61366 100644 --- a/views/user_profile_alt.hbs +++ b/views/user_profile_alt.hbs @@ -20,7 +20,8 @@