mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 09:35:29 +01:00
test
This commit is contained in:
@@ -809,11 +809,11 @@ function toggle_route(route_id, current_state, page) {
|
||||
var disabledClass = ""
|
||||
var enabledClass = ""
|
||||
|
||||
if (page == "machines") {
|
||||
if (page == "routes") {
|
||||
disabledClass = "waves-effect waves-light btn-small red-text lighten-2 tooltipped";
|
||||
enabledClass = "waves-effect waves-light btn-small green-text lighten-2 tooltipped";
|
||||
}
|
||||
if (page == "routes") {
|
||||
if (page == "machines") {
|
||||
disabledClass = "material-icons red-text text-lighten-2 tooltipped";
|
||||
enabledClass = "material-icons green-text text-lighten-2 tooltipped";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user