-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpessoas.htm
91 lines (83 loc) · 2.21 KB
/
pessoas.htm
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/w3.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="data/appml.js"></script>
<script src="js/menu.js"></script>
</head>
<style>
</style>
<body>
<div appml-include-html="incluso/inc_header.htm"></div>
<div class="w3-container w3-content">
<h1>Pessoas</h1>
<div class="w3-container w3-light-grey w3-padding-large w3-margin-bottom" appml-data="data/appml.php?model=model_form/model_customersform" appml-controller="myFormController" id="Form01" style="display:none;">
<div appml-include-html="incluso/inc_formcommands.htm"></div>
<p>
<label>Nome:</label>
<input id="Nome" class="w3-input w3-border">
</p>
<p>
<label>Email:</label>
<input id="Email" class="w3-input w3-border">
</p>
<p>
<label>Endereço:</label>
<input id="Endereco" class="w3-input w3-border">
</p>
<p>
<label>Cidade:</label>
<input id="Cidade" class="w3-input w3-border">
</p>
<p>
<label>CEP:</label>
<input id="CEP" class="w3-input w3-border">
</p>
<p>
<label>País:</label>
<input id="Pais" class="w3-input w3-border">
</p>
</div>
<div appml-data="data/appml.php?model=model_list/model_customerslist">
<div appml-include-html="incluso/inc_listcommands.htm"></div>
<div appml-include-html="incluso/inc_filter.htm"></div>
<table class="w3-table-all">
<tr>
<th></th>
<th>Nome</th>
<th>Cidade</th>
<th>Pais</th>
</tr>
<tr appml-repeat="records">
<td style="cursor:pointer;width:40px;" onclick="appml('Form01').run({{IDpes}});">✎</td>
<td>{{Nome}}</td>
<td>{{Cidade}}</td>
<td>{{Pais}}</td>
</tr>
</table>
</div>
</div>
<script>
function myFormController($appml) {
if ($appml.message == "ready") {return -1; }
if ($appml.message == "loaded") {
document.getElementById("Form01").style.display = "";
}
}
</script>
<div appml-include-html="incluso/inc_footer.htm"></div>
<script>
function versenha(y) {
y.classList.toggle("fa-eye-slash");
var x = document.getElementById("myInput");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
</body>
</html>