-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.html
More file actions
49 lines (39 loc) · 1.81 KB
/
Copy pathapi.html
File metadata and controls
49 lines (39 loc) · 1.81 KB
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
<!DOCTYPE HTML>
<html lang="es">
<head>
<!-- Datos que describen el documento -->
<meta charset="UTF-8" />
<title>Escritorio Virtual - Memoria</title>
<meta name="author" content="Álex Fernández Salé" />
<meta name="description" content="Página del juego 'Dibujillo Community' de mi Escritorio Virtual" />
<meta name="keywords" content="juego, sudoku, escritorio, virtual" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="estilo/api.css" />
<link rel="stylesheet" type="text/css" href="estilo/layout.css" />
<link rel="stylesheet" type="text/css" href="estilo/estilo.css" />
<link rel="icon" href="multimedia/imagenes/favicon.ico" />
</head>
<body>
<header>
<nav>
<a accesskey="I" tabindex="1" href="juegos.html">Juegos</a>
<!-- JUEGOS -->
<a accesskey="M" tabindex="2" href="memoria.html">Memoria</a>
<a accesskey="S" tabindex="3" href="sudoku.html">Sudoku</a>
<a accesskey="C" tabindex="4" href="crucigrama.php">Crucigrama</a>
<a accesskey="D" tabindex="5" href="api.html">Anotador</a>
<a accesskey="F" tabindex="6" href="php/flagFotball.php">Flag!</a>
</nav>
<h1>Escritorio Virtual</h1>
</header>
<main>
<h2>Anotador</h2>
<label for="img">Seleccione una imagen para anotar:</label>
<input type="file" accept="image/*" id="img" onchange="api.loadImage(files)" />
<canvas></canvas>
<button data-name="save" onclick="api.saveAnnotation()">Guardar imagen</button>
<button data-name="svg" onclick="api.exportToSVG()">Exportar SVG</button>
</main>
<script src="js/api.js"></script>
</body>
</html>