-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (64 loc) · 2.02 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>SciTrk</title>
<link type="text/css" rel="stylesheet" href="scitrkstyles.css"/>
<script type="text/javascript" src="js/scitrk.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=&callback=initMap">
</script>
</head>
<form>
<myTitle>SciTrk</myTitle>
<!--- Search options for different use cases --->
<div id="search" class="soption">
<form>
<p>
<select id="searchoption" name="options" class="soption" onchange="changeClass(this.value)" style="width:250px">
<option value="">Search type</option>
<option value="location">Search for training locations</option>
<option value="field">Search for people in field</option>
<option value="family">Search for students' current locations</option>
</select>
</p>
</form>
<br>
<p>
<form class="form">
<!-- Search by name -->
<div id="searchname">
<span class="header">Name: </span>
<input id="name" type="text"/>
</div>
<!-- Search for location by field -->
<div id="searchfield">
<span class="header">Field:</span>
<input id="field" type="text"/><br>
<span class="header">Miles:</span>
<input id="distance" type="number" min="1" max="5000" step="1" value="60"/><br>
<span class="header"> from institution: </span> <input id="currentInstitution" type="text"/><br>
</div>
<br>
<div class="visible">
<input type="button" value="Submit" onclick="getTable()"/>
<input type="reset" value="Reset"/>
</div>
</p>
</form>
<div id="results_div"></div>
<div class="form" id="loadingImg">
<img src="loadingImg.gif" alt="Loading" style="width:50px;height:50px;">
</div>
</div>
<!-- map -->
<p>
<div id="map"></div>
<div id="legend"><h3>Legend</h3></div>
</p>
<br>
<br>
<p class="footer">
Created by Jon Schor and Ling Guo at UCSF as part of BMI217. Thanks to <a href="https://neurotree.org/neurotree/">Neurotree</a> for providing database information.
</p>
</body>
</html>