-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (55 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Caminhos do Alto Vale</title>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/mapa.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="d-flex" id="wrapper">
<div class="bg-light border-right" id="sidebar-wrapper">
<img class="logo" src="assets/img/logo.png"/>
<div class="font-weight-bold text-center">Powered by: <a href="https://openweathermap.org">OpenWeatherMap</a> </div>
<div class="sidebar-heading font-weight-bold text-center">Instituições de Ensino</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroup-sizing-default">Buscar</span>
</div>
<input type="text" class="form-control" aria-label="Default" aria-describedby="inputGroup-sizing-default" data-bind="textInput: consultaInstituicao, valueUpdate: 'afterkeyup'"/>
</div>
<hr/>
<div class="list-group list-group-flush" data-bind="foreach: filtraInstituicoes">
<li class="list-group-item list-group-item-action bg-light" data-bind="text: nome, click: $parent.setInstituicaoEnsino"></li>
</div>
</div>
<div id="page-content-wrapper">
<nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
<button class="btn btn-primary" id="menu-toggle"><span class="navbar-toggler-icon"></span></button>
</nav>
<div class="container-fluid">
<div class="mapa" id="map"></div>
</div>
</div>
</div>
<script src="assets/js/libs/knockout-3.5.0.js"></script>
<script src="assets/js/libs/jquery-3.3.1.min.js"></script>
<script src="assets/js/libs/bootstrap.min.js"></script>
<script src="assets/js/mapa.js"></script>
<script src="assets/js/instituicoes_ensino.js"></script>
<script src="assets/js/estilo_mapa.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAsXxmPih6jRZbZRmgcV1c1pswCXODBGuc&v=3&callback=inicializaMapa" onerror="erroGoogleMaps()">
</script>
<script>
$( document).ready(function () {
$("#wrapper").toggleClass("toggled");
});
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
</body>
</html>