resultados.html 1.31 KB
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.min.js"></script>
	<script src="{{ url_for('static', filename = 'src/div.js') }}"></script>
	<script src="{{ url_for('static', filename = 'src/getters.js') }}"></script>
	<script src="{{ url_for('static', filename = 'src/pdf1.js') }}"></script>
	<script src="{{ url_for('static', filename = 'src/pdf2.js') }}"></script>
	<link rel="stylesheet" href="{{ url_for('static', filename = 'styles/general.css') }}">
	<!--INCLUIMOS LA FUENTE-->
	<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/cmu-typewriter" type="text/css" />
	<title>Pruebas de Alineamiento</title>
</head>
<body>
	<div class="PDFButtonContainer">
		<button class="PDFButton" onclick=
			"window.open(
				compile(
					(new PDF1()).pdf( {{ data }} ),
					new jsPDF('portrait', 'pt', 'a4'),
				)
				.output('bloburl')
			)";
		>
			Convertir a PDF - 1
		</button>

		<button class="PDFButton" onclick=
			"window.open(
				compile(
					(new PDF1()).pdf( {{ data }} ),
					new jsPDF('portrait', 'pt', 'a4'),
				)
				.output('bloburl')
			)";
		>
			Convertir a PDF - 2
		</button>
	</div>
</body>
</html>