-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (114 loc) · 6.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="author" content="unsorry">
<link href="https://cdn-icons-png.flaticon.com/512/5088/5088218.png" rel="shortcut icon" type="image/png">
<title>Peta - SENTANU</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css">
<link rel="stylesheet" href="assets/leaflet/leaflet-basemaps/L.Control.Basemaps.css">
<link rel="stylesheet" href="assets/leaflet/leaflet-groupedlayercontrol/leaflet.groupedlayercontrol.min.css">
<link rel="stylesheet" href="assets/leaflet/leaflet-awesome-markers/leaflet.awesome-markers.css">
<style>
#map {
width: 100%;
height: calc(100vh - 56px);
margin-top: 56px;
}
.navbar {
border-color: #bbb;
}
.navbar-brand {
font-weight: bold;
}
.white {
color: #fff;
}
.legend {
padding: 6px 6px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg bg-dark bg-body-tertiary fixed-top" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="#"><i class="fa-solid fa-location-dot"></i> SENTANU</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa-solid fa-circle-plus"></i> Tambah Data
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="form/pesantren.html"><i class="fa-solid fa-school"></i> Pesantren</a></li>
<li><a class="dropdown-item" href="form/sekolah.html"><i class="fa-solid fa-school-flag"></i> Sekolah/Madrasah</a></li>
<li><a class="dropdown-item" href="form/masjid.html"><i class="fa-solid fa-mosque"></i> Masjid</a></li>
<li><a class="dropdown-item" href="form/klinik.html"><i class="fa-solid fa-house-medical"></i> Klinik</a></li>
<li><a class="dropdown-item" href="form/ambulan.html"><i class="fa-solid fa-truck-medical"></i> Ambulans</a></li>
<li><a class="dropdown-item" href="form/relawan.html"><i class="fa-solid fa-people-group"></i> Relawan</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa-solid fa-table"></i> Spreadsheet
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="https://docs.google.com/spreadsheets/d/1EmeIIiAi7txXhSVqpL1R6AuCtDRjGcN6lEzZ_PpDg9s/edit?usp=sharing" target="_blank"><i class="fa-solid fa-school"></i> Pesantren</a></li>
<li><a class="dropdown-item" href="https://docs.google.com/spreadsheets/d/1Qs9Oie0UUJonVetz58Y2Kc4JnUPjm-wfvuvN94xs6zc/edit?usp=sharing" target="_blank"><i class="fa-solid fa-school-flag"></i> Sekolah/Madrasah</a></li>
<li><a class="dropdown-item" href="https://docs.google.com/spreadsheets/d/1aAcJY-HEPOZ-BGw5gRHach1WgDb8ZGwpkxCsePDxhVA/edit?usp=sharing" target="_blank"><i class="fa-solid fa-mosque"></i> Masjid</a></li>
<li><a class="dropdown-item" href="https://docs.google.com/spreadsheets/d/1WdLT_QAZP4js5IPyzIdlA6JiwpgTEvkbM5bcPj8--fo/edit?usp=sharing" target="_blank"><i class="fa-solid fa-house-medical"></i> Klinik</a></li>
<li><a class="dropdown-item" href="https://docs.google.com/spreadsheets/d/1Ak0ZZCzSbUzbmc_e7nnPpEnb_2GFW7nLr7z9aii_FWY/edit?usp=sharing" target="_blank"><i class="fa-solid fa-truck-medical"></i> Ambulans</a></li>
<li><a class="dropdown-item" href="https://docs.google.com/spreadsheets/d/1VjZ54PgwpWG7LVMXyurbnN8RiaW-TQotRqwENB1hcgQ/edit?usp=sharing" target="_blank"><i class="fa-solid fa-people-group"></i> Relawan</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="modal" data-bs-target="#infoModal" onclick="index_info()"><i
class="fa-solid fa-circle-info"></i> Info</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="map"></div>
<!-- Modal -->
<div class="modal fade" id="infoModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
aria-labelledby="infoModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="infoModalLabel"><i class="fa-solid fa-circle-info"></i> Info</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="content-info">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Tutup</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<script src="assets/leaflet/leaflet-basemaps/L.Control.Basemaps-min.js"></script>
<script src="https://unpkg.com/[email protected]"></script>
<script src="assets/leaflet/leaflet-groupedlayercontrol/leaflet.groupedlayercontrol.min.js"></script>
<script src="assets/leaflet/leaflet-awesome-markers/leaflet.awesome-markers.min.js"></script>
<script src="assets/map.js"></script>
<script src="assets/info.js"></script>
</body>
</html>