-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (25 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ActionCard</title>
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.min.js"
integrity="sha512-YcsIPGdhPK4P/uRW6/sruonlYj+Q7UHWeKfTAkBW+g83NKM+jMJFJ4iAPfSnVp7BKD4dKMHmVSvICUbE/V1sSw=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
function openPDF(source, options) {
html2pdf().set(options).from(source).toPdf().get('pdf').then(pdf => {
url = pdf.output('bloburl')
window.open(url, '_blank')
URL.revokeObjectURL(url)
})
}
</script>
<script type="py" src="main.py" config="config.toml"></script>
</head>
<body>
<h1 align="center">Loading The App...</h1>
</body>
</html>