-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (59 loc) · 2.85 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>softruck - AngularJS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="resources/css/softruck.css">
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
<script src="app/softruck.js"></script>
<script src="resources/js/marker.js"></script>
</head>
<body ng-app="softruck">
<div class="modal js-loading-bar">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="progress progress-popup">
<div class="progress-bar"></div>
</div>
Aguarde! carregando...
</div>
</div>
</div>
</div>
<div class="center" ng-controller="mapaCtrl">
<form>
<div class="container">
<b>Informe como deseja realizar sua pesquisa:</b>
<br />
<div class="radio">
<label><input type="radio" ng-change="pesquisa()" ng-model="tpPesquisa" value="1">Por categoria, utilizando minha localização</label>
</div>
<div class="radio">
<label><input type="radio" ng-change="pesquisa()" ng-model="tpPesquisa" value="2">Os 5 cincos lugares mais visitados</label>
</div>
<div class="radio">
<label><input type="radio" ng-change="pesquisa()" ng-model="tpPesquisa" value="3">Por regiões mais visitadas</label>
</div>
<br />
</div>
<div class="container left">
<input type="text" class="form-control" ng-model="cidade" placeholder="Pesquisa por Cidade. ex. Cáceres" ng-keypress="($event.which === 13)?pesquisa():0">
<input type="text" class="form-control" ng-model="categoria" placeholder="Procurar por Categoria. ex. Cinema" ng-keypress="($event.which === 13)?pesquisa():0">
<div class="form-group">
<label for="usr">Dentro de {{distancia}} km:</label>
<input type="text" class="form-control" ng-model="distancia" ng-keypress="($event.which === 13)?pesquisa():0">
</div>
</div>
</form>
<div class="mapa" id="mapa">
</div>
</div>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAB_SgfAl-NZO8hAqyb_LVfDA4wqdVssPM&signed_in=true"></script>
</body>
</html>