Made detail widget uneditable
Build Docs / build (push) Failing after 49s Details

This commit is contained in:
Alex Davies 2024-11-15 13:15:09 -04:00
parent 271366bf7f
commit 41493f935c
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ class Robot:
asyncio.create_task(container_logs(container, logelement)) asyncio.create_task(container_logs(container, logelement))
with ui.expansion("Full details").classes("w-full outline outline-1").style("margin: 10px;"): with ui.expansion("Full details").classes("w-full outline outline-1").style("margin: 10px;"):
details_widget = ui.codemirror(yaml.dump(container.attrs), language="yaml",theme="basicDark") details_widget = ui.codemirror(yaml.dump(container.attrs), language="yaml",theme="basicDark")
details_widget.enabled = False
# Check for containers that have been removed # Check for containers that have been removed
removed = set(docker_elements.keys()) - set(self.containers()) removed = set(docker_elements.keys()) - set(self.containers())
for container in removed: for container in removed: