mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
update setup.html and popover
*add opacity delay animation for popover to avoid seeing them if not wanted on mouse move *add missing setup.html css for flash message *add flash message script
This commit is contained in:
parent
33211902dc
commit
38eb98c395
5 changed files with 46 additions and 1129 deletions
|
|
@ -2,4 +2,4 @@
|
|||
location ~ ^/.well-known/acme-challenge/ {
|
||||
root /var/tmp/bunkerweb/lets-encrypt;
|
||||
auth_basic off;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ logger = setup_logger("DEFAULT-SERVER-CERT", getenv("LOG_LEVEL", "INFO"))
|
|||
status = 0
|
||||
|
||||
try:
|
||||
|
||||
cert_path = Path(sep, "var", "cache", "bunkerweb", "default-server-cert")
|
||||
cert_path.mkdir(parents=True, exist_ok=True)
|
||||
if not cert_path.joinpath("cert.pem").is_file():
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -27,7 +27,11 @@ class Popover {
|
|||
const btn = el.closest("svg");
|
||||
//toggle curr popover
|
||||
const popover = btn.parentElement.querySelector(`[data-popover-content]`);
|
||||
popover.classList.add("transition-all", "delay-200", "opacity-0");
|
||||
popover.classList.remove("hidden");
|
||||
setTimeout(() => {
|
||||
popover.classList.remove("opacity-0");
|
||||
}, 10);
|
||||
}
|
||||
|
||||
hidePopover(el) {
|
||||
|
|
@ -35,6 +39,7 @@ class Popover {
|
|||
//toggle curr popover
|
||||
const popover = btn.parentElement.querySelector(`[data-popover-content]`);
|
||||
popover.classList.add("hidden");
|
||||
popover.classList.remove("transition-all", "delay-200");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
1165
src/ui/templates/setup.html
vendored
1165
src/ui/templates/setup.html
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue