Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2XB3FinalProject
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Schankula
2XB3FinalProject
Commits
9516253c
Commit
9516253c
authored
6 years ago
by
Ray Liu
Browse files
Options
Downloads
Patches
Plain Diff
Fixed merge conflicts
parent
bfe61dbe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tomcat/webapps/Trawl/index.jsp
+0
-101
0 additions, 101 deletions
tomcat/webapps/Trawl/index.jsp
tomcat/webapps/Trawl/infoWindow.js
+2
-3
2 additions, 3 deletions
tomcat/webapps/Trawl/infoWindow.js
tomcat/webapps/Trawl/script.js
+1
-3
1 addition, 3 deletions
tomcat/webapps/Trawl/script.js
with
3 additions
and
107 deletions
tomcat/webapps/Trawl/index.jsp
+
0
−
101
View file @
9516253c
...
...
@@ -99,105 +99,4 @@ Double Handle Slider Modified from: http://jqueryui.com/slider/#range
</body>
</html>
=======
<%@ page
import=
"java.util.*"
%>
<!--
Double Handle Slider Modified from: http://jqueryui.com/slider/#range
-->
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"keywords"
content=
"insert, some, keywords"
>
<!--TODO-->
<meta
name=
"description"
content=
"insert a description"
>
<!--TODO-->
<title>
TrawlExpert
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
<!--JQuery-->
<script
src=
"https://code.jquery.com/jquery-1.12.4.js"
></script>
<script
src=
"https://code.jquery.com/ui/1.12.1/jquery-ui.js"
></script>
<script
src=
"https://cdn.plot.ly/plotly-latest.min.js"
></script>
<script
src=
"histogram.js"
></script>
<script
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyBmfzgAfA1sXItGVdGiC5txAieu8VYXcZM&libraries=visualization"
></script>
<script
src=
"map.js"
></script>
<script
src=
"infoWindow.js"
></script>
<script
src=
"infoGenerator.js"
></script>
<link
rel=
"stylesheet"
href=
"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"
>
<!-- MUST load JQuery Library before loading this-->
<script
src=
"script.js"
></script>
<!--Fonts-->
<!--Open Sans Rg-400/Semi-600/Bd-700-->
<link
href=
"https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"
rel=
"stylesheet"
>
<!--Plugins-->
</head>
<body>
<header>
<div
class=
"headerWrapper"
>
<a
href=
"index.jsp"
>
TrawlExpert
</a>
<span
class=
"nav-bar"
>
<a
href=
"about.html"
>
About
</a>
|
<a
href=
"index.html"
target=
"_blank"
>
GitHub
</a>
</span>
</div>
</header>
<section
id=
"main"
>
<section
id=
"formWrapper"
>
<section
id=
"pickSciRanks"
>
Phylum:
<select
name=
"pickSciR"
id=
"pickPhylum"
size=
"1"
onChange=
"callUpdateSci(this)"
>
<!--Dynamically Filled-->
</select>
Class:
<select
name=
"pickSciR"
id=
"pickClass"
size=
"1"
onChange=
"callUpdateSci(this)"
>
<%--<option value="00">Arthropoda</option>--%>
</select>
Order:
<select
name=
"pickSciR"
id=
"pickOrder"
size=
"1"
onChange=
"callUpdateSci(this)"
>
<!--Dynamically Filled-->
</select>
Family:
<select
name=
"pickSciR"
id=
"pickFamily"
size=
"1"
onChange=
"callUpdateSci(this)"
>
<!--Dynamically Filled-->
</select>
Genus:
<select
name=
"pickSciR"
id=
"pickGenus"
size=
"1"
onChange=
"callUpdateSci(this)"
>
<!--Dynamically Filled-->
</select>
Species:
<select
name=
"pickSciR"
id=
"pickSpecies"
size=
"1"
>
<!--Dynamically Filled-->
</select>
</section>
<section
id=
"yearIn"
>
Year Range:
<span
id=
"fromtoYear"
></span>
<form>
<div
id=
"slider-range"
></div>
</form>
</section>
<section
id=
"outputIn"
>
<%--Map and Histogram must have the same name for default checkbox to function correctly--%>
<input
type=
"radio"
name=
"pickOutput"
value=
"map"
checked
>
Map
<input
type=
"radio"
name=
"pickOutput"
value=
"heat"
>
Heatmap
<input
type=
"radio"
name=
"pickOutput"
value=
"histogram"
>
Histogram
<button
type=
"button"
onClick=
"callOutput()"
>
Load
</button>
<button
type=
"button"
onClick=
""
>
View Individual Records
</button>
<!--To records.html-->
</section>
</section>
<section
id=
"outputWrapper"
>
<section
id=
"outputDetails"
>
<!-- Stuff like population count, entries found, etc. go here -->
</section>
<section
id=
"outputBox"
>
<!-- Map, Histogram Box. Histogram selected by default but we might want to have a loading screen instead.-->
<%--<div id="histogram"></div>--%>
<%--<div id="map"></div>--%>
<%--<div id="heat"></div>--%>
<%--<div id="console">~~~ PSEUDO-CONSOLE ~~~<br></div>--%>
</section>
</section>
</section>
</body>
</html>
>>>>>>> d1f7464b4ffda020ccd6a1dc06a4f3b8386384ee
This diff is collapsed.
Click to expand it.
tomcat/webapps/Trawl/infoWindow.js
+
2
−
3
View file @
9516253c
...
...
@@ -4,7 +4,6 @@
// Displays markers on a map centred at the Laurentian Great Lakes
// When the user clicks the marker, an info window opens
<<<<<<<
HEAD
function
initInfo
(
lati
,
longi
,
info
)
{
for
(
var
i
=
0
;
i
<
lati
.
length
;
i
++
){
...
...
@@ -14,7 +13,7 @@ function initInfo(lati, longi,info) {
center
:
{
lat
:
45.0349575
,
lng
:
-
88.6941305
};
});
=======
function
initInfo
(
lati
,
longi
,
name
,
date
,
count
)
{
console
.
log
(
"
Trying to gen. info map
"
);
// Generate map centred at Great Lakes
...
...
@@ -25,7 +24,7 @@ function initInfo(lati, longi,name, date, count ) {
console
.
log
(
"
Gened info map
"
);
>>>>>>>
d1f7464b4ffda020ccd6a1dc06a4f3b8386384ee
// Set info window contents to input string
var
infowindow
=
new
google
.
maps
.
InfoWindow
();
...
...
This diff is collapsed.
Click to expand it.
tomcat/webapps/Trawl/script.js
+
1
−
3
View file @
9516253c
<<<<<<<
HEAD
// Initialization
function
init
()
{
callUpdateSci
({
id
:
"
pickAnimalia
"
,
value
:
2
});
// Propagate Dropdowns on Startup
...
...
@@ -564,5 +564,3 @@ $( function() {
$
(
"
#fromtoYear
"
).
html
(
$
(
"
#slider-range
"
).
slider
(
"
values
"
,
0
)
+
"
-
"
+
$
(
"
#slider-range
"
).
slider
(
"
values
"
,
1
))
}
);
>>>>>>>
d1f7464b4ffda020ccd6a1dc06a4f3b8386384ee
window
.
onload
=
init
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment