-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser.html
130 lines (119 loc) · 5.95 KB
/
user.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Description" content="Enter your description here" />
<link href="css/bootstrap.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/style.css">
<title>Hotel Management System</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" id="mainNav">
<div class="container ">
<a class="navbar-brand text-white" href="#">Hotel Management System</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link text-white" href="admin.html">Admin Panel<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link text-white" href="user.html">User Panel</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron jumbotron-fluid bg-info" style="background-image: url('img/hotel2.jpg'); background-size: cover; height: 450px;">
<div class="container pt-5">
<h1 class="display-2 text-center text-black">Welcome</h1>
<p class="display-4 text-center text-black" id="confirmation">Sign in as a User? <br>
<button type="button" class="btn btn-primary" id="signInUser">Confirm</button>
</p>
<div id="userConfirm" class="display-3 text-center text-black"></div>
</div>
</div>
<section class="col-lg-8 col-md-10 mx-auto">
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header" id="headingOne">
<h2 class="mb-0">
<button class="btn btn-link" type="button" id="getAllHotels" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
<h2>Get All Hotels</h2>
</button>
</h2>
</div>
<div id="collapseOne" class="collapse " aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<div class="pageloader"></div>
<div class="row">
<table class="table table-dark">
<thead>
<tr>
<th scope="col">Hotel Id</th>
<th scope="col">Hotel Name</th>
<th scope="col">Star Rating</th>
</tr>
</thead>
<tbody id="hotels">
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingOne">
<h2 class="mb-0">
<button class="btn btn-link" type="button" id="getAllRooms" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseFour">
<h2>Get All Rooms</h2>
</button>
</h2>
</div>
<div id="collapseTwo" class="collapse " aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<div class="pageloader"></div>
<div class="row">
<table class="table table-dark">
<thead>
<tr>
<th scope="col">Room Id</th>
<th scope="col">Hotel Id</th>
<th scope="col">Room Number</th>
<th scope="col">Room Type</th>
<th scope="col">Floor No</th>
<th scope="col">Rent</th>
<th scope="col">Smoking Zone</th>
<th scope="col">Reservation Status</th>
</tr>
</thead>
<tbody id="Rooms">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
<hr>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<p class="copyright text-muted text-center">Copyright © Your Website 2020</p>
</div>
</div>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/index.js"></script>
</body>
</html>