From aff08668cb424635bf1798c250da4b4a927ed986 Mon Sep 17 00:00:00 2001 From: Aayush Badoni Date: Mon, 3 Jun 2024 20:53:08 +0530 Subject: [PATCH 1/3] Combined POC --- _sources/index.rst | 3 ++- _sources/pycomponent.rst | 6 ++++++ pyscript.html | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 _sources/pycomponent.rst create mode 100644 pyscript.html diff --git a/_sources/index.rst b/_sources/index.rst index f78eb8314d..c43ecc10c0 100644 --- a/_sources/index.rst +++ b/_sources/index.rst @@ -31,4 +31,5 @@ Contenidos: :maxdepth: 1 index_es - index_en \ No newline at end of file + index_en + pycomponent \ No newline at end of file diff --git a/_sources/pycomponent.rst b/_sources/pycomponent.rst new file mode 100644 index 0000000000..256e738f36 --- /dev/null +++ b/_sources/pycomponent.rst @@ -0,0 +1,6 @@ +============================== +Interactive PyScript Component +============================== + +A combined PoC of the PyScript Component with a an ehanced UI. + diff --git a/pyscript.html b/pyscript.html new file mode 100644 index 0000000000..c1a46ad071 --- /dev/null +++ b/pyscript.html @@ -0,0 +1,33 @@ +
+
+ +
+
From 76690b490f474c0c5295721ea6e54c414d959a0f Mon Sep 17 00:00:00 2001 From: Aayush Badoni Date: Mon, 3 Jun 2024 21:01:56 +0530 Subject: [PATCH 2/3] Combined POC: path changes --- _sources/pycomponent.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_sources/pycomponent.rst b/_sources/pycomponent.rst index 256e738f36..cd58719145 100644 --- a/_sources/pycomponent.rst +++ b/_sources/pycomponent.rst @@ -2,5 +2,7 @@ Interactive PyScript Component ============================== -A combined PoC of the PyScript Component with a an ehanced UI. +A combined PoC of the PyScript Component with a an ehanced UI. +.. raw:: html + :file: ../pyscript.html \ No newline at end of file From 75a8f88132fe6002862aaf7aa83ba38416912a74 Mon Sep 17 00:00:00 2001 From: Aayush Badoni Date: Mon, 10 Jun 2024 21:50:05 +0530 Subject: [PATCH 3/3] added: code area, output area + refresh feature --- pyscript.html | 87 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 67 insertions(+), 20 deletions(-) diff --git a/pyscript.html b/pyscript.html index c1a46ad071..c6aca41c4e 100644 --- a/pyscript.html +++ b/pyscript.html @@ -1,33 +1,80 @@ -
-
- -
-
+ style="border: 1px solid #ccc; background-color: #fff" + > + + + + + + +