added rebooting and restarting backend to the GUI

This commit is contained in:
UpstreamData
2022-01-08 19:55:26 -07:00
parent e9210eb37d
commit ab208d0d2f
4 changed files with 15 additions and 3 deletions

View File

@@ -18,7 +18,9 @@ layout = [
[sg.Text("IP List:", pad=(0, 0)), sg.Text("", key="ip_count", pad=(0, 0), size=(3, 1)),
sg.Button('ALL', key="select_all_ips"),
sg.Button("GET DATA", key='get_data'),
sg.Button("OPEN IN WEB", key='open_in_web')],
sg.Button("OPEN IN WEB", key='open_in_web'),
sg.Button("REBOOT", key='reboot_miners'),
sg.Button("RESTART BACKEND", key='restart_miner_backend')],
[sg.Text("HR Total: ", pad=(0, 0)), sg.Text("", key="hr_total")],
])],