-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
67 lines (59 loc) · 1.71 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
<html>
<head>
<link href="bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet">
<link href="search.css" rel="stylesheet">
<link rel="stylesheet" href="jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.css">
<script src="jquery-ui-1.10.4.custom/js/jquery-1.10.2.js"></script>
<script src="jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js"></script>
<script src="bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script>
$(function() {
var patients = [
"John Adams",
"Ben Bitdiddle",
"John Doe",
"Gabriel Frattallone",
"Joe Johnson",
"Jan Rodriguez",
"Harry Sanabria",
];
$('#search').autocomplete({
source: patients
});
$('#go').click( function () {
window.location = 'john.html';
});
$('#alertclick').click( function () {
window.location = 'john.html';
});
});
</script>
</head>
<body>
<div id="maindiv">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Health Monitor</a>
</div>
</div>
</nav>
<div id="contentdiv">
<a href="#" id="alertclick">
<div id="alertdiv">
<div id="alert" class="alert alert-warning">
John Doe has an elevated heart rate, which may be due to his Benadryl prescription.
</div>
</div>
</a>
<div id="searchdiv">
<span id="prompt">Find Patient</span>
<br>
<input id="search" type="text" size="50">
<br>
<input id="go" type="button" class="btn btn-primary" value="Search">
</div>
</div>
</div>
</body>
</html>