-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (164 loc) · 8.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FFTP Gym Map</title>
<link rel="stylesheet" href='static/css/leaflet.css'>
<link rel="stylesheet" href='static/css/bootstrap.min.css'>
<link rel="stylesheet" href='static/css/main.css'>
<meta name="theme-color" content="#b11e24">
<meta name="msapplication-TileColor" content="#b11e24">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
</head>
<body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-102608851-1', 'auto');
ga('send', 'pageview');
</script>
<h1>Monocle Gym Map is initializing, please wait.</h1>
<script>
var _MapCoords = [-35.308183, 149.124490];
var _MapProviders = [
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
'https://cartodb-basemaps-{s}.global.ssl.fastly.net/dark_all/{z}/{x}/{y}@2x.png'
];
var _MapProvidersAttribution = [
'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
'<a href="http://www.esri.com/">Esri</a>, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community',
'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, © <a href="https://carto.com/attribution">CARTO</a>'
];
var _defaultSettings = {};
var _interfaceTickInterval = null;
</script>
<div id="main-map" class="map"></div>
<div class="gym-stats" style="visibility: hidden;">
<div class="gym-stats-box">
<img class="gym-stats-team" src="/static/img/fr/0.png">
<span id="gyms-stats-0">0</span>
</div>
<div class="gym-stats-box">
<img class="gym-stats-team" src="/static/img/fr/1.png">
<span id="gyms-stats-1">0</span>
</div>
<div class="gym-stats-box">
<img class="gym-stats-team" src="/static/img/fr/2.png">
<span id="gyms-stats-2">0</span>
</div>
<div class="gym-stats-box">
<img class="gym-stats-team" src="/static/img/fr/3.png">
<span id="gyms-stats-3">0</span>
</div>
</div>
<a class="map_btn my-settings"></a>
<!-- Uncomment for Facebook Button -->
<!-- <a class="map_btn facebook-icon" href="https://www.facebook.com/groups/xxxxxx/"></a> -->
<a class="map_btn style-flip sat-icon"></a>
<a class="map_btn my-location"></a>
<div id="settings" class="container text-center">
<div class="page-header">
<h2>Settings<button id="settings_close_btn" type="button" class="close">×</button></h2>
</div>
<ul class="nav nav-pills nav-justified nav-settings">
<li class="active">
<a href="#" data-panel="filters">Filters</a>
</li>
<li>
<a href="#" data-panel="styles">Styles</a>
</li>
<li>
<a href="#" data-panel="more">Settings</a>
</li>
</ul>
<div class="panel panel-default settings-panel active" data-panel="filters">
<div class="panel-body">
<div class="filter-row">
<h5>Gyms</h5>
<div class="btn-group" role="group" data-group="SHOW_NON_RAID">
<button type="button" class="btn btn-default" data-value="1" data-render="1">All gyms</button>
<button type="button" class="btn btn-default" data-value="0" data-render="1">Raids only</button>
</div>
</div>
<div class="filter-row">
<h5>Only gyms with free slots</h5>
<div class="btn-group" role="group" data-group="HIDE_NO_SLOT">
<button type="button" class="btn btn-default" data-value="0" data-render="1">No</button>
<button type="button" class="btn btn-default" data-value="1" data-render="1">Yes</button>
</div>
</div>
<div class="filter-row">
<h5>Teams</h5>
<div class="btn-group btn-group-single" role="group">
<button type="button" class="btn btn-default btn-single" data-key="SHOW_TEAM_0" data-render="1">Neutral</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_TEAM_1" data-render="1">Mystic</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_TEAM_2" data-render="1">Valor</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_TEAM_3" data-render="1">Instinct</button>
</div>
</div>
<div class="filter-row">
<h5>Unhatched raids</h5>
<div class="btn-group" role="group" data-group="SHOW_UNHATCHED">
<button type="button" class="btn btn-default" data-value="0" data-render="1">No</button>
<button type="button" class="btn btn-default" data-value="1" data-render="1">Yes</button>
</div>
</div>
<div class="filter-row">
<h5>Raid levels</h5>
<div class="btn-group btn-group-single" role="group">
<button type="button" class="btn btn-default btn-single" data-key="SHOW_LVL_1" data-render="1">1</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_LVL_2" data-render="1">2</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_LVL_3" data-render="1">3</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_LVL_4" data-render="1">4</button>
<button type="button" class="btn btn-default btn-single" data-key="SHOW_LVL_5" data-render="1">5</button>
</div>
</div>
</div>
</div>
<div class="panel panel-default settings-panel" data-panel="styles">
<div class="panel-body">
<div class="map-styles">
<div class="map-style" data-style-id="0">
<div class="map-style-preview" style="background-image: url(/static/img/mp/osm.png);"></div>
<strong>OpenStreetMap</strong>
</div>
<div class="map-style" data-style-id="1">
<div class="map-style-preview" style="background-image: url(/static/img/mp/sat.jpg);"></div>
<strong>Satellite</strong>
</div>
<div class="map-style" data-style-id="2">
<div class="map-style-preview" style="background-image: url(/static/img/mp/dark.png);"></div>
<strong>Dark</strong>
</div>
</div>
</div>
</div>
<div class="panel panel-default settings-panel" data-panel="more">
<div class="panel-body">
<h5>Free slots on gyms</h5>
<div class="btn-group" role="group" data-group="SHOW_SLOTS">
<button type="button" class="btn btn-default" data-value="1">Yes</button>
<button type="button" class="btn btn-default" data-value="0">No</button>
</div>
<hr>
<h5>Timer under gyms</h5>
<div class="btn-group" role="group" data-group="SHOW_TIMER">
<button type="button" class="btn btn-default" data-value="1">Yes</button>
<button type="button" class="btn btn-default" data-value="0">No</button>
</div>
<hr>
<h5>Reset all preferences</h5>
<button id="reset_btn" type="button" class="btn btn-danger">Reset</button>
</div>
</div>
</div>
<script>_defaultSettings['SHOW_NON_RAID'] = '1'; _defaultSettings['HIDE_NO_SLOT'] = '0'; _defaultSettings['SHOW_TEAM_0'] = '1'; _defaultSettings['SHOW_TEAM_1'] = '1'; _defaultSettings['SHOW_TEAM_2'] = '1'; _defaultSettings['SHOW_TEAM_3'] = '1'; _defaultSettings['SHOW_UNHATCHED'] = '1'; _defaultSettings['SHOW_LVL_1'] = '1'; _defaultSettings['SHOW_LVL_2'] = '1'; _defaultSettings['SHOW_LVL_3'] = '1'; _defaultSettings['SHOW_LVL_4'] = '1'; _defaultSettings['SHOW_LVL_5'] = '1'; _defaultSettings['SHOW_SLOTS'] = '1'; _defaultSettings['SHOW_TIMER'] = '1'; _defaultSettings['MAP_STYLE'] = '0';</script>
<script src='static/js/jquery-3.2.1.min.js'></script>
<script src='static/js/leaflet.js'></script>
<script src='static/js/bootstrap.min.js'></script>
<script src='static/js/main.js'></script>
</body>
</html>