mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 09:35:29 +01:00
test
This commit is contained in:
@@ -726,8 +726,8 @@ def render_routes():
|
||||
is_failover = False
|
||||
is_exit = False
|
||||
|
||||
enabled = "<a href='#'><i id='"+route["id"]+"' onclick='toggle_route_routes_page("+route["id"]+", \"True\")' class='material-icons green-text text-lighten-2 tooltipped' data-tooltip='Click to disable'>fiber_manual_record</i></a>"
|
||||
disabled = "<a href='#'><i id='"+route["id"]+"' onclick='toggle_route_routes_page("+route["id"]+", \"False\")' class='material-icons red-text text-lighten-2 tooltipped' data-tooltip='Click to enable' >fiber_manual_record</i></a>"
|
||||
enabled = "<a href='#'><i id='"+route["id"]+"' onclick='toggle_route("+route["id"]+", \"True\", \"routes\")' class='material-icons green-text text-lighten-2 tooltipped' data-tooltip='Click to disable'>fiber_manual_record</i></a>"
|
||||
disabled = "<a href='#'><i id='"+route["id"]+"' onclick='toggle_route("+route["id"]+", \"False\", \"routes\")' class='material-icons red-text text-lighten-2 tooltipped' data-tooltip='Click to enable' >fiber_manual_record</i></a>"
|
||||
|
||||
# Set the displays:
|
||||
enabled_display = disabled
|
||||
|
||||
Reference in New Issue
Block a user