mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-01 13:17:21 +02:00
Removed confirm from access
- Removed troublesome confirm popup from black / whitelist - Minor fix to checkbox css
This commit is contained in:
parent
45f61b3053
commit
bfd64a885e
@ -1174,7 +1174,7 @@
|
||||
}
|
||||
|
||||
function removeIpBlacklist(ipaddr){
|
||||
if (confirm("Confirm remove blacklist for " + ipaddr + " ?")){
|
||||
//if (confirm("Confirm remove blacklist for " + ipaddr + " ?")){
|
||||
$.cjax({
|
||||
url: "/api/blacklist/ip/remove",
|
||||
type: "POST",
|
||||
@ -1191,7 +1191,7 @@
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1318,7 +1318,7 @@
|
||||
}
|
||||
|
||||
function removeIpWhitelist(ipaddr){
|
||||
if (confirm("Confirm remove whitelist for " + ipaddr + " ?")){
|
||||
//if (confirm("Confirm remove whitelist for " + ipaddr + " ?")){
|
||||
$.cjax({
|
||||
url: "/api/whitelist/ip/remove",
|
||||
type: "POST",
|
||||
@ -1335,7 +1335,7 @@
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -209,6 +209,10 @@ body.darkTheme .ui.toggle.checkbox input:checked ~ label::before{
|
||||
background-color: var(--buttom_toggle_active) !important;
|
||||
}
|
||||
|
||||
body.darkTheme .ui.checkbox:not(.toggle) input[type="checkbox"]{
|
||||
opacity: 100% !important;
|
||||
}
|
||||
|
||||
#sidemenuBtn{
|
||||
border: 1px solid var(--button_border_color) !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user