-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (50 loc) · 1.07 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
<html>
<head>
<title>Anders Väder</title>
<meta charset=UTF-8>
<link rel=icon href=images/favicon.png> <meta name=viewport content="width=device-width, initial-scale=0.8">
<style>
body {
margin-top: 5px;
margin-left: 20px;
margin-right: 10px;
}
a:link {
text-decoration: none;
}
td {
padding: 2px;
}
</style>
</head>
<body>
<div>
<table id="tempTable">
<!--<tr><th>DateTime</th><th>Temperature</th></tr>-->
</table>
</div>
<div>
<br>
</div>
<div id="aboutDiv">
</div>
<!--
<div>
<form id="weatherform" onsubmit='return getWeather(event)'>
Lat:<input type='text' name='lat' value='59.842069'>
Lon:<input type='text' name='lon' value='17.636540'>
<button type="submit">Väder</button>
</form>
</div>
<div id="my-console"></div>
-->
</body>
<script src="suncalc.js"></script>
<script src="common.js" charset="UTF-8"></script>
<script src="vader.js" charset="UTF-8"></script>
<script>
window.onload = function () {
getWeather();
};
</script>
</html>