-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (27 loc) · 900 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/all.css" />
<title>Autentificare</title>
</head>
<body>
<h1>Outh login test</h1>
<iframe src="about.html" width="50%" height="100%" frameborder="0"></iframe>
<iframe src="page.html" width="50%" height="100%" frameborder="0"></iframe>
<script>
window.onload = function () {
const password = "2";
const inputPassword = prompt("Introdu parola pentru a accesa site-ul:");
if (inputPassword === password) {
// window.location.href = "page.html";
removeOverlay();
} else {
alert("Parolă incorectă! Accesul la site este restricționat.");
}
};
</script>
<script src="/js/login.js"></script>
</body>
</html>