-
Notifications
You must be signed in to change notification settings - Fork 0
/
WELCOME2.html
109 lines (58 loc) · 2.68 KB
/
WELCOME2.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<title>WELCOME</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="LOGIN1.css"> -!>
</head>
<body>
<div id="body">
<a href="HOME.html"><img src="title.png" alt="Logo" height="90px" width="510px"> </a>
<div class="clearfix" style="float:right;margin-right:80px;margin-top:80px;">
<button type="submit" class="cancelbtn" onclick="logout()" style="height:50px;width:90px;">Logout</button><br><br>
</div>
<script type="text/javascript">
function logout() {
window.location.href = 'HOME.html';
}
</script>
<!- ----------------------------------------------FORM1----------------------- -!>
<div id="id01" class="modal">
<form class="modal-content" action="SELECT2.php" method="POST">
<div class="container">
<h1>WELCOME</h1><br><br>
<h3>To View a Maintenance record:</h3><br><br>
<label for="number"><b>SID</b></label>
<input type="number" placeholder="Enter SID" name="SID" required><br><br><br>
<div class="clearfix">
<button type="submit" class="signupbtn">Fetch Details</button><br><br>
</div>
</div>
</form>
<!- ---------------End of form---------------------------------------------------------------------------------------- -!>
<!- ----------------------------------------------FORM2----------------------- -!>
<div id="id01" class="modal">
<form class="modal-content" action="DELETE2.php" method="POST">
<div class="container">
<h3>To delete a Maintenance record:</h3><br><br>
<label for="number"><b>SID</b></label>
<input type="number" placeholder="Enter SID" name="SID" required><br><br><br>
<div class="clearfix">
<button type="submit" class="signupbtn">Delete Record</button>
</div>
</div>
</form>
<!- ---------------End of form---------------------------------------------------------------------------------------- -!>
<script>
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function (event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</div>
</body>
</html>