8000 fix examples landing page and some import issues · rmyers/pyscript@547e602 · GitHub
[go: up one dir, main page]

Skip to content

Commit 547e602

Browse files
committed
fix examples landing page and some import issues
1 parent 6292341 commit 547e602

File tree

3 files changed

+27
-13
lines changed

3 files changed

+27
-13
lines changed

pyscriptjs/examples/index.html

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,40 @@
77
<title>PyScript demo</title>
88

99
<link rel="icon" type="image/png" href="favicon.png" />
10-
<link rel="stylesheet" href="build/bundle.css" />
11-
12-
<script defer src="build/bundle.js"></script>
10+
<link rel="stylesheet" href="build/pyscript.css" />
1311
</head>
1412

1513
<body class="container">
1614

1715
<h1 class="text-3xl font-bold">PyScript demos</h1>
1816
<hr/>
1917

20-
<h2 class="text-2xl font-bold text-blue-600"><a href="./simple_script.html">Simple script</a></h2>
21-
<p>A static demo of the <code>&lt;py-script&gt;</code> tag</p>
18+
<h2 class="text-2xl font-bold text-blue-600"><a href="./bokeh_interactive.html" target=”_blank”>Bokeh Interactive</a></h2>
19+
<p>Interactive demo using a Bokeh slider widget to dynamically change a value in the page</p>
2220

23-
<h2 class="text-2xl font-bold text-blue-600"><a href="./simple_script2.html">Simple script 2</a></h2>
24-
<p>A dynamic demo of the <code>&lt;py-script&gt;</code> tag</p>
21+
<h2 class="text-2xl font-bold text-blue-600"><a href="./bokeh.html" target=”_blank”>Simple Static Bokeh Plot</a></h2>
22+
<p>Minimal Bokeh demo demonstrating how to create a simple bokeh plot from code</p>
2523

26-
<h2 class="text-2xl font-bold text-blue-600"><a href="./repl.html">REPL</a></h2>
27-
<p>A Python REPL (Read Eval Print Loop). </p>
24+
<h2 class="text-2xl font-bold text-blue-600"><a href="./panel_kmeans.html" target=”_blank”>KMeans Demo in Panel</a></h2>
25+
<p>Interactive KMeans Chart using Panel</p>
26+
27+
<h2 class="text-2xl font-bold text-blue-600"><a href="./panel.html" target=”_blank”>Simple Panel Demo</a></h2>
28+
<p>Simple demo showing Panel widgets interating with parts of the page</p>
2829

29-
<h2 class="text-2xl font-bold text-blue-600"><a href="./repl2.html">REPL2</a></h2>
30+
31+
<h2 class="text-2xl font-bold text-blue-600"><a href="./repl.html" target=”_blank”>REPL</a></h2>
32+
<p>A Python REPL (Read Eval Print Loop). </p>
33+
34+
<h2 class="text-2xl font-bold text-blue-600"><a href="./repl2.html" target=”_blank”>REPL2</a></h2>
3035
<p>A Python REPL (Read Eval Print Loop) with slightly better formatting.</p>
36+
37+
<h2 class="text-2xl font-bold text-blue-600"><a href="./simple_script.html" target=”_blank”>Simple script</a></h2>
38+
<p>A static demo of the <code>&lt;py-script&gt;</code> tag</p>
39+
40+
<h2 class="text-2xl font-bold text-blue-600"><a href="./simple_script2.html" target=”_blank”>Simple script 2</a></h2>
41+
<p>A dynamic demo of the <code>&lt;py-script&gt;</code> tag</p>
42+
43+
<h2 class="text-2xl font-bold text-blue-600"><a href="./todo.html" target=”_blank”>TODO App</a></h2>
44+
<p>Demo showing how would a Simple TODO App would look like in PyScript</code> tag</p>
3145
</body>
32-
</html>
46+
</html>

pyscriptjs/examples/repl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Svelte app</title>
88

99
<link rel="icon" type="image/png" href="favicon.png" />
10-
<link rel="stylesheet" href="../build/bundle.css" />
10+
<link rel="stylesheet" href="../build/pyscript.css" />
1111

1212
<script defer src="../build/pyscript.js"></script>
1313
</head>

pyscriptjs/examples/repl2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Svelte app</title>
88

99
<link rel="icon" type="image/png" href="favicon.png" />
10-
<link rel="stylesheet" href="../build/bundle.css" />
10+
<link rel="stylesheet" href="../build/pyscript.css" />
1111

1212
<script defer src="../build/pyscript.js"></script>
1313
</head>

0 commit comments

Comments
 (0)
0