-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathfiles.html
55 lines (44 loc) · 1.3 KB
/
files.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
55
<html>
<head>
<title>
Staff Login
</title>
</head>
<body>
<input type="hidden" id="status" value="<%=request.getAttribute("status") %>">
<label id="icon" class="menu1">
<i class="fa fa-bars"></i>
</label>
</nav>
<div class="center">
<img src="user-286.png" class="avatar">
<h1></h1>
<form action="LgServlet" method="post">
<div class="txt_field">
<input type="text" placeholder="" name="email" required>
<span></span>
<label for="email"><b>Staff Email</b></label>
</div>
<div class="txt_field">
<input type="password" placeholder="" name="password" required>
<span></span>
<label for="password"><b>Password</b></label>
</div>
<input type="submit" value="Log-In"> 
<label>
<div class="singn-up">
<a href="StaffReg.jsp">Sign-Up</a>
</label>
</div>
</div>
</center>
</form>
<link rel=" stylesheet" href="alret/dist/sweetalert.css">
<script>
var status=document.getElementById("status").value;
if(status === "failed"){
alert("wrong user name or password!");
}
</script>
</body>
</html>