mirror of
https://github.com/pyscript/pyscript.git
synced 2026-04-30 16:00:32 -04:00
[RC] Work on the reverted changes (#1753)
This commit is contained in:
committed by
GitHub
parent
c9e7fe16e4
commit
e4eedd80bc
18
pyscript.core/test/piratical.html
Normal file
18
pyscript.core/test/piratical.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<title>Arrr - Piratical PyScript</title>
|
||||
<link rel="stylesheet" href="../dist/core.css" />
|
||||
<script type="module" src="../dist/core.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Arrr</h1>
|
||||
<p>Translate English into Pirate speak...</p>
|
||||
<input type="text" id="english" placeholder="Type English here..." />
|
||||
<button py-click="translate_english">Translate</button>
|
||||
<div id="output"></div>
|
||||
<script type="py" src="./piratical.py" config="./piratical.toml"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user