diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:14 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:14 +0000 |
| commit | 1904de750f421cce9bec21ab89c50ea7a38a37d4 (patch) | |
| tree | 813b3716d45c3c38c1ec3963bef73baf4d8c1c74 /views/index.hbs | |
| parent | 74fe077b29ee681f8e55d14afdbd7c93bc2c1048 (diff) | |
Added user search feature, fixed styilng, added some scripting
Diffstat (limited to 'views/index.hbs')
| -rw-r--r-- | views/index.hbs | 16 |
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> |
