-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathforecastioConnector.html
33 lines (33 loc) · 1.8 KB
/
forecastioConnector.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
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Cache-Control" content="no-store" />
<head>
<meta charset="utf-8" />
<title>Forecast.io Web Data Connector</title>
<script type="text/javascript" src="../js/jquery-2.1.4.js"></script>
<script type="text/javascript" src="../js/moment.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="https://connectors.tableau.com/libs/tableauwdc-2.3.latest.js" type="text/javascript"></script>
<script src="../js/forecastio.js"></script>
</head>
<body>
<div class="container">
<h3>Forecast.io Weather Data</h3>
<h4>Enter a latitude and longitude to get localized weather data</h4>
<br />
<div class="row">
<div class="col-xs-2">Latitude</div>
<div class="col-xs-10"><input type="text" id="latitude" name="latitude" style="width: 150px;" /></div>
</div>
<div class="row">
<div class="col-xs-2">Longitude</div>
<div class="col-xs-10"><input type="text" id="longitude" name="longitude" style="width: 150px;" /></div>
</div>
<br />
<h5>Need to lookup lat/long? Try entering your address on <a href="http://www.bing.com/mapspreview" target="blank" >Bing Maps</a> or put a zip code into <a href="http://www.melissadata.com/lookups/GeoCoder.asp" target="blank">Melissa Data</a></h5>
<br />
<button type="button" id="submitButton">Get Weather Forecast</button>
</div>
</body>
</html>