-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
executable file
·66 lines (54 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en" manifest="manifest.appcache">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Weather Fish">
<link rel="apple-touch-icon-precomposed" href="img/weatherfish.png">
<link rel="apple-touch-startup-image" href="img/startup.png">
<link rel="shortcur icon" href="img/weatherfish.png">
<link rel="stylesheet" href="css/weather-icons.css">
<link rel="stylesheet" href="css/style.css">
<title>Weather Fish</title>
</head>
<body>
<div id="install" class="center">
<img src="img/weatherfish.png" width="100" alt="WeatherFish">
<p>Please visit this page from your iOS device and install it on your home screen.</p>
</div>
<div id="fish">
<div id="loading" class="active">
<div class="center"><i class="sk-spinner-pulse sk-spinner"></i></div>
</div>
<script id="template" type="x-tmpl-mustache">
<div id="status">
{{current.city}} / {{current.date}}
<strong>{{current.weather}} {{current.temp}}°</strong>
</div>
<div id="current">
<i class="wi {{current.icon}} swing"></i>
</div>
<div id="history">
<div id="temperature" class="center">
<canvas id="chart"></canvas>
</div>
<ul id="list">
{{#week}}
<li>{{week}}<br>
<i class="wi {{iconUp}}"></i><br>
<span>
<i class="wi {{iconDown}}"></i><br>
{{date}}
</span>
{{/week}}
</ul>
</div>
</script>
</div>
<script src="js/mustache.js"></script>
<script src="js/Chart.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>