mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-22 03:14:46 +01:00
test
This commit is contained in:
@@ -810,11 +810,11 @@ function toggle_route(route_id, current_state, page) {
|
||||
var enabledClass = ""
|
||||
|
||||
if (page == "routes") {
|
||||
disabledClass = "waves-effect waves-light btn-small red-text lighten-2 tooltipped";
|
||||
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 == "machines") {
|
||||
disabledClass = "material-icons red-text text-lighten-2 tooltipped";
|
||||
disabledClass = "material-icons red-text text-lighten-2 tooltipped";
|
||||
enabledClass = "material-icons green-text text-lighten-2 tooltipped";
|
||||
}
|
||||
var disabledTooltip = "Click to enable"
|
||||
|
||||
Reference in New Issue
Block a user