From b5d96dc5081f3c4b0821dc3bc6235a624c16cf69 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Thu, 14 Nov 2024 12:27:53 -0400 Subject: [PATCH] Show launch command --- guiTools/spiri_sdk_guitools/sim_drone.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guiTools/spiri_sdk_guitools/sim_drone.py b/guiTools/spiri_sdk_guitools/sim_drone.py index 0c23d6c..6de2e5f 100644 --- a/guiTools/spiri_sdk_guitools/sim_drone.py +++ b/guiTools/spiri_sdk_guitools/sim_drone.py @@ -111,6 +111,10 @@ class Robot: ui.label().bind_text(container_status, container).classes( "text-lg" ) + #Show the command the container is running + # ui.label(container.attrs["Config"]["Cmd"]) + cmd_widget = ui.codemirror(" ".join(container.attrs["Config"]["Cmd"]), language="bash",theme="basicDark").classes('h-auto max-h-32') + cmd_widget.enabled = False logelement = ( ui.expansion("Logs") .style("margin: 10px;")