-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
290 lines (261 loc) · 13.9 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-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" />
<link rel="apple-touch-icon" href="icon_hdpi.png" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />
<title>ATM Navigator</title>
<meta name="application-name" content="ATM Navigator" />
<meta name="description" content="АТМ Навигатор: поиск ближайших банков, пунктов обмена валют, банкоматов и инфокиосков в Беларуси" />
<meta name="description" content="ATM Navigator: searching nearest banks, exchanges, atms, terminals in Belarus" />
<meta name="keywords" content="банк,обмен валют,банкомат,валюта,инфокиоск,поиск,ближайщий,наивигатор,атм,атмнав,Беларусь,bank,exchange,atm,terminal,search,nearest,atmnav,Belarus" />
<meta name="author" content="Максим Усачев (Max Usachev), Павел Тысляцкий (Pavel Tyslytsky)" />
<!--compress:css:start-->
<link href="css/styles.less" rel="stylesheet/less" media="all" />
<!--compress:css:end-->
<!--/** debug:start */-->
<script>
less = {};
less.env = 'development';
</script>
<script src="js/libs/less-1.3.0.min.js"></script>
<!--/** debug:end */-->
<!--/** phonegap:start */-->
<script src="cordova.js" async="async"></script>
<!--/** phonegap:end */-->
</head>
<body class="nt-application">
<div class="nt-content"></div>
<div class="nt-nav">
<ul class="nt-nav-tab-container">
<li class="nt-nav-tab"><a href="#map" class="nt-nav-tab-link">
<span class="nt-nav-tab-icon map-icon"></span>
<br />
<span class="nt-nav-tab-text" data-tr="Map">Map</span>
</a></li>
<li class="nt-nav-tab"><a href="#banks" class="nt-nav-tab-link">
<span class="nt-nav-tab-icon objects-icon"></span>
<br />
<span class="nt-nav-tab-text" data-tr="Banks">Banks</span>
</a></li>
<li class="nt-nav-tab"><a href="#filters" class="nt-nav-tab-link">
<span class="nt-nav-tab-icon filters-icon"></span>
<br />
<span class="nt-nav-tab-text" data-tr="Filters">Filters</span>
</a></li>
<li class="nt-nav-tab"><a href="#about" class="nt-nav-tab-link">
<span class="nt-nav-tab-icon info-icon"></span>
<br />
<span class="nt-nav-tab-text" data-tr="Info">Info</span>
</a></li>
</ul>
</div>
<script type="text/template" id="filter-template">
<li data-id="<%= id %>" class="nt-list-item<% if (checked) { %> checked<% } %>">
<span class="nt-list-item-title"><%= tr(id) %></span>
<span class="nt-list-item-checkbox"></span>
</li>
</script>
<script type="text/template" id="object-template">
<li data-id="<%= id %>" class="nt-list-item<% if (icon) { %> nt-list-item-with-icon<% } %><% if (className) { %> <%= className %><% } %><% if (checked) { %> checked<% } %><% if (disabled) { %> disabled<% } %>">
<% if (icon) { %><img class="nt-list-item-icon" src="img/icons/<%= id %>.png" /><% } %>
<span class="nt-list-item-title"><%= tr(id) %></span>
<span class="nt-list-item-checkbox"></span>
</li>
</script>
<script type="text/template" id="about-template">
<div class="nt-about-page">
<div class="nt-about-vindent"></div>
<div class="nt-about-header">
<div class="nt-about-program-name"><%= tr("ATM Navigator") %></div>
<div class="nt-about-program-version"><%= tr("Version") %> <%= app.settings.version %></div>
</div>
<div class="nt-about-main">
<div class="nt-about-program-paragraph">
<%= tr("The application for searching nearest banks and ATMs in Belarus") %>
</div>
</div>
<div class="nt-about-developers">
<div class="nt-about-program-paragraph"><%= tr("Developers") %>:</div>
<div class="nt-about-program-paragraph"><a href="mailto:[email protected]?subject=ATM Navigator"><%= tr("Max Usachev") %></a></div>
<div class="nt-about-program-paragraph"><a href="mailto:[email protected]?subject=ATM Navigator"><%= tr("Pavel Tyslacki") %></a></div>
<div class="nt-about-developers-sep"></div>
</div>
<div class="nt-about-feedback">
<a class="button" href="mailto:[email protected]?subject=ATM%20Navigator&[email protected]"><%= tr("Feedback") %></a>
</div>
<div class="nt-about-license">
<div class="nt-about-program-paragraph"><%= tr("License") %>: <a id="licence" target="_blank" href="LICENSE.txt">MIT</a></div>
</div>
</div>
</script>
<script type="text/template" id="create-template">
<div class="nt-create-page">
<div class="nt-create-scroller">
<div class="nt-create-description">
<%= tr("On this page you can tell us about missing point") %>
</div>
<form class="nt-create-form">
<div class="nt-create-input-container first">
<div><input name="type" type="text" placeholder="Тип объекта" /></div>
</div>
<div class="nt-create-input-container">
<div><input name="provider" type="text" placeholder="Название банка" /></div>
</div>
<div class="nt-create-input-container">
<div><input name="address" type="text" placeholder="Адрес" /></div>
</div>
<div class="nt-create-input-container last">
<div><input name="place" type="text" placeholder="Расположение" /></div>
</div>
<div class="nt-create-button-wrapper">
<button class="button"><%= tr("Submit") %></button>
</div>
</form>
</div>
</div>
</script>
<!--/** unused:start */-->
<script type="text/template" id="more-info-template">
<div class="nt-info-container">
<div class="nt-info-caption">
<% if (typeof(prov) != "undefined") {%>
<img class="nt-info-icon" src="img/icons/<%= prov %>.png" />
<%}%>
</div>
<div class="nt-info-body">
<% if (typeof(currency) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Currency") %>:</b> <%= currency %></span><br/>
<%}%>
<% if (typeof(addr) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Address") %>:</b> <%= addr %></span><br/>
<%}%>
<% if (typeof(place) != "undefined" && place != "") {%>
<span class="nt-info-title"><b><%= tr("Location") %>:</b> <%= place %></span><br/>
<%}%>
<% if (typeof(time) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Working time") %>:</b> <%= time %></span><br/>
<%}%>
<% if (typeof(phone) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Phone") %>:</b> <%= phone %></span><br/>
<%}%>
</div>
</div>
</script>
<!--/** unused:end */-->
<script type="text/template" id="info-window-template">
<div class="nt-info-container">
<div class="nt-info-caption">
<img class="nt-info-icon" src="img/icons/<%= prov %>.png" />
<span class="nt-info-title">
<a href="<%= app.settings.objectUrls[prov] %>"
target="_blank"
onclick="return app.utils.openExternalUrl(this.href);"><%= tr(prov) %>
</a>
</span>
</div>
<div class="nt-info-body">
<% if (typeof(type) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Type") %>:</b> <%= tr(type) %></span><br/>
<%}%>
<% if (typeof(currency) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Currency") %>:</b> <%= currency %></span><br/>
<%}%>
<% if (typeof(addr) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Address") %>:</b> <%= addr %></span><br/>
<%}%>
<% if (typeof(place) != "undefined" && place != "") {%>
<span class="nt-info-title"><b><%= tr("Location") %>:</b> <%= place %></span><br/>
<%}%>
<% if (typeof(time) != "undefined" && time != "") {%>
<span class="nt-info-title"><b><%= tr("Working time") %>:</b> <%= time %></span><br/>
<%}%>
<% if (typeof(phone) != "undefined" && phone != "") {%>
<span class="nt-info-title"><b><%= tr("Phone") %>:</b> <%= phone %></span><br/>
<%}%>
</div>
<div class="nt-info-additional">
<% if (typeof(distance) != "undefined") {%>
<span class="nt-info-title"><b><%= tr("Distance") %>:</b> <%= distance %></span>
<%}%>
<!--
<a class="nt-info-more-button" href="#more-info/<%= addr %>"><%= tr("More info") %></a>
-->
</div>
</div>
</script>
<script type="text/template" id="current-location-template">
<div class="nt-info-container">
<div class="nt-info-caption">
<img class="nt-info-icon" src="img/marker-location.png" />
<span class="nt-info-title"><%= tr("Current location") %></span>
</div>
</div>
</script>
<script type="text/javascript">
var app = {};
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32540763-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_trackPageview']);
window.onerror = function(msg, url, line) {
if (window.device) {
window._gaq.push(['_trackEvent', 'JS Error', msg,
navigator.userAgent + ' -> ' + url + " : " + line, 0, true]);
return true;
} else {
return false;
}
};
</script>
<!--compress:js:start-->
<script src="js/libs/jquery.js"></script>
<script src="js/libs/underscore.js"></script>
<script src="js/libs/backbone.js"></script>
<script src="js/libs/leaflet.js"></script>
<script src="js/libs/fastclick.js"></script>
<script src="js/libs/iscroll-lite.js"></script>
<script src="js/settings.js"></script>
<script src="js/utils.js"></script>
<script src="js/app.js"></script>
<script src="js/translates/translates.js"></script>
<script src="js/translates/ru.js"></script>
<script src="js/remote.js"></script>
<script src="js/views/page.js"></script>
<script src="js/views/map.js"></script>
<script src="js/views/filter.js"></script>
<script src="js/views/filters.js"></script>
<script src="js/views/object.js"></script>
<script src="js/views/objects.js"></script>
<script src="js/views/about.js"></script>
<script src="js/views/panel.js"></script>
<script src="js/views/create.js"></script>
<script src="js/routes/app.js"></script>
<!--compress:js:end-->
<script>
$(document).ready(function() {
app.tr.translatePageFromData();
Backbone.history.start();
app.utils.loadExternalScripts(['http://www.google-analytics.com/ga.js']);
});
/** phonegap:start */
window.onload = function() {
document.addEventListener("deviceready", function() {
document.addEventListener("backbutton", function() {
if (app.xhr) {
app.xhr.abort();
}
navigator.app.exitApp();
}, false);
app.utils.loadExternalScripts(['childbrowser.js']);
}, false);
};
/** phonegap:end */
</script>
</body>
</html>