1 | <!DOCTYPE html> |
2 | <html lang="es"> |
3 | |
4 | <head> |
5 | |
6 | <meta charset="UTF-8"> |
7 | |
8 | <title>Sincronizacion</title> |
9 | |
10 | <meta name="viewport" content="width=device-width"> |
11 | |
12 | <script src="js/registraServiceWorker.js"></script> |
13 | <script type="module" src="lib/js/muestraError.js"></script> |
14 | <script type="module" src="js/bd/pasatiempoConsultaNoEliminados.js"></script> |
15 | <script type="module" src="js/renderiza.js"></script> |
16 | <script type="module" src="js/sincroniza.js"></script> |
17 | <script type="module" src="js/esperaUnPocoYSincroniza.js"></script> |
18 | |
19 | </head> |
20 | |
21 | <body onload="pasatiempoConsultaNoEliminados() |
22 | .then(pasatiempos => { |
23 | renderiza(lista, pasatiempos) |
24 | sincroniza(lista) |
25 | }) |
26 | .catch(error => { |
27 | muestraError(error) |
28 | esperaUnPocoYSincroniza(lista) |
29 | })"> |
30 | |
31 | <h1>Sincronizacion</h1> |
32 | |
33 | <p><a href="agrega.html">Agregar</a></p> |
34 | |
35 | <ul id="lista"> |
36 | <li><progress max="100">Cargando…</progress></li> |
37 | </ul> |
38 | |
39 | </body> |
40 | |
41 | </html> |