From e5492522d65476a62331e9878e983292dc572066 Mon Sep 17 00:00:00 2001 From: MarcSkovMadsen Date: Fri, 26 Jul 2024 11:52:03 +0000 Subject: [PATCH] update to panel 1.5.0 --- panel/README.md | 4 +- panel/assets/css/examples.css | 2 +- panel/index.html | 12 ++-- panel/main.py | 10 +-- panel/pyscript.toml | 5 +- panel_deckgl/README.md | 6 +- panel_deckgl/index.html | 38 ++++++------ panel_deckgl/main.py | 81 +++++++++++++----------- panel_deckgl/pyscript.toml | 7 ++- panel_kmeans/README.md | 10 +-- panel_kmeans/index.html | 22 +++---- panel_kmeans/main.py | 107 ++++++++++++++++++-------------- panel_kmeans/pyscript.toml | 9 ++- panel_streaming/README.md | 2 +- panel_streaming/index.html | 22 +++---- panel_streaming/main.py | 40 +++++++----- panel_streaming/pyscript.toml | 5 +- panel_with_hvplot/index.html | 26 ++++---- panel_with_hvplot/main.py | 3 - panel_with_hvplot/pyscript.toml | 9 ++- 20 files changed, 240 insertions(+), 180 deletions(-) diff --git a/panel/README.md b/panel/README.md index 4538d2f..c659908 100644 --- a/panel/README.md +++ b/panel/README.md @@ -1,6 +1,8 @@ # Simple Panel Example -This is a basic example of a Panel application with PyScript - similar to the Hello World application, this example is aimed for you to get up and running with Panel and PyScript so you can extend it to your own needs. +This is a basic example of a [Panel](https://panel.holoviz.org/) application with PyScript - similar to the Hello World application, this example is aimed for you to get up and running with Panel and PyScript so you can extend it to your own needs. + +For more about using Panel with Pyscript, see [Running Panel in WASM](https://panel.holoviz.org/how_to/wasm/index.html). ## Libraries Used diff --git a/panel/assets/css/examples.css b/panel/assets/css/examples.css index 46e20f0..0ac743f 100644 --- a/panel/assets/css/examples.css +++ b/panel/assets/css/examples.css @@ -51,7 +51,7 @@ nav { white-space: nowrap; } -.app-header { +.app-header, .app-header a { display: flex; align-items: center; padding: 0.5rem 1rem; diff --git a/panel/index.html b/panel/index.html index 13f3b96..24046c0 100644 --- a/panel/index.html +++ b/panel/index.html @@ -7,12 +7,12 @@ - + - +