aboutsummaryrefslogtreecommitdiff
path: root/views/index.hbs
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-18 10:54:08 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-18 10:54:08 +0000
commita35da9f9ccc1124d9b6f4461c7216ffbb0285e2f (patch)
treed5b4b8548caae36a20e1258a8341dab4b3d522d2 /views/index.hbs
parent16bbc66ebafc6f1a55e47dbda3f3c0f658fe715c (diff)
parentc1ce89359a7b54ec97b54ce577e5534c180c5c4b (diff)
merged
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>