This commit is contained in:
Dauren777 2026-06-09 12:06:32 +00:00
parent e5bdb47505
commit 4c928a42ca

12
test2.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><title>Test</title></head><body>
<input id="em" placeholder="curator@telecom.kz"><br>
<button onclick="doLogin()">Войти</button>
<p id="out"></p>
<script>
var U={"curator@telecom.kz":{n:"Куратор"}};
function doLogin(){
var e=document.getElementById("em").value.trim().toLowerCase();
document.getElementById("out").textContent=U[e]?"OK: "+U[e].n:"FAIL";
}
</script>
</body></html>