-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_user.html
39 lines (30 loc) · 1.66 KB
/
add_user.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./estilos.css">
<title>Cadastra usuário</title>
</head>
<body>
<h1>Cadastra um usuário</h1>
<div class="input-group mb-3">
<span class="input-group-text">Nome</span>
<input type="text" id="name" name="name" class="form-control" placeholder="Nome" aria-label="Nome" aria-describedby="basic-addon1">
<span class="input-group-text">Idade</span>
<input type="number" id="age" name="age" class="form-control" placeholder="Idade" aria-label="Idade" aria-describedby="basic-addon1">
<span class="input-group-text">CPF</span>
<input type="text" id="cpf" name="cpf" class="form-control" placeholder="CPF" aria-label="CPF" aria-describedby="basic-addon1">
<span class="input-group-text">E-mail</span>
<input type="email" id="email" name="email" class="form-control" placeholder="E-Mail" aria-label="E-Mail" aria-describedby="basic-addon1">
<button type="submit" class="btn btn-primary" onclick="add_user();">Submit</button>
</div>
<div id="resposta"></div>
<a href="index.html">Volta</a>
</body>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script type="text/javascript" src="url.js"> </script>
<script type="text/javascript" src="add_user.js"></script>
</html>