|
1 |
| -<!doctype html> |
| 1 | +<!DOCTYPE html> |
2 | 2 | <html lang="en-us">
|
3 |
| - <head> |
4 |
| - <title>python3.11-wasm embeded via pybind11 build by boa</title> |
5 |
| - </head> |
| 3 | + <head> |
| 4 | + <title>Sample Python REPL running in the browser</title> |
| 5 | + </head> |
6 | 6 |
|
7 |
| - <!-- Required meta tags --> |
8 |
| - <meta charset="utf-8"> |
9 |
| - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 7 | + <!-- Required meta tags --> |
| 8 | + <meta charset="utf-8" /> |
| 9 | + <meta |
| 10 | + name="viewport" |
| 11 | + content="width=device-width, initial-scale=1, shrink-to-fit=no" |
| 12 | + /> |
10 | 13 |
|
11 |
| - <!-- Bootstrap CSS --> |
12 |
| - <link rel=" stylesheet" href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity=" sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin=" anonymous" > |
| 14 | + <!-- Bootstrap CSS --> |
| 15 | + <link |
| 16 | + rel="stylesheet" |
| 17 | + href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" |
| 18 | + integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
| 19 | + crossorigin="anonymous" |
| 20 | + /> |
13 | 21 |
|
14 |
| - <body> |
| 22 | + <body> |
| 23 | + <!-- Optional JavaScript --> |
| 24 | + <!-- jQuery first, then Popper.js, then Bootstrap JS --> |
| 25 | + <script |
| 26 | + src="https://code.jquery.com/jquery-3.2.1.slim.min.js" |
| 27 | + integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" |
| 28 | + crossorigin="anonymous" |
| 29 | + ></script> |
| 30 | + <script |
| 31 | + src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" |
| 32 | + integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" |
| 33 | + crossorigin="anonymous" |
| 34 | + ></script> |
| 35 | + <script |
| 36 | + src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" |
| 37 | + integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" |
| 38 | + crossorigin="anonymous" |
| 39 | + ></script> |
15 | 40 |
|
| 41 | + <!-- <h3>python3.11-wasm embeded via pybind11 build by boa</h3> --> |
| 42 | + <form name="myform"> |
| 43 | + <td><textarea name="inputtext"></textarea></td> |
16 | 44 |
|
| 45 | + <button |
| 46 | + type="button" |
| 47 | + class="btn btn-outline-primary" |
| 48 | + disabled |
| 49 | + id="run_button" |
| 50 | + name="run_button" |
| 51 | + > |
| 52 | + Run |
| 53 | + </button> |
17 | 54 |
|
18 |
| - <!-- Optional JavaScript --> |
19 |
| - <!-- jQuery first, then Popper.js, then Bootstrap JS --> |
20 |
| - <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> |
21 |
| - <script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity=" sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin=" anonymous" ></script> |
22 |
| - <script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity=" sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin=" anonymous" ></script> |
| 55 | + <p id="p1"></p> |
23 | 56 |
|
24 |
| - <!-- <h3>python3.11-wasm embeded via pybind11 build by boa</h3> --> |
25 |
| - <form name="myform"> |
26 |
| - <td><textarea name="inputtext"></textarea></td> |
| 57 | + <td><textarea name="outputtext"></textarea></td> |
| 58 | + </form> |
27 | 59 |
|
28 |
| - <button type="button" class="btn btn-outline-primary" disabled id="run_button" name="run_button">Run</button> |
29 |
| - |
30 |
| - <p id="p1"></p> |
31 |
| - |
32 |
| - <td><textarea name="outputtext"></textarea></td> |
33 |
| - </form> |
34 |
| - |
35 |
| - |
36 |
| - <script type="application/javascript" src="pyjs_runtime_browser.js"></script> |
37 |
| - <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.32.0/codemirror.min.js"></script> |
38 |
| - <script src='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/mode/python/python.js'></script> |
39 |
| - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.32.0/codemirror.css" /> |
40 |
| - <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/theme/monokai.css'/> |
41 |
| - <script type="application/javascript" src="script.js"></script> |
42 |
| - <script type="application/javascript"> |
43 |
| - |
44 |
| - |
45 |
| - </script> |
46 |
| - </body> |
| 60 | + <script |
| 61 | + type="application/javascript" |
| 62 | + src="pyjs_runtime_browser.js" |
| 63 | + ></script> |
| 64 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.32.0/codemirror.min.js"></script> |
| 65 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/mode/python/python.js"></script> |
| 66 | + <link |
| 67 | + rel="stylesheet" |
| 68 | + href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.32.0/codemirror.css" |
| 69 | + /> |
| 70 | + <link |
| 71 | + rel="stylesheet" |
| 72 | + href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.13.4/theme/monokai.css" |
| 73 | + /> |
| 74 | + <script src="pyjs_runtime_browser.js"></script> |
| 75 | + <script type="application/javascript" src="script.js"></script> |
| 76 | + <script type="application/javascript"></script> |
| 77 | + </body> |
47 | 78 | </html>
|
0 commit comments