-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadminpage.html
More file actions
127 lines (117 loc) · 2.85 KB
/
adminpage.html
File metadata and controls
127 lines (117 loc) · 2.85 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Admin Dashboard</title>
<link rel="icon" href="./assets/images/vector.png" type="image/x-icon" />
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #1c0a51;
min-height: 100vh;
display: flex;
align-items: center;
font-family: "Arial", sans-serif;
}
.container {
display: flex;
justify-content: center;
align-items: center;
gap: 400px;
width: 100%;
padding: 20px;
flex-wrap: wrap;
}
.box {
width: 320px;
height: 380px;
background: white;
border-radius: 20px;
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
transition: transform 0.3s ease;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.image-container {
width: 100%;
height: 220px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
h3 {
color: #333;
margin: 15px 0;
font-size: 1.4rem;
font-weight: bold;
}
button {
width: 120px;
height: 40px;
border: none;
border-radius: 20px;
font-size: 16px;
background-color: #4a55ed;
color: white;
cursor: pointer;
transition: all 0.3s ease;
}
button:active {
background-color: #2831b8;
}
@media (max-width: 768px) {
.container {
gap: 100px;
}
.box {
width: 260px;
height: 350px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="box">
<div class="image-container">
<img src="./assets/images/booking.jpg" alt="Booking" />
</div>
<h3>Booking Details</h3>
<button>View</button>
</div>
<div class="box">
<div class="image-container">
<img src="./assets/images/complaints.jpg" alt="Complaints" />
</div>
<h3>Complaints Details</h3>
<button>View</button>
</div>
</div>
<script>
document
.getElementsByTagName("button")[0]
.addEventListener("click", () => {
window.location.assign("bookingdetails.html");
});
document
.getElementsByTagName("button")[1]
.addEventListener("click", () => {
window.location.assign("complaints.html");
});
</script>
</body>
</html>