-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
172 lines (152 loc) · 6.65 KB
/
search.html
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Projects 5.6.1</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Webdata management</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="search.html">Movies</a></li>
<li class=""><a href="shakespeare.html">Shakespeare</a></li>
<li class=""><a href="music.html">Music</a></li>
<!--<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>-->
</ul>
<!--<ul class="nav navbar-nav navbar-right">
<li><a href="../navbar/">Default</a></li>
<li><a href="../navbar-static-top/">Static top</a></li>
<li class="active"><a href="./">Fixed top</a></li>
</ul>-->
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container">
<div class="blog-header">
<h1 class="blog-title">Project 5.6.1</h1>
<p class="lead blog-description">Simple search engine.</p>
</div>
<div class="row">
<div class="col-md-8 ">
<h2>Search form</h2>
<form class="form-horizontal" role="form">
<!-- Title -->
<div class="form-group">
<label for="inputTitle" class="col-sm-2 control-label">Title</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputTitle" placeholder="Part of title">
</div>
</div>
<!-- Genres -->
<div class="form-group">
<label for="inputGenre" class="col-sm-2 control-label">Genre</label>
<div class="col-sm-10">
<select class="form-control" style="width: 100%;" id="inputGenre">
<option value="">Select genre:</option>
<option>Crime</option>
<option>Western</option>
<option>Drama</option>
<option>Action</option>
</select>
</div>
</div>
<!-- Director -->
<div class="form-group">
<label for="inputDirector" class="col-sm-2 control-label">Director</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputDirector" placeholder="First or last name">
</div>
</div>
<!-- Actors -->
<div class="form-group">
<label for="inputActors" class="col-sm-2 control-label">Actors</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputActors" placeholder="First or last name">
</div>
</div>
<!-- years -->
<div class="form-group">
<label for="inputYear" class="col-sm-2 control-label">Year</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputYear" placeholder="Year">
</div>
</div>
<!-- Keywords -->
<div class="form-group">
<label for="inputKeywords" class="col-sm-2 control-label">Keywords</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="inputKeywords" placeholder="Keywords">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="button" id="searchButton" class="btn btn-default pull-right">Search</button>
</div>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2>Results</h2>
<div id="results">
<div class="well well-lg">No results yet</div>
</div>
<div id="movieDetails" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 id="detail-title" class="modal-title" id="myLargeModalLabel"></h4>
</div>
<div id="detail-body" class="modal-body">
</div>
</div>
</div>
</div>
</div>
</div>
</div> <!-- /container -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/helpers.js"></script>
<script src="js/modal.js"></script>
<script src="js/search.js"></script>
</body>
</html>