added basic framework for boards in config util

This commit is contained in:
UpstreamData
2022-05-12 11:29:28 -06:00
parent b78c1cdca5
commit 1b0e80a418
4 changed files with 103 additions and 1 deletions

View File

@@ -110,7 +110,6 @@ async def ui():
mgr.update_sort_key(table.heading(event[2][1])["text"])
# scan tab
if event == "scan_all":
_table = "scan_table"
btn_all(_table, value[_table])
@@ -123,6 +122,17 @@ async def ui():
if event == "btn_scan":
asyncio.create_task(btn_scan(value["scan_ip"]))
# boards tab
if event == "boards_all":
_table = "boards_table"
btn_all(_table, value[_table])
if event == "boards_web":
_table = "boards_table"
btn_web(_table, value[_table])
if event == "boards_refresh":
_table = "boards_table"
asyncio.create_task(btn_refresh(_table, value[_table]))
# pools tab
if event == "pools_all":
_table = "pools_table"