mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-21 16:25:18 +01:00
test
This commit is contained in:
@@ -804,8 +804,9 @@ def render_routes():
|
||||
# Get info on every route in the list:
|
||||
machine = all_routes["routes"][int(route_id)]["machine"]["givenName"]
|
||||
machine_id = all_routes["routes"][int(route_id)]["machine"]["id"]
|
||||
is_primary = bool(all_routes["routes"][int(route_id)]["isPrimary"])
|
||||
is_enabled = bool(all_routes["routes"][int(route_id)]["enabled"])
|
||||
is_primary = all_routes["routes"][int(route_id)]["isPrimary"]
|
||||
is_enabled = all_routes["routes"][int(route_id)]["enabled"]
|
||||
app.logger.debug("Machine: [%s] %s : %s / %s", str(machjine_id), str(machine), str(is_enabled), str(is_primary))
|
||||
|
||||
# Set up the display code:
|
||||
enabled = "<i class='material-icons green-text text-lighten-2'>fiber_manual_record</i>"
|
||||
|
||||
Reference in New Issue
Block a user