-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
88 lines (74 loc) · 2.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link rel="icon" href="leaflet/images/marker-icon.png" />
<title>Selkirk College | AED Locator</title>
<!-- link to the leaflet javascript library -->
<script src="leaflet/leaflet.js"></script>
<!-- jquery library -->
<script src="js/jquery-3.3.1.min.js"></script>
<!-- link to the leaflet CSS sheet -->
<link rel="stylesheet" href="leaflet/leaflet.css" />
<!-- my geojson layers -->
<script src="geoJSON/aed.js"></script>
<script src="geoJSON/alldata.js"></script>
<script src="geoJSON/network.js"></script>
<script src="geoJSON/vertices.js"></script>
<!-- leaflet indoor -->
<script src="leaflet-indoor-master/leaflet-indoor.js"></script>
<!-- path finder -->
<script src="geojson-path-finder-browser/tinyqueue.min.js"></script>
<script src="turf/turf.js"></script>
<script src="geojson-path-finder-browser/compactor.js"></script>
<script src="geojson-path-finder-browser/dijkstra.js"></script>
<script src="geojson-path-finder-browser/index.js"></script>
<script src="geojson-path-finder-browser/preprocessor.js"></script>
<script src="geojson-path-finder-browser/round-coord.js"></script>
<script src="geojson-path-finder-browser/topology.js"></script>
<!-- my CSS -->
<link type="text/css" rel="stylesheet" href="css/styles.css" />
</head>
<body>
<div id="overlay">
<div id="overlay-content">
<h1>AED Locator</h1>
<p>Note: You must allow location access!</p>
<p>
You have activated the emergency AED Locator app. If there is a
suspected cardiac arrest situation occurring, please follow the
directions below before proceeding to locate an AED
</p>
<br />
<ul>
<li>Have someone <strong>call 911 immediately</strong></li>
<li>Have someone trained in CPR begin to preform CPR</li>
<ul>
<li><strong>15 Chest Compressions</strong></li>
<li><strong>2 Breaths</strong></li>
<li><strong>Repeat Until Help Arrives</strong></li>
</ul>
</ul>
<br />
<form id="greetings">
<h2>Please Select Current Floor</h2>
<br />
<select id="floorChoice" onchange="advise(this)">
<option value="-1">Lowerfloor</option>
<option value="0" selected>Mainfloor</option>
<option value="1">Upperfloor</option> </select
><br /><br />
<button id="startApp" type="button">Find AED</button>
</form>
</div>
</div>
<div id="map"></div>
<!-- my javaScript -->
<script src="js/map_script.js"></script>
</body>
</html>
<!-- end of HTML -->