-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_trans.html
39 lines (30 loc) · 1.68 KB
/
add_trans.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/bootstrap@5.1.3/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">ID</span>
<input type="number" id="userID" name="userID" class="form-control" placeholder="ID user" aria-label="ID user" aria-describedby="basic-addon1">
<span class="input-group-text">Title</span>
<input type="text" id="title" name="title" class="form-control" placeholder="Title" aria-label="Title" aria-describedby="basic-addon1">
<span class="input-group-text">Value</span>
<input type="number" id="value" name="value" class="form-control" placeholder="Value" aria-label="Value" aria-describedby="basic-addon1">
<span class="input-group-text">Type</span>
<input type="text" id="type" name="type" class="form-control" placeholder="Type" aria-label="Type" aria-describedby="basic-addon1">
<button type="submit" class="btn btn-primary" onclick="add_trans();">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_trans.js"></script>
</html>