diff --git a/src/program.py b/src/program.py index 9d7ff88..2d57917 100644 --- a/src/program.py +++ b/src/program.py @@ -68,6 +68,7 @@ def update_instance_table( if tag["Key"] == "Name": name = tag["Value"] table.add_rows({"name": name, "status": instance.state["Name"]}) + log.info("Table updated") def nicegui_ui() -> None: @@ -90,8 +91,10 @@ def nicegui_ui() -> None: timer = ui.timer( 15, lambda: update_instance_table(ec2_resource, container, columns) ) - ui.slider(min=5, max=120, step=5, value=15).bind_value_to(timer) - + textarea = ui.textarea() + ui.slider(min=5, max=120, step=5, value=15).bind_value_to( + timer, "interval" + ).bind_value_to(textarea) ui.run()