-
Notifications
You must be signed in to change notification settings - Fork 1
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
4 changed files
with
169 additions
and
26 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
applications/tripit/src/main/webapp/WEB-INF/filterflights.jsp
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,76 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: sayali.khare | ||
Date: 9/23/2019 | ||
Time: 11:23 AM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | ||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> | ||
<c:set var="language" value="${pageContext.request.locale}"/> | ||
<fmt:setLocale value="${language}"/> | ||
<html> | ||
<head> | ||
<title>Filter Flights</title> | ||
<link href="../assests/css/tripit.css" rel="stylesheet"> | ||
<style> | ||
.button { | ||
background-color: #4CAF50; /* Green */ | ||
border: none; | ||
color: white; | ||
} | ||
.button2 { | ||
background-color: white; | ||
color: black; | ||
border: 1px solid #008CBA; | ||
} | ||
.button2:hover { | ||
background-color: #008CBA; | ||
color: white; | ||
} | ||
.go { | ||
background-color: #4CAF50; /* Green */ | ||
border: none; | ||
border-radius: 20px; | ||
color: white; | ||
padding: 15px 32px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
margin: 4px 2px; | ||
cursor: pointer; | ||
margin-left: 120px; | ||
} | ||
</style> | ||
|
||
<meta charset = "utf-8"> | ||
<title>Hotels</title> | ||
|
||
</head> | ||
<body> | ||
<div class=nav> | ||
|
||
<h1 style="padding-top :10px; padding-left: 30px ; color:white; font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif">Tripit</h1> | ||
<h1 style="padding-top :40px;margin-top:150px ;padding-left: 600px ; color:cornflowerblue ;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"> Book Your Hotel Now</h1> | ||
</div> | ||
|
||
|
||
<div style="padding-top:250px;margin-left: 630px" > | ||
|
||
<form action="/flights/filter" method="get"> | ||
<p>Enter Start Date: <input name="begin" type = "date"></p> | ||
<p style="margin-left:65px">From: <input type="text" name="from" size="18"></p> | ||
<p style="margin-left:80px">To: <input type="text" name="to" size="19" ></p> | ||
<button type ="submit" class="go">Go</button> | ||
</form> | ||
|
||
</div> | ||
</body> | ||
</html> |
75 changes: 75 additions & 0 deletions
75
applications/tripit/src/main/webapp/WEB-INF/filterhotels.jsp
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,75 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: sayali.khare | ||
Date: 9/23/2019 | ||
Time: 11:23 AM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | ||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> | ||
<c:set var="language" value="${pageContext.request.locale}"/> | ||
<fmt:setLocale value="${language}"/> | ||
<html> | ||
<head> | ||
<title>Filter Hotels</title> | ||
<link href="../assests/css/tripit.css" rel="stylesheet"> | ||
<style> | ||
.button { | ||
background-color: #4CAF50; /* Green */ | ||
border: none; | ||
color: white; | ||
} | ||
.button2 { | ||
background-color: white; | ||
color: black; | ||
border: 1px solid #008CBA; | ||
} | ||
.button2:hover { | ||
background-color: #008CBA; | ||
color: white; | ||
} | ||
.go { | ||
background-color: #4CAF50; /* Green */ | ||
border: none; | ||
border-radius: 20px; | ||
color: white; | ||
padding: 15px 32px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: inline-block; | ||
margin: 4px 2px; | ||
cursor: pointer; | ||
margin-left: 120px; | ||
} | ||
</style> | ||
|
||
<meta charset = "utf-8"> | ||
<title>Hotels</title> | ||
|
||
</head> | ||
<body> | ||
<div class=nav> | ||
|
||
<h1 style="padding-top :10px; padding-left: 30px ; color:white; font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif">Tripit</h1> | ||
<h1 style="padding-top :40px;margin-top:150px ;padding-left: 600px ; color:cornflowerblue ;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"> Book Your Hotel Now</h1> | ||
</div> | ||
|
||
|
||
<div style="padding-top:250px;margin-left: 630px" > | ||
|
||
<form action="/hotels/filter" method="get"> | ||
<p>Enter Start Date: <input name="begin" type = "date"></p> | ||
<p>Enter End Date: <input name="end" type = "date"></p> | ||
<button type ="submit" class="go">Go</button> | ||
</form> | ||
|
||
</div> | ||
</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