-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlog.html
54 lines (54 loc) · 1.11 KB
/
log.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head><title>WaterCan supply</title>
<script type="text/javascript">
function fun(){
var a=document.forms["myForm"]["user"].value;
var b=document.forms["myForm"]["pass"].value;
if(a==""||b==""){
alert("Please Enter all the Coresponding Values");
return false;
}
if(a=="kanishka"&&b=="8951900164"){
return true;
}
else{
alert("Please Enter Correct Username and Password");
return false;
}
}
</script>
</head>
<body style="background-image:url(imagese.jpg);background-repeat:no-repeat;background-size:100% 100%;background-attachment:fixed">
<header>
<h1><center><i><b>ADMIN</b></i></center></h1>
</header>
<br>
<br>
<body>
<center>
<form id="myForm" action="home.html" method="post">
<table>
<tr>
<td>
<b><i>Username:</i></b>
</td>
<td>
<input type="text" placeholder="Username" name="user">
</td>
</tr>
<tr>
<td>
<b><i>Password:</i></b>
</td>
<td>
<input type="password" placeholder="Password" name="pass">
</td>
</tr>
</table>
<center>
<br>
<br>
<button id="sub" onclick="return fun()"><b>Login</b></button>
</form>
</center>