mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-06 23:57: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){
|
function removeIpBlacklist(ipaddr){
|
||||||
if (confirm("Confirm remove blacklist for " + ipaddr + " ?")){
|
//if (confirm("Confirm remove blacklist for " + ipaddr + " ?")){
|
||||||
$.cjax({
|
$.cjax({
|
||||||
url: "/api/blacklist/ip/remove",
|
url: "/api/blacklist/ip/remove",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
@ -1191,7 +1191,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1318,7 +1318,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function removeIpWhitelist(ipaddr){
|
function removeIpWhitelist(ipaddr){
|
||||||
if (confirm("Confirm remove whitelist for " + ipaddr + " ?")){
|
//if (confirm("Confirm remove whitelist for " + ipaddr + " ?")){
|
||||||
$.cjax({
|
$.cjax({
|
||||||
url: "/api/whitelist/ip/remove",
|
url: "/api/whitelist/ip/remove",
|
||||||
type: "POST",
|
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;
|
background-color: var(--buttom_toggle_active) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.darkTheme .ui.checkbox:not(.toggle) input[type="checkbox"]{
|
||||||
|
opacity: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
#sidemenuBtn{
|
#sidemenuBtn{
|
||||||
border: 1px solid var(--button_border_color) !important;
|
border: 1px solid var(--button_border_color) !important;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user