-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
167 lines (144 loc) · 5.54 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>Poncho</title>
<meta name="description" content="Your weather. Simplified.">
<meta name="author" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="img/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="http://app.getponcho.com/img/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="img/apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" href="img/splash.png">
<link rel="stylesheet" href="css/application.css">
<script id="weatherTemplate" type="text/html">
<header>{{ city }}, {{ region }} <div>{{ time }}<span>{{ meridiem }}<span></div></header>
<div class="current-conditions clearfix">
<div class="condition-icon column">
<img src="img/weather-icons/iconbest/{{ conditionCode }}.png" alt="{{ conditionText }}" />
</div>
<div class="condition-text column">
<span class="current-temp">{{ temp }}°</span>
<span class="conditions">{{ conditionText }}</span>
</div>
</div>
<div class="meta clearfix">
<div class="column">
<div class="radar">
<a href="#" class="button green"><span>Radar</span></a>
</div>
<div class="wind">
<span class="direction"><img src="img/arrow.png" alt="{{ windDirection }}" style="-moz-transform:rotate({{ windDirection }}deg);-webkit-transform:rotate({{ windDirection }}deg);transform:rotate({{ windDirection }}deg);" /></span>
<span class="speed">{{ windSpeed }} {{ speedUnit }}</span>
</div>
</div>
<div class="column">
<div class="day-highlow clearfix">
<span class="column high">{{ forecast1High }}°</span>
<span class="column low">{{ forecast1Low }}°</span>
</div>
<div class="astronomy">
<span>{{ sunrise }} - {{ sunset }}</span>
</div>
</div>
</div>
<div class="forecast clearfix">
<ul>
<li>
<div class="day">
<span>{{ forecast1Day }}</span>
<span class="condition">{{ forecast1Text }}</span>
</div>
<div class="icon">
<img src="img/weather-icons/iconbest/{{ forecast1Code }}.png" width="40" alt="{{ forecast1Text }}" />
</div>
<div class="temps">
<span>{{ forecast1High }}°/{{ forecast1Low }}°</span>
</div>
</li>
<li>
<div class="day">
<span>{{ forecast2Day }}</span>
<span class="condition">{{ forecast2Text }}</span>
</div>
<div class="icon">
<img src="img/weather-icons/iconbest/{{ forecast2Code }}.png" width="40" alt="{{ forecast2Text }}" />
</div>
<div class="temps">
<span>{{ forecast2High }}°/{{ forecast2Low }}°</span>
</div>
</li>
</ul>
</div>
</script>
<script id="locationTemplate" type="text/html">
<div class="item">
<div class="location">
{{ name }}
<span class="zip">{{ zip }}
</div>
<a href="#" class="destroy">x</a>
</div>
</script>
</head>
<body>
<div id="views" class="clearfix">
<div id="weather" class="panel">
<div class="loading">
<span>Loading Weather…</span>
<div class="loader-dot first"></div>
<div class="loader-dot second"></div>
<div class="loader-dot third"></div>
</div>
</div>
<div id="radar">
<header>Weather Radar<a href="#" class="button blue back">Back</a></header>
</div>
<div id="locations" class="panel">
<form>
<input type="text" placeholder="Enter a Zip Code or City">
</form>
<div class="items"></div>
</div>
</div>
<footer>
<nav>
<ul class="tabs">
<li data-name="weather"><span>Weather</span></li>
<li data-name="locations"><span>Locations</span></li>
</ul>
</nav>
</footer>
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="js/util.js"></script>
<script src="js/lib/json2.js"></script>
<script src="js/lib/zepto/zepto.min.js"></script>
<script src="js/plugins/yql.js"></script>
<script src="js/plugins/weatherradar.js"></script>
<script src="js/lib/mustache.js"></script>
<script src="js/lib/store.min.js"></script>
<script src="js/lib/spine/spine.min.js"></script>
<script src="js/lib/spine/spine.model.local.js"></script>
<script src="js/lib/spine/spine.manager.js"></script>
<script src="js/lib/spine/spine.tabs.js"></script>
<script src="js/lib/spine/spine.route.js"></script>
<script src="js/models/location.js"></script>
<script src="js/application.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23462110-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>