-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
267 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
body { | ||
background-color: lightblue; | ||
font-family: 'Courier New', Courier, monospace; | ||
text-align: center; | ||
} | ||
|
||
.container{ | ||
border: 4px solid white; | ||
border-radius: 25px; | ||
padding: 30px; | ||
margin-top: 50px; | ||
margin-left: 100px; | ||
margin-right: 100px; | ||
} | ||
|
||
.approve_button{ | ||
display: inline-block; | ||
} | ||
|
||
.reject_button{ | ||
display: inline-block; | ||
} | ||
|
||
ul{ | ||
padding:0; | ||
background:white; | ||
font-family: 'Courier New', Courier, monospace; | ||
font-size:15px; | ||
text-transform:uppercase; | ||
text-align: right; | ||
} | ||
|
||
li{ | ||
display:inline-block; | ||
} | ||
|
||
a{ | ||
display:block; | ||
padding:10px; | ||
color:black; | ||
text-decoration:none; | ||
} | ||
|
||
h1 { | ||
color: white; | ||
text-align: center; | ||
} | ||
|
||
h2 { | ||
color: white; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
body { | ||
background-color: lightblue; | ||
font-family: 'Courier New', Courier, monospace; | ||
text-align: center; | ||
} | ||
|
||
.addform{ | ||
border: 4px solid white; | ||
border-radius: 25px; | ||
padding: 30px; | ||
margin: 20px | ||
} | ||
|
||
ul{ | ||
padding:0; | ||
background:white; | ||
font-family: 'Courier New', Courier, monospace; | ||
font-size:15px; | ||
text-transform:uppercase; | ||
text-align: right; | ||
} | ||
|
||
li{ | ||
display:inline-block; | ||
} | ||
|
||
a{ | ||
display:block; | ||
padding:10px; | ||
color:black; | ||
text-decoration:none; | ||
} | ||
|
||
h1 { | ||
color: white; | ||
text-align: center; | ||
} | ||
|
||
h2 { | ||
color: white; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
body { | ||
background-color: lightblue; | ||
font-family: 'Courier New', Courier, monospace; | ||
text-align: center; | ||
} | ||
|
||
.add_avail_form{ | ||
border: 4px solid white; | ||
border-radius: 25px; | ||
padding: 30px; | ||
margin-top: 50px; | ||
margin-left: 100px; | ||
margin-right: 100px; | ||
} | ||
|
||
.add_another_space{ | ||
border: 4px solid white; | ||
border-radius: 25px; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
padding-bottom: 20px; | ||
display: inline-block; | ||
} | ||
|
||
ul{ | ||
padding:0; | ||
background:white; | ||
font-family: 'Courier New', Courier, monospace; | ||
font-size:15px; | ||
text-transform:uppercase; | ||
text-align: right; | ||
} | ||
|
||
li{ | ||
display:inline-block; | ||
} | ||
|
||
a{ | ||
display:block; | ||
padding:10px; | ||
color:black; | ||
text-decoration:none; | ||
} | ||
|
||
h1 { | ||
color: white; | ||
text-align: center; | ||
} | ||
|
||
h2 { | ||
color: white; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
body { | ||
background-color: lightblue; | ||
font-family: 'Courier New', Courier, monospace; | ||
text-align: center; | ||
} | ||
|
||
.container{ | ||
border: 4px solid white; | ||
border-radius: 25px; | ||
padding: 30px; | ||
margin-top: 50px; | ||
margin-left: 100px; | ||
margin-right: 100px; | ||
} | ||
|
||
|
||
ul{ | ||
padding:0; | ||
background:white; | ||
font-family: 'Courier New', Courier, monospace; | ||
font-size:15px; | ||
text-transform:uppercase; | ||
text-align: right; | ||
} | ||
|
||
li{ | ||
display:inline-block; | ||
} | ||
|
||
a{ | ||
display:block; | ||
padding:10px; | ||
color:black; | ||
text-decoration:none; | ||
} | ||
|
||
h1 { | ||
color: white; | ||
text-align: center; | ||
} | ||
|
||
h2 { | ||
color: white; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,40 @@ | ||
<html> | ||
<head> | ||
<link rel="stylesheet" type="text/css" href="<%= url("/style.css")%>"> | ||
<link rel="stylesheet" type="text/css" href="<%= url("/account.css")%>"> | ||
</head> | ||
<body> | ||
<div class="navigation"> | ||
<ul> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/log-out">Logout</a></li> | ||
<li><a href="/bookings">Your Bookings</a></li> | ||
<li><a href="/account">Manage Account</a></li> | ||
|
||
<li><a href="/log-out">Logout</a></li> | ||
</ul> | ||
</div> | ||
<h1>Account Management</h1> | ||
|
||
<div class="float-container"> | ||
<div class="float-child"> | ||
<a href="/bookings">Your Bookings</a><br> | ||
</div> | ||
|
||
<div class="float-child"> | ||
<% @requests.each do |request| %> | ||
<%= request.title %> | ||
<%= request.description %> | ||
$<%= request.daily_rate %> per day | ||
<h1>Account Management</h1> | ||
|
||
<% @requests.each do |request| %> | ||
<div class="container"> | ||
<%= request.title %> | ||
<%= request.description %> | ||
$<%= request.daily_rate %> per day | ||
<br> | ||
<br> | ||
<div class="approve_button"> | ||
<form action="/approve-reject/<%= request.id %>&<%= true %>" method="post"> | ||
<label>Approve</label> | ||
<input type="submit" name="approve" value="Approve"> | ||
</form> | ||
<form action="/approve-reject/<%= request.id %>&<%= false %>" method="post"> | ||
<label>Reject</label> | ||
<input type="submit" name="reject" value="Reject"> | ||
</form> | ||
<% end %> | ||
</div> | ||
|
||
<div class="reject_button"> | ||
<form action="/approve-reject/<%= request.id %>&<%= false %>" method="post"> | ||
<label>Reject</label> | ||
<input type="submit" name="reject" value="Reject"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
<% end %> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.