-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.html
314 lines (275 loc) · 10.1 KB
/
admin.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Travel Planning System</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- font awesome cdn -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- fonts -->
<link rel = "stylesheet" href = "font/fonts.css">
<!-- normalize css -->
<link rel = "stylesheet" href = "css/normalize.css">
<!-- custom css -->
<link rel = "stylesheet" href = "css/utility.css">
<link rel = "stylesheet" href = "css/style.css">
<link rel = "stylesheet" href = "css/responsive.css">
</head>
<style>
.admin-login-form {
width: 600px;
padding: 50px;
border: 2px solid #b6c4da;
box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.20);
}
body {
font-family: Arial, Helvetica, sans-serif;
}
* {
box-sizing: border-box;
}
/* Full-width input fields */
input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], input[type=file] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=file]:focus {
background-color: #ddd;
outline: none;
}
hr {
border: 1px solid #f1f1f1;
margin-bottom: 25px;
}
/* Set a style for all buttons */
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
button:hover {
opacity:1;
}
/* Extra styles for the cancel button */
.cancelbtn {
padding: 14px 20px;
background-color: #f44336;
}
.cancelbtn:hover {
background-color: #333;
}
/* Center the avatar image inside this container */
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
}
img.avatar {
width: 40%;
border-radius: 50%;
}
/* The "upload" button */
.upload {
background-color: #4CAF50;
color: white;
padding: 8px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
.upload:hover {
opacity:1;
}
/* Add padding to containers */
.container {
padding: 16px;
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
</style>
<body>
<div class="all">
<!-- navbar -->
<nav class = "navbar">
<div class = "container flex">
<a href = "index.html" class = "site-brand">
Next<span>Travel</span>
</a>
<button type = "button" id = "navbar-show-btn" class = "flex">
<i class = "fas fa-bars"></i>
</button>
<div id = "navbar-collapse">
<button type = "button" id = "navbar-close-btn" class = "flex">
<i class = "fas fa-times"></i>
</button>
<ul class = "navbar-nav">
<li class = "nav-item">
<a href = "index.html" class = "nav-link">Home</a>
</li>
<li class = "nav-item">
<a href = "about.html" class = "nav-link">About Us</a>
</li>
<li class = "nav-item">
<a href = "hotel.html" class = "nav-link">Hotels</a>
</li>
<li class = "nav-item">
<a href = "vehicle.html" class = "nav-link">Vehicles</a>
</li>
<li class = "nav-item">
<a href = "travel_plans.html" class = "nav-link">Travel Plans</a>
</li>
<li class = "nav-item">
<a href = "gallery.html" class = "nav-link">Gallery</a>
</li>
<li class = "nav-item">
<a href = "booking.html" class = "nav-link">Booking</a>
</li>
<li class = "nav-item">
<a href = "contact.html" class = "nav-link">Contact</a>
</li>
<li class = "nav-item">
<a href = "login.html" class = "nav-link">User</a>
</li>
<li class = "nav-item">
<a href = "admin.html" class = "nav-link">Admin</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- end of navbar -->
<!-- header -->
<header class = "flex header-sm">
<div class = "container">
<div class = "header-title">
<h1>Admin Login Form</h1>
</div>
<h2>-------------------------------------------------------------</h2>
<div class="admin-login-form">
<h2>Admin Login</h2>
<form>
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="uname" required>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
<a href="hotel_dashboard.html"> Hotel</a>
<button type="submit" >Login</button>
</form>
</div>
<br>
<br>
<br>
</div>
</header>
<!-- header -->
<!-- <div class="login_container">-->
<!-- <h1>User Login Form</h1>-->
<!-- <form action="/login" method="post">-->
<!-- <div class="form-item">-->
<!-- <label for="username">Username:</label>-->
<!-- <input type="text" id="username" name="username" required>-->
<!-- </div>-->
<!-- <div class="form-item">-->
<!-- <label for="address">Address:</label>-->
<!-- <input type="text" id="address" name="address" required>-->
<!-- </div>-->
<!-- <div class="form-item">-->
<!-- <label for="email">Email:</label>-->
<!-- <input type="email" id="email" name="email" required>-->
<!-- </div>-->
<!-- <div class="form-item">-->
<!-- <label for="phone">Phone Number:</label>-->
<!-- <input type="tel" id="phone" name="phone" required>-->
<!-- </div>-->
<!-- <div class="form-item">-->
<!-- <label for="nic">NIC:</label>-->
<!-- <input type="text" id="nic" name="nic" required>-->
<!-- </div>-->
<!-- <div class="form-item">-->
<!-- <button type="submit">Login</button>-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- footer -->
<footer class = "py-4">
<div class = "container footer-row">
<div class = "footer-item">
<a href = "index.html" class = "site-brand">
Next<span>Travel</span>
</a>
<p class = "text">Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet voluptates maiores nam vitae iusto. Placeat rem sint voluptas natus exercitationem autem quod neque, odit laudantium reiciendis ipsa suscipit veritatis voluptate.</p>
</div>
<div class = "footer-item">
<h2>Follow us on: </h2>
<ul class = "social-links">
<li>
<a href = "#">
<i class = "fab fa-facebook-f"></i>
</a>
</li>
<li>
<a href = "#">
<i class = "fab fa-instagram"></i>
</a>
</li>
<li>
<a href = "#">
<i class = "fab fa-twitter"></i>
</a>
</li>
<li>
<a href = "#">
<i class = "fab fa-pinterest"></i>
</a>
</li>
<li>
<a href = "#">
<i class = "fab fa-google-plus"></i>
</a>
</li>
</ul>
</div>
<div class = "footer-item">
<h2>Popular Places:</h2>
<ul>
<li><a href = "#">Kandy</a></li>
<li><a href = "#">Down South</a></li>
<li><a href = "#">Yala National Park</a></li>
<li><a href = "#">Eastern Coast</a></li>
<li><a href = "#">Sigiriya</a></li>
<li><a href = "#">Western Coast</a></li>
<li><a href = "#">Wasgamuwa National Park</a></li>
</ul>
</div>
<div class = "subscribe-form footer-item">
<h2>Subscribe for Newsletter!</h2>
<form class = "flex">
<input type = "email" placeholder="Enter Email" class = "form-control">
<input type = "submit" class = "btn" value = "Subscribe">
</form>
</div>
</div>
</footer>
<!-- end of footer -->
<!-- js -->
<script src = "js/script.js"></script>
<script>
</script>
</div>
</body>
</html>