-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (50 loc) · 1.27 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>CRUD CON JavaScript</title>
</head>
<body>
<h1>CRUD CON JavaScript y Json-Server</h1>
<h2 id="changeText">Agrega nuevas Notas</h2>
<form>
<input name="content" type="text" value="">
<select name="select">
<option name="false" value="false">false</option>
<option name="true" value="true">true</option>
</select>
<button id="btn_toggle">add</button>
<input type="hidden" name="id" value="">
</form>
<br />
<table id="table">
<thead>
<tr>
<th>id</th>
<th>content</th>
<th>fecha</th>
<th>importante</th>
<th>acciones</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<template id="table_body">
<tr>
<td class="id"></td>
<td class="content"></td>
<td class="fecha"></td>
<td class="importante"></td>
<td class="acciones">
<button class="editar">Editar</button>
<button class="eliminar">Eliminar</button>
</td>
</tr>
</template>
<script src="CRUD.js"></script>
</body>
</html>