-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobjeto.html
78 lines (64 loc) · 2.66 KB
/
objeto.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<title>CRUD FROM API</title>
<link href="index.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-dark bg-mynav">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">CRUD API</a>
</div>
</nav>
<div class="container">
<div class="d-flex bd-highlight mb-3">
<div class="me-auto p-2 bd-highlight"><h2>Objeto</div>
<div class="p-2 bd-highlight">
<my-button label="Create"></my-button>
</div>
</div>
<div>
<lit-autocomplete>
<input type="text" id="busqueda" name="busqueda" placeholder="search value" />
</nega-autocomplete>
</div>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<!-- cambiar para nuestra api -->
<th scope="col">IdObjeto</th>
<th scope="col">IdTipoObjeto</th>
<th scope="col">Longitud</th>
<th scope="col">Latitud</th>
<th scope="col">Nombre</th>
<th scope="col">observaciones</th>
</tr>
</thead>
<tbody id="mytable">
<formulario-inicial></formulario-inicial>
<tr>
<th scope="row" colspan="5">Loading...</th>
</tr>
</tbody>
</table>
</div>
</div>
<!-- <script src="index.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
<script type="module" src="./js/control/TipoObjetoDataStore.js"></script>
<script type="module" src="./js/components/Objeto/autocomplete.js"></script>
<script type="module" src="./js/components/Objeto/mainForm.js"></script>
<script type="module" src="./js/components/Objeto/create.js"></script>
<script type="module" src="./js/components/Objeto/edit.js"></script>
<script type="module" src="./js/components/Objeto/delete.js"></script>
<script>
</script>
</body>
</html>