-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (42 loc) · 1.69 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
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Local Weather</title>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<body ng-app="WeatherApp">
<div class="container" ng-controller="MainCtrl">
<div class=transBack>
<div id="weatherDiv">
<h1 class="text-center"> Local Weather : <span>{{city}}, {{state}}</span></h1>
<p>
<h1 class="text-center"><img src="{{icon_url}}"/>{{temp}} °{{temp_var1}}</h1>
</p>
<div id="butns">
<button class="btn bottom-buttons" id="tempButn" data-temp="{{temp_var1}}" ng-click="clickTempButton()">
<strong>°{{temp_var2}}</strong>
</button>
<p>
<h3 class="text-center"> <em> It Feels Like: {{feelslike_var}} °{{temp_var1}}</em></h3></p>
<p>
<h3 class="text-center"> <em> Looks like it's {{weatherforecast}}! </em></h3></p>
<p>
<h3 class="text-center"> <em> The local date-time is {{local_time}} </em></h3></p>
</div>
<!--butns -->
</div>
<!-- weatherDiv -->
</div>
<!-- transBack -->
<p><img id="weatherLogo" src="http://www.climatesignals.org/sites/www.climatesignals.org/files/resources/WU%20banner%20logo.png" />
</div>
<!-- container -->
</body>
<script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.5/angular.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>