From a235041277aaa8fdcf558496eb77af396d1cf7de Mon Sep 17 00:00:00 2001 From: ChaoticByte Date: Sun, 23 Feb 2025 16:37:18 +0100 Subject: [PATCH] Renamed thing.py to system.py and set a proper title --- dashboard/{thing.py => system.py} | 0 dashboard/ui.py | 2 +- example.py | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename dashboard/{thing.py => system.py} (100%) diff --git a/dashboard/thing.py b/dashboard/system.py similarity index 100% rename from dashboard/thing.py rename to dashboard/system.py diff --git a/dashboard/ui.py b/dashboard/ui.py index 6313b3a..b144ba9 100644 --- a/dashboard/ui.py +++ b/dashboard/ui.py @@ -2,7 +2,7 @@ from typing import List -from .thing import System, SystemState +from .system import System, SystemState from nicegui import ui diff --git a/example.py b/example.py index 6415110..ad29b9e 100644 --- a/example.py +++ b/example.py @@ -3,7 +3,7 @@ from nicegui import ui -from dashboard.thing import System, SystemState +from dashboard.system import System, SystemState from dashboard.ui import init_ui @@ -54,4 +54,4 @@ systems = [ # init_ui(systems) -ui.run(show=False) +ui.run(show=False, title="Dashboard")