mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-22 22:40:53 -04:00
Added MQTT configuration UI
This commit is contained in:
parent
c4cdd388b7
commit
d459780ed7
2 changed files with 126 additions and 0 deletions
|
@ -767,6 +767,16 @@ class RVDetails(MDRecycleView):
|
|||
threading.Thread(target=lj, daemon=True).start()
|
||||
|
||||
release_function = select
|
||||
|
||||
elif name == "Reticulum Transport":
|
||||
te = "enabled" if s["values"]["transport_enabled"] else "disabled"
|
||||
formatted_values = f"Reticulum Transport [b]{te}[/b]"
|
||||
|
||||
elif name == "LXMF Propagation":
|
||||
tp = str(s["values"]["total_peers"])
|
||||
ap = str(s["values"]["active_peers"])
|
||||
formatted_values = f"Peered with [b]{tp}[/b] LXMF Propagation Nodes, [b]{ap}[/b] available"
|
||||
|
||||
else:
|
||||
formatted_values = f"{name}"
|
||||
for vn in s["values"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue