-
Notifications
You must be signed in to change notification settings - Fork 0
/
formulario.html
82 lines (68 loc) · 1.33 KB
/
formulario.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
<html>
<head>
<meta content="text/html; charset = UTF-8" http-equiv="content-type">
<title>Controle de Estoque</title>
</head>
<script type="text/javascript">
function confirmarDeleteProduto(id, descricao, preco) {
if (confirm('Confirmar a exclusão do produto [' + descricao + '] (ID ' + id + ') com preço R$ ' + preco)) {
location.href = '/produto/delete/' + id;
}
}
function onLoad() {
if(document.getElementById("msg").value != ""){
alert(document.getElementById("msg").value);
}
}
</script>
<body onload="onLoad()">
<h1>Controle de Estoque</h1>
<input type="hidden" id="msg" name="msg" value="">
<UM-PRODUTO>
<br>
<LISTAR-PRODUTO>
<style>
* {
box-sizing: border-box;
}
body {
background-color: white;
}
.input--main__style {
background-color: #00FF00;
}
.input--button {
font-weight: bold;
font-family: Arial;
font-size: medium;
border-color: transparent;
display: block;
margin: 0px auto;
margin-bottom: 10px;
color: white;
}
.input--register {
display: inline;
}
input {
display: block;
border-radius: 7px;
padding: 10px;
border-style: solid;
border-color: lightgray;
color: black;
padding: 10px;
margin-bottom: 10px;
}
form p {
text-align: initial;
display: inline;
margin-left: 15px;
}
.p--nomargin {
margin-left: 0px;
margin-right: 10px;
}
</style>
</body>
</html>