-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmercado.html
executable file
·133 lines (128 loc) · 5.12 KB
/
mercado.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
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<title>TradePlace - Cadastro Mercado</title>
<meta charset="utf-8" lang="pt-BR" />
<script src="auto/jquery.min.js"></script>
<link rel="stylesheet" href="fontaw/css/font-awesome.min.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/messagebox.css" />
<script type="text/javascript" src="js/messagebox.min.js"></script>
<script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyAF9SwzxHRiH5n3RGs2-CVha2GEhXVFFqw&sensor=false"></script>
<script type="text/javascript" src="js/load.js"></script>
<script type="text/javascript" src="auto/mapa.js"></script>
<script type="text/javascript" src="auto/jquery-ui.custom.min.js"></script>
<link href="auto/estilo.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/rest/mercado.js"></script>
</head>
<body>
<div class="loadingDiv"></div>
<header>
<div class="topo">
<div class="logo">
<img src="img/logo.png" alt="" />
</div>
<div class="top-direita">
<a href="##">Sair <i class="fa fa-sign-out" aria-hidden="true"></i></a>
</div>
</div>
</header>
<aside>
<div class="user">
Usuario: <span>Gilberto Gomes</span> <i class="fa fa-cog" aria-hidden="true"></i>
<div class="configuracoes-user">
<ul>
<li><a href="dasdasdasd.php" title="">Alterar Senha</a></li>
<li><a href="#" title="">Alterar informações da conta</a></li>
</ul>
</div>
</div>
<ul>
<li><a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> <span>Home</span></a></li>
<li><a href="criar-tarefa.html"><i class="fa fa-map" aria-hidden="true"></i> <span>Criar Tarefa</span></a></li>
<li><a href="relatorios.html"><i class="fa fa-bar-chart" aria-hidden="true"></i> <span>Relatórios</span></a></li>
<li class="active"><i class="fa fa-blind" aria-hidden="true"></i> <span>Cadastros</span>
<ul class="aside-cad abre-aside">
<li class="opac-li"><a href="promotor.html" alt="Promotor">Promotor</a></li>
<li class="opac-li active"><a href="mercado.html" alt="Mercado">Mercado</a></li>
<li class="opac-li"><a href="usuario.html" alt="Usuário">Usuário</a></li>
<li class="opac-li"><a href="empresa.html" alt="Empresa">Empresa</a></li>
</ul>
</li>
<li><a href="promotores.html"><i class="fa fa-users" aria-hidden="true"></i> <span>Promotores</span></a></li>
<li><a href="mercados.html"><i class="fa fa-shopping-cart" aria-hidden="true"></i> <span>Mercados</span></a></li>
<!-- <li><a href="usuarios.html"><i class="fa fa-universal-access" aria-hidden="true"></i> <span>Usuarios</span></a></li> -->
<li><a href="empresas.html"><i class="fa fa-building-o" aria-hidden="true"></i> <span>Empresas</span></a></li>
<li><a href="tarefas.html"><i class="fa fa-tasks" aria-hidden="true"></i> <span>Tarefas</span></a></li>
</ul>
<span class="minima"><i class="fa fa-align-justify" aria-hidden="true"></i></span>
</aside>
<div class="title-page">
<div class="title">
<h1>Cadastros - Mercado</h1>
</div>
</div>
<div class="conteudo">
<div class="container-cadastros">
<form method="post" class="form-cad-mercado">
<div class="table">
<div class="td">
<label>Nome</label>
<input type="text" id="nome" name="nome" id="nome" placeholder="" />
</div>
<div class="td space"></div>
<div class="td">
<label>Razão Social</label>
<input type="text" id="razaoSocial" name="razaoSocial" id="razaoSocial" placeholder="" />
</div>
</div>
<div class="table">
<div class="td">
<label>Endereço</label>
<input type="text" name="userEndereco" id="userEndereco" required/>
</div>
<div class="td space"></div>
<div class="td botao-mostrar-site">
<label></label><br / >
<input type="button" id="btnEndereco" onclick="clickMostrarMapa()" name="btnEndereco" value="Mostrar no mapa" />
</div>
</div>
<div class="table">
<div class="td">
<label>Endereço</label>
<input disabled type="text" id="txtEndereco" name="txtEndereco" placeholder="Rua Avares de Andrade, 265 - São Paulo" />
</div>
</div>
<div id="mapa"></div>
<input type="button" onclick="inserir()" value="Enviar" name="btnEnviar" />
<input type="hidden" id="txtLatitude" name="txtLatitude" />
<input type="hidden" id="txtLongitude" name="txtLongitude" />
</form>
</div>
</div>
<footer>
<!-- footer -->
</footer>
<script>
$('#loadingDiv').hide() // hide it initially
.ajaxStart(function() {
$(this).show();
})
.ajaxStop(function() {
$(this).hide();
});
$('.minima').click(function(event) {
$('aside ul li span').toggleClass('dnon');
$('aside').toggleClass('min-aside');
});
$('aside ul li.aside-cad').click(function(event) {
$('aside ul li ul.aside-cad').toggleClass('abre-aside');
$('aside ul li ul li').toggleClass('opac-li');
});
$('.user i').click(function(event) {
$('.configuracoes-user').toggleClass('configuracoes-user-show');
//$('.configuracoes-user ul').toggleClass('config-user-show');
});
</script>
</body>
</html>