-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
148 lines (144 loc) · 6.13 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Cruise Search</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<!-- Heat Map files -->
<link href="css/cal-heatmap.css" rel="stylesheet">
<script src="js/cal-heatmap.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap-theme.min.css">
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="css/bootstrap-select.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/theme.css" rel="stylesheet">
<link href="css/grid.css" rel="stylesheet">
</head>
<body>
<div class="container theme-showcase">
<!-- Header -->
<div class="jumbotron">
<h2>Oceanographic Cruise Finder</h2>
<p>This is a tool developed to filter a set of cruises by any of the criteria on the left panel.
</p>
</div>
<h3>Search Criteria </h3>
<div class="row">
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Select a DBO Line
<!--<span class="glyphicon glyphicon-minus"></span>
<span class="glyphicon glyphicon-minus"></span> -->
</h3>
</div>
<div class="panel-body">
<select id="dbo" class="selectpicker" multiple title="All DBO Lines" >
<option value ='1'>DBO 1</option>
<option value ='2'>DBO 2</option>
<option value ='3'>DBO 3</option>
<option value ='4'>DBO 4</option>
<option value ='5'>DBO 5</option>
</select>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Select a Chief Scientist
<!--<span class="glyphicon glyphicon-user"></span> -->
</h3>
</div>
<div class="panel-body">
<select id="chief_sci" class="selectpicker" data-live-search="true" >
<option value='0'>Any</option>
</select>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Select a Vessel
<!--<span class="glyphicon glyphicon-plane"></span>-->
</h3>
</div>
<div class="panel-body">
<select id="vessel" class="selectpicker" data-live-search="true" >
<option value='0'>Any</option>
</select>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Enter a Cruise Id
<!--<span class="glyphicon glyphicon-text-height"></span>-->
</h3>
</div>
<div class="panel-body">
<select id = "cruise_id" class="selectpicker" data-live-search="true" >
<option value='0'>Any</option>
</select>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Select a Year
<!--<span class="glyphicon glyphicon-send"></span>-->
</h3>
</div>
<div class="panel-body">
<select id = "year" class="selectpicker" data-live-search="true" >
<option value='0'>Any</option>
</select>
</div>
</div>
</div>
<div class="col-md-3" id="right_panel">
<div class="panel panel-default ">
<div class="panel-heading">
<h3 class="panel-title">Cruise Results</h3>
</div>
<div class="panel-body">
<div class="list-group">
</div>
</div>
</div>
<!--<button type="button" class="btn btn-lg btn-success">Download Data for Selected Cruises</button>-->
</div>
<div class="col-md-6">
<div class="panel panel-default" >
<div class="page-header" id="time_series_title">
<h2>Density of DBO occupations <br><small>mouse over a month to see the no. of occupations </small></h2>
</div>
<div class="panel-body" id="time_series" >
</div>
</div>
</div>
</div>
<div class = "well"> Features to implement for P4:
<ul>
<li>The functionality of the "Get Cruise Data" buttons (get data from server) </li>
<li>Store data in SQL database instead of data.js file</li>
<li> Ability to submit data as well as retrieve data</li>
</ul>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/data.js"></script>
<script src="js/dbo.js"></script>
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
<script src="http://silviomoreto.github.io/bootstrap-select/javascripts/bootstrap-select.js"></script>
<script type="text/javascript">
$(document).ready(function(e) {
$('.selectpicker').selectpicker();
});
</script>
</body>
</html>