feat: make donations fancy

This commit is contained in:
Aliberk Sandıkçı 2023-12-13 17:05:37 +03:00
parent 67cd3eff70
commit 178ca6791c
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -210,6 +210,13 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
document.getElementById(curId).style.textDecoration = "underline";
}
if(lastjson.length < 5 ){
document.getElementById(curId).style.color = "#ffff00";
document.getElementById(curId).style.fontSize = "38px";
document.getElementById(curId).style.fontWeight = "900";
document.getElementById(curId).style.textDecoration = "underline";
}
let progbar = document.getElementById("pprogress")
progbar.max = goalAmount;
progbar.value = curAmount;