-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
156 lines (140 loc) · 5.6 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
<!DOCTYPE html>
<html>
<head>
<title>Pokémon Map</title>
<meta name="description" content="Pokémon Map">
<meta name="author" content="Ellen Langelaar">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
<meta charset="utf-8">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="map"></div>
<div id="pokemon-logo">
<img src="img/pokemon-logo.png" onerror="this.style='display:none'">
</div>
<div id="menu-open"><i class="fa fa-bars" aria-hidden="true"></i></div>
<div id="menu">
<div id="menu-close"><i class="fa fa-chevron-right" aria-hidden="true"></i></div>
<div id="main-wrapper">
<table class="table">
<tr>
<td>
<h3>Show only</h3>
<select id="filter-pokemon" title="pokemon" class="form-control">
<option value="all" selected>Everything</option>
<option value="pokestop">Pokestops</option>
<option value="gym">Gyms</option>
<option disabled>-------</option>
</select>
</td>
</tr>
<tr>
<td><button class="btn btn-primary btn-add-pokemon">Add a location</button></td>
</tr>
</table>
</div>
<div id="add-wrapper">
<h4>Add a location</h4>
<hr class="no-margin-top">
<table class="table table-bordered">
<tr>
<td>
<select id="add-pokemon" title="pokemon" class="form-control">
<option disabled selected>Pokémon</option>
<option value="pokestop">Pokestop</option>
<option value="gym">Gym</option>
<option disabled>-------</option>
</select>
</td>
</tr>
<tr>
<td>
<input disabled id="add-latitude" type="text" class="form-control" placeholder="Latitude" maxlength="200">
</td>
</tr>
<tr>
<td>
<input disabled id="add-longitude" type="text" class="form-control" placeholder="Longitude" maxlength="200">
</td>
</tr>
<tr>
<td>
<input id="add-name" type="text" class="form-control" placeholder="Your name" maxlength="100">
</td>
</tr>
<tr>
<td>
<button id="add" class="form-control btn btn-primary">Add</button>
</td>
</tr>
<tr>
<td>
<button class="form-control btn btn-default btn-return-main">Back</button>
</td>
</tr>
</table>
</div>
<div id="add-success">
<h2>Added successful!</h2>
<div class="col-md-12">
<button class="btn btn-primary btn-add-pokemon"><i class="fa fa-plus" aria-hidden="true"></i> Add another</button>
</div>
<div class="col-md-12">
<br>
<button class="btn btn-danger" id="btn-undo-add"><i class="fa fa-repeat" aria-hidden="true"></i> Undo</button>
</div>
<div class="col-md-12">
<br>
<button class="form-control btn btn-default btn-return-main">Back</button>
</div>
<input id="setSighting-id" type="hidden" value="0">
</div>
<div id="add-error">
<h2>Oops!</h2>
<h3>There was an error.</h3>
<button class="btn btn-primary" onclick="location.reload()"><i class="fa fa-repeat" aria-hidden="true"></i> Reload</button>
</div>
<div id="trademark">
<a href="http://www.ellenlangelaar.nl"><img src="http://www.ellenlangelaar.nl/img/ellenlangelaar.png" alt="ellenlangelaar.nl"></a>
</div>
</div>
<div id="legenda">
<table class="table table-bordered table-condensed">
<tr>
<td><i class="fa fa-circle yellow" aria-hidden="true"></i></td>
<td>Gym</td>
</tr>
<tr>
<td><i class="fa fa-circle blue" aria-hidden="true"></i></td>
<td>Pokéstop</td>
</tr>
<tr>
<td><i class="fa fa-circle red" aria-hidden="true"></i></td>
<td>Pokémon</td>
</tr>
</table>
</div>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="config.js"></script>
<script src="script.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBiFEtjVXiqBMGa_ZNtqUywQF8c2ySCHUQ&callback=initMap"></script>
<script>
if($GLOBALS.GA_ID.length > 0) {
(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', $GLOBALS.GA_ID, 'auto');
ga('send', 'pageview');
}
</script>
</body>
</html>