|
3 | 3 | <html lang="en">
|
4 | 4 |
|
5 | 5 | <head>
|
6 |
| - <meta charset="UTF-8" /> |
7 |
| - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
8 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
9 |
| - <link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}" /> |
10 |
| - <title>ReactPy</title> |
11 |
| - {% pyscript_setup extra_js='{"/static/moment.js":"moment"}' config="{}" %} |
| 6 | + <meta charset="UTF-8" /> |
| 7 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 9 | + <link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}" /> |
| 10 | + <title>ReactPy</title> |
| 11 | + {% pyscript_setup extra_js='{"/static/moment.js":"moment"}' config="{}" %} |
12 | 12 | </head>
|
13 | 13 |
|
14 | 14 | <body>
|
15 |
| - <h1>ReactPy PyScript Test Page</h1> |
16 |
| - <hr> |
17 |
| - {% pyscript_component "./test_app/pyscript/components/hello_world.py" initial="<div id='hello-world-loading'>Loading...</div>" %} |
18 |
| - <hr> |
19 |
| - {% pyscript_component "./test_app/pyscript/components/custom_root.py" root="main" %} |
20 |
| - <hr> |
21 |
| - {% pyscript_component "./test_app/pyscript/components/multifile_parent.py" "./test_app/pyscript/components/multifile_child.py" %} |
22 |
| - <hr> |
23 |
| - {% pyscript_component "./test_app/pyscript/components/counter.py" %} |
24 |
| - <hr> |
25 |
| - {% component "test_app.pyscript.components.server_side.parent" %} |
26 |
| - <hr> |
27 |
| - {% component "test_app.pyscript.components.server_side.parent_toggle" %} |
28 |
| - <hr> |
29 |
| - {% pyscript_component "./test_app/pyscript/components/remote_js_module.py" %} |
30 |
| - <hr> |
| 15 | + <h1>ReactPy PyScript Test Page</h1> |
| 16 | + <hr> |
| 17 | + {% pyscript_component "./test_app/pyscript/components/hello_world.py" initial="<div id='hello-world-loading'>Loading...</div>" %} |
| 18 | + <hr> |
| 19 | + {% pyscript_component "./test_app/pyscript/components/custom_root.py" root="main" %} |
| 20 | + <hr> |
| 21 | + {% pyscript_component "./test_app/pyscript/components/multifile_parent.py" "./test_app/pyscript/components/multifile_child.py" %} |
| 22 | + <hr> |
| 23 | + {% pyscript_component "./test_app/pyscript/components/counter.py" %} |
| 24 | + <hr> |
| 25 | + {% component "test_app.pyscript.components.server_side.parent" %} |
| 26 | + <hr> |
| 27 | + {% component "test_app.pyscript.components.server_side.parent_toggle" %} |
| 28 | + <hr> |
| 29 | + {% pyscript_component "./test_app/pyscript/components/remote_js_module.py" %} |
| 30 | + <hr> |
31 | 31 | </body>
|
32 | 32 |
|
33 | 33 | </html>
|
0 commit comments