aboutsummaryrefslogtreecommitdiff
path: root/views/index.hbs
blob: c3cbeabe903c309e6550972b98af2c135b236d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<header>
	<div class="header-content">

		<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 -->
				<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" id="search-drop-down">
                                <span id="drop-down-value">Courses</span>
                                <span class="caret"></span>
                            </button>
							<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>

						<!-- 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>