aboutsummaryrefslogtreecommitdiff
path: root/views/index.hbs
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 06:59:56 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 06:59:56 +0000
commit1032205c1a94ae31d780d2c339abbe628eb27fae (patch)
tree7cc15d706f5fbd1c624341e781219710287088cf /views/index.hbs
parent553e5d112f34c6be19b388fea110dcdceb7015bd (diff)
parent2b0ca1332175139e44235c3ac3390d5f26eae7e1 (diff)
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'views/index.hbs')
-rw-r--r--views/index.hbs16
1 files changed, 10 insertions, 6 deletions
diff --git a/views/index.hbs b/views/index.hbs
index 59c589f..c3cbeab 100644
--- a/views/index.hbs
+++ b/views/index.hbs
@@ -1,7 +1,7 @@
<header>
<div class="header-content">
- <form action="/search" method="get">
+ <form action="/search/courses" method="get" id="search-field">
<section class="header-content-inner">
<p><strong>The solutions to all your problems</strong></p>
<hr> <!-- Divider -->
@@ -14,13 +14,17 @@
class="btn btn-default dropdown-toggle search-button"
data-toggle="dropdown"
aria-haspopup="true"
- aria-expanded="false">
- Courses
+ aria-expanded="false" id="search-drop-down">
+ <span id="drop-down-value">Courses</span>
<span class="caret"></span>
</button>
- <ul class="dropdown-menu">
- <li><a href="#">Courses</a></li>
- <li><a href="#">Users</a> </li>
+ <ul class="dropdown-menu" id="search-type">
+
+ <!-- add classes to <a> refs, on click, check texts, hide/adjust,
+ change action etc. accordingly -->
+
+ <li><a href="#" class="search-menu">Courses</a></li>
+ <li><a href="#" class="search-menu">Users</a> </li>
</ul>
</div>