-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubmit.php
More file actions
58 lines (47 loc) · 1.16 KB
/
submit.php
File metadata and controls
58 lines (47 loc) · 1.16 KB
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
<style type="text/css">
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
}
.popup {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #D8BFA4;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.close-btn {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}
</style>
<div class="overlay" id="overlay">
<div class="popup">
<span class="close-btn" onclick="closePopup()">×</span>
<form action="includes/login.inc.php" method="post">
<h5>D.S.Senanayake Memorial<br>public Library</h5><br>
<a href="application.php">
<button type="submit" id= "submit" class="btn btn-danger col-12 mt-2">Submit Application</button>
</a>
</form>
</div>
</div>
<script>
function openSubmit() {
document.getElementById("overlay").style.display = "block";
}
function closePopup() {
document.getElementById("overlay").style.display = "none";
}
</script>
</div>