-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
50 lines (50 loc) · 2.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Simple Weather Fetch</title>
</head>
<body>
<div id="main">
<div id="clock">
<div class="time">--:-- --</div>
<div class="date">
----
</div>
</div>
<div id="WeatherWhole" >
<table>
<tr>
<td><table><tr><td><object type="image/svg+xml" data="weather-icons/wi-sunrise.svg"></object></td>
<td style="padding-bottom: 5px">
<span id="sunriseTime"></span> AM
</td></tr></table></td>
<td><table><tr><td><object type="image/svg+xml" data="weather-icons/wi-sunset.svg"></object></td>
<td style="padding-bottom: 5px"><span id="sunsetTime"></span> PM</td></tr></table></td>
</tr>
</table>
<div class="weather">
<span id="currentTemp">°</span><img id="currentImg" src="" />
<br />
<table class="minmaxTemp">
<tr>
<td id="minTemp"> ° </td><td>/</td><td id="maxTemp"> ° </td>
</tr>
</table>
<br />
<table class="forecast">
<tr><td id="forecastday1"></td><td><img id="forecastimg1" class="forecastImg" src="" /></td><td id="forecasttemp1">------- °</td></tr>
<tr><td id="forecastday2"></td><td><img id="forecastimg2" class="forecastImg" src="" /></td><td id="forecasttemp2">------- °</td></tr>
<tr><td id="forecastday3"></td><td><img id="forecastimg3" class="forecastImg" src="" /></td><td id="forecasttemp3">------- °</td></tr>
<tr><td id="forecastday4"></td><td><img id="forecastimg4" class="forecastImg" src="" /></td><td id="forecasttemp4">------- °</td></tr>
<tr><td id="forecastday5"></td><td><img id="forecastimg5" class="forecastImg" src="" /></td><td id="forecasttemp5">------- °</td></tr>
</table>
</div>
<span id="updatedTime">-------</span>
</div>
<div id="error">Please enter weather api information</div>
</div>
<script src="js/script.js"></script>
</body>
</html>