aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorWaref Haque <warefhaque@Warefs-MacBook-Pro.local>2016-07-17 20:24:49 +0000
committerWaref Haque <warefhaque@Warefs-MacBook-Pro.local>2016-07-17 20:24:49 +0000
commite58943c3e620f05937656fdde032254ae3373f36 (patch)
tree77072aa55efa1753c8c8ae584669cf3589551268 /index.html
parent55098c767afb0b119aaeda330eaedba5c1a87dc3 (diff)
redirect commit
Diffstat (limited to 'index.html')
-rw-r--r--index.html58
1 files changed, 31 insertions, 27 deletions
diff --git a/index.html b/index.html
index 91cffdf..00a5c21 100644
--- a/index.html
+++ b/index.html
@@ -21,6 +21,7 @@
<!--JS-->
<script src="assets/js/jquery-2.2.4.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
+ <script src="assets/js/script.js"></script>
</head>
<body>
@@ -87,35 +88,38 @@
<header>
<div class="header-content">
- <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" class="form-control" aria-label="..." name="search" placeholder="Enter course name">
- <!-- Prompt Search -->
+
+ <form action="http://localhost:3000/exams" 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 onclick="window.location='exams.html';"class="btn btn-default search-button go-button" type="button">Go!</button>
+ <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>
+ </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>