-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (46 loc) · 2.1 KB
/
index.html
File metadata and controls
60 lines (46 loc) · 2.1 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Admin</title>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.5/css/materialize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css">
<script src="https://cdn.firebase.com/js/client/2.3.2/firebase.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.0.0/lodash.min.js"></script>
<script src="../lib/react.js"></script>
<script src="../lib/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
<!-- https://github.com/PaulLeCam/react-leaflet -->
<script src="https://unpkg.com/react-leaflet/dist/react-leaflet.min.js"></script>
<style>
.leaflet-container {
height: 400px;
width: 80%;
margin: 0 auto;
}
</style>
</head>
<body>
<div id="app-container" class="container">
</div>
<script>
// MyComponents is a global object where each property is a reference to a component class
MyComponents = {}
</script>
<!-- import each component class in components/ -->
<!-- The order is important. Dependencies must be loaded first -->
<script type="text/babel" src="components/user-list.jsx"></script>
<script type="text/babel" src="components/user-map.jsx"></script>
<script type="text/babel" src="components/provider-list.jsx"></script>
<script type="text/babel" src="components/provider-map.jsx"></script>
<!-- Main app container -->
<script type="text/babel" src="components/app.jsx"></script>
<!-- Connect the app and data -->
<script type="text/babel" src="data.jsx"></script>
</body>
</html>