pyscript-bootstrap-templates/examples/01_hello_world/index.html

37 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2022-08-13 11:57:22 +02:00
<!DOCTYPE html>
<html lang="en" style="width: 100%;height: 100%">
<head id="head">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2022-10-16 10:23:01 +02:00
<link rel="manifest" href="manifest.json" />
2022-10-16 12:54:39 +02:00
<script src="./resources/pwa.js"></script>
2022-09-11 10:42:04 +02:00
<link rel="stylesheet" href="./resources/pyscript.css" />
<script defer src="./resources/pyscript.js"></script>
2022-08-13 11:57:22 +02:00
<!-- Bootstrap CSS -->
<link href="./resources/bootstrap.css" rel="stylesheet">
2022-09-11 16:33:43 +02:00
<title>01_hello_world</title>
2022-08-13 11:57:22 +02:00
</head>
<body style="width: 100%; height: 100%">
2022-10-16 12:54:39 +02:00
<py-config type="json">
{
2023-06-03 12:21:28 +02:00
"splashscreen": {
"autoclose": true
},
2022-10-16 12:54:39 +02:00
"packages": [
2023-06-03 12:21:28 +02:00
"./resources/pyscript_bootstrap_templates-0.2.0-py3-none-any.whl"
2022-10-16 12:54:39 +02:00
],
"paths": []
}
</py-config>
2022-08-13 11:57:22 +02:00
<div id="pyscript_app" style="height: 100%; min-height: 100%"></div>
<py-script src="./main.py"></py-script>
<script src="./resources/bootstrap.js"></script>
</body>
</html>