From c00db8b8420b28e0e9737adfad714fdcad9ee7f9 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Wed, 29 Nov 2023 14:29:58 +0300 Subject: [PATCH 01/13] UI implementation draft (AppAPI 1.4+) Signed-off-by: Alexander Piskun --- ...n (28).run.xml => Skeleton (last).run.xml} | 2 +- ...ot (28).run.xml => TalkBot (last).run.xml} | 2 +- ... (28).run.xml => TalkBotAI (last).run.xml} | 4 +- ...oGif (28).run.xml => ToGif (last).run.xml} | 2 +- ....xml => register_nc_py_api (last).run.xml} | 4 +- Makefile | 12 +- examples/as_app/skeleton/Makefile | 18 +- examples/as_app/skeleton/appinfo/info.xml | 2 +- examples/as_app/talk_bot/Makefile | 18 +- examples/as_app/talk_bot/appinfo/info.xml | 2 +- examples/as_app/talk_bot_ai/Makefile | 18 +- examples/as_app/talk_bot_ai/appinfo/info.xml | 2 +- examples/as_app/to_gif/Makefile | 18 +- examples/as_app/to_gif/appinfo/info.xml | 2 +- examples/as_app/ui_example/Dockerfile | 10 + examples/as_app/ui_example/Makefile | 65 +++++++ examples/as_app/ui_example/appinfo/info.xml | 36 ++++ examples/as_app/ui_example/requirements.txt | 1 + examples/as_app/ui_example/src/main.py | 38 ++++ .../ui_example/src/static/css/style.css | 177 ++++++++++++++++++ 20 files changed, 380 insertions(+), 53 deletions(-) rename .run/{Skeleton (28).run.xml => Skeleton (last).run.xml} (92%) rename .run/{TalkBot (28).run.xml => TalkBot (last).run.xml} (92%) rename .run/{TalkBotAI (28).run.xml => TalkBotAI (last).run.xml} (92%) rename .run/{ToGif (28).run.xml => ToGif (last).run.xml} (92%) rename .run/{register_nc_py_api (28).run.xml => register_nc_py_api (last).run.xml} (91%) create mode 100644 examples/as_app/ui_example/Dockerfile create mode 100644 examples/as_app/ui_example/Makefile create mode 100644 examples/as_app/ui_example/appinfo/info.xml create mode 100644 examples/as_app/ui_example/requirements.txt create mode 100644 examples/as_app/ui_example/src/main.py create mode 100755 examples/as_app/ui_example/src/static/css/style.css diff --git a/.run/Skeleton (28).run.xml b/.run/Skeleton (last).run.xml similarity index 92% rename from .run/Skeleton (28).run.xml rename to .run/Skeleton (last).run.xml index 1e50fb24..8cc05bbc 100644 --- a/.run/Skeleton (28).run.xml +++ b/.run/Skeleton (last).run.xml @@ -1,5 +1,5 @@ - +