-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (69 loc) · 3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="A single-page template generated by Tizen Web IDE"/>
<title>Beau Temps</title>
<!-- <link rel="stylesheet" href="./css/jquery.mobile-1.3.2.min.css"/>
<script type="text/javascript" src="./js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="./js/jquery.mobile-1.3.2.min.js"></script>-->
<script type="text/javascript" src="./js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="./js/jquery.leanModal.min.js"></script>
<link rel="stylesheet" href="./css/style.css" />
<link rel="stylesheet" type="text/css" href="css/app.css"/>
<script type="text/javascript" src="js/app.js"></script>
</head>
<body>
<div data-role="content" data-theme="d">
<div class="vertbox">
<h1>Now, <span class="city">Edmonton, CA</span></h1>
<img class="vweathericon" id="currentVerticalWeatherIcon" src="img/icon/300/01d.png" />
<div><span class="temperature vertical now" id="verticalCurrentTemp">-7</span>
</div>
<div style="clear:both;"> </div>
</div>
<div class="vertbox">
<h1>Today</h1>
<img class="vweathericon" id="todayVerticalWeatherIcon" src="img/icon/300/02d.png" />
<div><span class="temperature vertical" id="verticalTodayTemp">-7</span>
</div>
</div>
<div class="vertbox">
<h1>Tomorrow</h1>
<img class="vweathericon" id="tomorrowVerticalWeatherIcon" src="img/icon/300/03d.png" />
<div style="display:block;"><span class="temperature vertical" id="verticalTomorrowTemp">-7</span>
</div>
<span style="clear:both;"> </span>
<br />
<br />
</div>
<a style="float:right; height:0px; display:block;position:absolute;margin-bottom:0px;padding-bottom:0px;bottom:2.5em;" href="#settings_overlay" class="btnOpenSettings"><img src="./img/location.png"></a>
<!-- /content -->
</div><!-- /page -->
<div id="settings_overlay">
<form>
<div style="padding:10px 20px;">
<h2>Settings</h2>
Current Location: <span id="currentLocationText"></span><br />
<label>Change: <input type="text" id="locationSetting" /></label> <button id="btnSearch">Search</button><br />
<span id="potentialCandidateSet">
<select id="potentialCityList" onChange="citySelectChange()">
</select> <button id="btnSetNewCity">Set</button>
<br />
</span>
<label>Units </label><select id="unitSelect">
<option value="c">C</option>
<option value="f">F</option>
<option value="k">K</option>
</select>
<br />
<button id="btnCancelSettings">Cancel</button>
</div>
</form>
<br />
<br />
Weather Data powered by OpenWeatherAPI.org
</div>
</body>
</html>