-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathregistro_cliente.html
190 lines (176 loc) · 9.45 KB
/
registro_cliente.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bairro Buddy</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="index.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="index.js"></script>
</head>
<body >
<div class="container-fluid">
<nav class="navbar navbar-default navbar-expand-lg navbar-light">
<div class="navbar-header">
<a class="navbar-brand" href="#"><b>Bairro Buddy</b></a>
</div>
<!-- Collection of nav links, forms, and other content for toggling -->
<div id="navbarCollapse" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="./home.php">Home</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Login</a>
<ul class="dropdown-menu form-wrapper">
<li>
<form method="post">
<div class="form-group">
<input type="text" class="form-control" placeholder="Username" required="required">
</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="Password" required="required">
</div>
<input type="submit" class="btn btn-primary btn-block" value="Login">
<div class="form-footer">
<a href="#">Forgot Your password?</a>
</div>
</form>
</li>
</ul>
</li>
<li>
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Registre-se</a>
<ul class="dropdown-menu">
<li><a href="./registro_cliente.html" class="dropdown-link">Cliente</a></li>
<li><a href="./registro_empresa.html" class="dropdown-link">Empresa</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<form role="form" class="formulario-cliente" method="POST">
</br>
<div class="row">
<div class="form-group col-lg-6">
<label class=" control-label" for="Nome">Nome <h11>*</h11></label>
<input id="Nome" name="Nome" placeholder="" class="form-control input-md" required="" type="text">
</div>
<div class="form-group col-lg-3">
<label class="control-label" for="Nome">CPF <h11>*</h11></label>
<input id="cpf" name="cpf" placeholder="Apenas números" class="form-control input-md" required="" type="text" maxlength="14" pattern="\d{3}\.\d{3}\.\d{3}-\d{2}">
</div>
</div>
<div class="row">
<div class="form-group col-lg-3">
<label class="control-label" for="Nome">Nascimento<h11>*</h11></label>
<input id="dtnasc" name="dtnasc" placeholder="DD/MM/AAAA" class="form-control input-md" required="" type="date" maxlength="10" OnKeyPress="formatar('##/##/####', this)" >
</div>
<div class="form-group col-lg-3">
<label class=" control-label" for="radios">Sexo <h11>*</h11></label></br>
<label required="" class="radio-inline" for="radios-0" >
<input name="sexo" id="sexo" value="feminino" type="radio" required>
Feminino
</label>
<label class="radio-inline" for="radios-1">
<input name="sexo" id="sexo" value="masculino" type="radio">
Masculino
</label>
</div>
<div class=" form-group col-lg-2">
<div class="input-group col-lg-12">
<label class="control-label" for="prependedtext">Telefone <h11>*</h11></label>
<input id="telefone1" name="telefone1" class="form-control" placeholder="XX XXXXX-XXXX" required="" type="text" maxlength="13" pattern="\[0-9]{2}\ [0-9]{4,6}-[0-9]{3,4}$"
OnKeyPress="formatar('## #####-####', this)">
</div>
</div>
<div class=" form-group col-lg-2">
<div class="input-group col-lg-12">
<label class="control-label" for="prependedtext">Telefone </label>
<input id="telefone2" name="telefone2" class="form-control" placeholder="XX XXXXX-XXXX" type="text" maxlength="13" pattern="\[0-9]{2}\ [0-9]{4,6}-[0-9]{3,4}$"
OnKeyPress="formatar('## #####-####', this)">
</div>
</div>
</div>
<div class="row">
<div class="form-group col-lg-4">
<label class="control-label">Email<h11> *</h11></label>
<div class="input-group col-lg-10">
<input id="email" name="email" class="form-control" placeholder="email@email.com" required="" type="text" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" >
</div>
</div>
<div class="form-group col-lg-4">
<label class="control-label" for="senha">Senha<h11> *</h11></label>
<div class="input-group col-lg-6">
<input id="senha" name="senha" class="form-control" placeholder="Senha" required="" type="password" minlength="3" onfocusout="validarSenha('senha','confirmarSenha')" >
</div>
</div>
<div class="form-group col-lg-4">
<label class="control-label" for="senha">Confirmar Senha<h11> *</h11></label>
<div class="input-group col-lg-6">
<input id="confirmarSenha" name="confirmarSenha" class="form-control" placeholder="Confirmar Senha" required="" type="password" minlength="3" onfocusout="validarSenha('senha','confirmarSenha')" >
</div>
</div>
</div>
<hr class="hr-text" data-content="Endereço">
<div class="row">
<div class="form-group col-lg-2">
<label class=" control-label" for="CEP">CEP <h11>*</h11></label>
<input id="cep" name="cep" placeholder="Apenas números" class="form-control input-md" required="" value="" type="search" maxlength="8" pattern="[0-9]+$" onfocusout="pesquisacep(cep.value)">
</div>
<div class="form-group col-lg-4">
<div class="input-group col-lg-12">
<label class="input-group">Rua</label>
<input id="rua" name="rua" class="form-control" placeholder="" required="" readonly="readonly" type="text">
</div>
</div>
<div class="form-group col-lg-2">
<div class="input-group col-lg-12">
<label class="input-group">Nº <h11>*</h11></label>
<input id="numero" name="numero" class="form-control" placeholder="" required="" type="text">
</div>
</div>
<div class="form-group col-lg-3">
<div class="input-group col-lg-12">
<label class="input-group">Complemento <h11>*</h11></label>
<input id="complemento" name="complemento" class="form-control" placeholder="" required="" type="text">
</div>
</div>
</div>
<div class="row">
<div class="form-group col-lg-2">
<div class="input-group col-lg-12">
<label class="input-group">Bairro </label>
<input id="bairro" name="bairro" class="form-control" placeholder="" required="" readonly="readonly" type="text">
</div>
</div>
<div class="form-group col-lg-4">
<div class="input-group col-lg-12">
<label class="input-group">Cidade </label>
<input id="cidade" name="cidade" class="form-control" placeholder="" required="" readonly="readonly" type="text">
</div>
</div>
<div class="form-group col-lg-2">
<div class="input-group">
<label class="input-group">Estado </label>
<input id="uf" name="uf" class="form-control" placeholder="" required="" readonly="readonly" type="text">
</div>
</div>
</div>
</br>
<div class="form-group">
<div class="col-lg-8">
<button id="Cadastrar" name="Cadastrar" class="btn btn-success" type="Submit" onclick="validarSenha(senha, confirmarSenha);">Cadastrar</button>
<button id="Cancelar" name="Cancelar" class="btn btn-danger" type="Reset">Cancelar</button>
</div>
</div>
</div>
</div>
</form>
<script src="index.js"></script>
</body>
</html>