Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit 1: mock pages #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions MainPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@

body{
margin: 0;
padding: 0;
font-family: sans-serif;
background: #25a5be;
}

.container{
width: 100%;
top: 100px;
background-color: #2596be;
}
.form{


display: flex;

flex-direction: horizontal;
align-items: center;
justify-content: center;
}

.button{
display: block;
width: 115px;
height: 25px;
background: #2587be;
padding: 10px;
text-align: center;
border-radius: 5px;
color: white;
font-weight: bold;
line-height: 25px;

margin-left: 10px;

text-decoration: none;
}
.header{
display: flex;
align-items: center;
justify-content: center;
background-color: #2587be;
width: 100vw;
height: 10vh;

color: white;
}

.check-in-out{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin:20px;
padding:0;

}
.people{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin:20px;
padding:0;
}

.text{

margin-top: 10px;
color: white;
font-size: 14px;
font-weight: bold;
}

.room_dropdown{
margin-left: 10px;
}
.room_text{

color: white;
font-size: 14px;
font-weight: bold;
}
47 changes: 47 additions & 0 deletions MainPage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<title>BookIO</title>
<link rel="stylesheet" href="MainPage.css">
</head>
<body>
<div class="header">
<h1>BookIO</h1>
</div>

<div class="container">
<form class = "form">

<div class="check-in-out">
<label class = "text" for="check-in-date">Check-in Date:</label>
<input type="date" id="check-in-date" name="check-in-date">

<label class = "text" for="check-out-date">Check-out Date:</label>
<input type="date" id="check-out-date" name="check-out-date">

</div>

<label class = "room_text" for="room-type">Room Type:</label>
<select class = "room_dropdown" id="room-type" name="room-type">

<option value="standard">Standard</option>
<option value="deluxe">Deluxe</option>
<option value="suite">Suite</option>
</select>

<div class="people">
<label class = "text" for="num-adults">Number of Adults:</label>
<input type="number" id="num-adults" name="num-adults" min="1" max="10">
<label class = "text" for="num-children">Number of Children:</label>
<input type="number" id="num-children" name="num-children" min="0" max="10">

</div>


<a class = "button" href="displayPage.html">Book Now</a>

</form>
</div>

</body>
</html>
72 changes: 72 additions & 0 deletions book.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
body{
margin: 0;
padding: 0;
font-family: sans-serif;
background: #25a5be;
}

.container{

margin-top: 100px;
display: flex;

flex-direction: column;
align-items: center;
justify-content: center;

}

.header{
display: flex;
align-items: center;
justify-content: center;
background-color: #2587be;
width: 100vw;
height: 10vh;

color: white;
}

.button{


display: block;
width: 115px;
height: 25px;
background: #2587be;
padding: 10px;
text-align: center;
border-radius: 5px;
color: white;
font-weight: bold;
line-height: 25px;

margin-top: 10px;

text-decoration: none;
}

.text{

margin-top: 10px;
color: white;
font-size: 14px;
font-weight: bold;
}

.book_now{

display: block;

background: #2587be;

text-align: center;
border-radius: 5px;
color: white;
font-weight: bold;
line-height: 25px;

margin-top: 10px;


}
40 changes: 40 additions & 0 deletions book.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Book</title>

<link rel = "stylesheet" href = "book.css">
</head>
<body>

<div class = "header">
<h1>BookIO</h1>
</div>


<form class = "container">
<label class = "text" for="name">Name:</label>
<input type="text" id="name" name="name" required>

<label class = "text" for="email">Email:</label>
<input type="email" id="email" name="email" required>

<label class = "text" for="age">Age:</label>
<input type="number" id="age" name="age" required>

<label class = "text" for="Arrival Time">Arrival Time:</label>
<input type="time" id="appt" name="appt" min="09:00" max="18:00" required>

<input class = "book_now" type = "submit" value="Book Now">

<a class = "button" href="displayPage.html">Go Back</a>


</form>


</body>
</html>
53 changes: 53 additions & 0 deletions displayPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
body{
margin: 0;
padding: 0;
font-family: sans-serif;
background: #21a5d4;
}

.rooms{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.button{
display: block;
width: 115px;
height: 25px;
background: #4E9CAF;
padding: 10px;
text-align: center;
border-radius: 5px;
color: white;
font-weight: bold;
line-height: 25px;

margin-top:20px;

text-decoration: none;
}



.roomDetails{

border-radius: 10%;


display: flex;
flex-direction:column;
}

.header{
display: flex;
align-items: center;
justify-content: center;
background-color: #2587be;
width: 100vw;
height: 10vh;

color: white;
}
28 changes: 28 additions & 0 deletions displayPage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<title>BookIO</title>
<link rel="stylesheet" href="displayPage.css">
<script src="roomDetails.js"></script>


</head>
<body>
<div class="header">
<h1>BookIO</h1>
</div>

<form class="rooms">


<a class = "button" href="MainPage.html">Go Back</a>



<div class = "roomDetails" id = "available-rooms"></div>


</form>

</body>
</html>
55 changes: 55 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang = "en">
<head>

<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">


<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<title>Book.io</title>
</head>
<body>
<header>
<nav className = 'navbar'>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<main>
<h1>Welcome to Book.io</h1>

</main>


<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>

</body>
</html>


<!doctype html>
<html lang="en">
<head>

</head>
<body>
<h1>Hello, world!</h1>

<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
Loading