aboutsummaryrefslogtreecommitdiff
path: root/views/index.hbs
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-18 10:49:16 +0000
committerHumairAK <humair88@hotmail.com>2016-07-18 10:49:16 +0000
commitc1ce89359a7b54ec97b54ce577e5534c180c5c4b (patch)
tree39f8333533131fc0b0efba99a0517e11a63706ce /views/index.hbs
parent0a47900db45ce82d10ad09a6aee85e1ba68a9063 (diff)
Various fixes, see changelog for details.
Diffstat (limited to 'views/index.hbs')
-rw-r--r--views/index.hbs36
1 files changed, 36 insertions, 0 deletions
diff --git a/views/index.hbs b/views/index.hbs
new file mode 100644
index 0000000..9826209
--- /dev/null
+++ b/views/index.hbs
@@ -0,0 +1,36 @@
+<header>
+ <div class="header-content">
+
+ <form action="/search" method="get">
+ <section class="header-content-inner">
+ <p><strong>The solutions to all your problems</strong></p>
+ <hr> <!-- Divider -->
+ <div class="search col-md-8 col-lg-8 col-md-offset-2">
+ <!-- Search-bar, Drop-down and Prompt -->
+ <div class="input-group">
+ <!-- Search Category Drop-Down -->
+ <div class="input-group-btn">
+ <button type="button" class="btn btn-default dropdown-toggle search-button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Courses <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Courses</a></li>
+ <li><a href="#">Users</a> </li>
+ </ul>
+ </div>
+
+ <!-- Search bar -->
+ <input type="text" id = "user-input" class="form-control" aria-label="..." name="search" placeholder="Enter course name">
+ <!-- Prompt Search -->
+ <span class="input-group-btn">
+ <button id = 'go-button' class="btn btn-default search-button go-button" type="submit">Go!</button>
+ </span>
+ </div>
+ </div>
+ <!-- Site Desciprtion -->
+ <h5 class="home-intro">
+ Solutions.repo is a community driven service that provides visitors
+ with solutions to past UofT Exams.
+ </h5>
+ </section>
+ </form>
+ </div>
+</header>