-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (31 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script type="text/javascript" src="./LastUpdate.json"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link href="style.css" rel="stylesheet" type="text/css">
</script>
</head>
<body>
<div ng-app="weather" ng-controller="myCtrl" ng-init="getInitial()">
<div class="container-fluid p-3 my-3">
<div class="row d-flex justify-content-center">
<div class="card" id="gradient" style="width: 18rem;">
<img src= "{{weatherIconID}}" id="weatherIcon" class="card-img-top" alt="weatherIcon" >
<div class="card-body">
<p id="city"></p>
<p id="weatherText"></p>
<p id="degree"></p>
<p id="lastUpdated"></p>
</div>
<div class="card-footer text-center">
<button ng-click="getWeather()" class="btn btn-outline-light text-dark">Update weather</button>
</div>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>