-
Notifications
You must be signed in to change notification settings - Fork 347
/
index.html
43 lines (34 loc) · 1.15 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
<!DOCTYPE HTML>
<html>
<head>
<title>GeoFire fish1 Example</title>
<!-- Firebase -->
<script type="module">
import { initializeApp } from 'https://www.gstatic.com/firebasejs/9.8.4/firebase-app.js'
import { getDatabase, ref, push } from 'https://www.gstatic.com/firebasejs/9.8.4/firebase-database.js'
</script>
<!-- RSVP -->
<script src="https://unpkg.com/[email protected]/dist/rsvp.min.js"></script>
<!-- GeoFire -->
<script src="https://cdn.firebase.com/libs/geofire/6.0.0/geofire.min.js"></script>
<!-- Custom JS -->
<script src="js/fish1.js" defer></script>
<!-- Custom CSS -->
<link rel="stylesheet" href="css/fish1.css">
</head>
<body>
<!-- Fish controls -->
<div id="fishControls">
<p>Get location of</p>
<select id="fishSelect">
<option value="fish0">Fish 0</option>
<option value="fish1">Fish 1</option>
<option value="fish2">Fish 2</option>
<option value="fish3">Fish 3</option>
</select>
<input id="getFishLocation" type="button" value="Get Location" />
</div>
<!-- Message log -->
<div id="log"></div>
</body>
</html>