aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorkdam0 <kumar.damani@mail.utoronto.ca>2017-04-14 17:36:32 +0000
committerkdam0 <kumar.damani@mail.utoronto.ca>2017-04-14 17:36:32 +0000
commitc06a7af55e7a40abc6eb12fff56851c6512e32c7 (patch)
treee5e5eae90f6fbb05ba783df977c8c3712102f143 /views
parentc1bcbbec851d509ee911016536a5e684eac4ee43 (diff)
feat / updated the css and js for the search bar input
Diffstat (limited to 'views')
-rw-r--r--views/index.hbs21
1 files changed, 15 insertions, 6 deletions
diff --git a/views/index.hbs b/views/index.hbs
index c1c8eca..dfb06d3 100644
--- a/views/index.hbs
+++ b/views/index.hbs
@@ -59,15 +59,24 @@
</ul>
</div>
+ <!-- Search bar courses (shown by default) -->
<div id="custom-autocomplete">
- <!-- Search bar -->
<input type="text"
- id = "user-input"
- class="form-control typeahead"
- aria-label="..."
- name="search"
- placeholder="Enter course code eg. CSC148">
+ id = "user-input-course"
+ class="form-control typeahead"
+ aria-label="..."
+ name="search"
+ placeholder="Enter course code eg. CSC148">
</div>
+ <!-- Search bar users (hidden by default) -->
+ <input type="text"
+ id = "user-input-users"
+ class="form-control"
+ aria-label="..."
+ name="search"
+ placeholder="Enter user info"
+ style="display:none">
+
<!-- Prompt Search -->
<span class="input-group-btn">
<button id = 'go-button'