E-Travel Booking Site: Submitted As A Part of
E-Travel Booking Site: Submitted As A Part of
E-Travel Booking Site: Submitted As A Part of
Submitted as a part of
Submitted by
BHUPENDRA DEVAGAN-RA1711003011385
B CHANUKYA-RA1711003010980
RAHUL KUSHWAHA-RA1711003011498
of
BACHELOR OF TECHNOLOGY
IN
It is a matter of great pleasure and privilege for me to present this report of one month industrial training. Through this mini project,
I would like to thank numerous people whose consistent support and guidance has been the standing pillar in architecture of this
Mini project.
To begin with, my sincere thanks to Dr.C.Muthamizhchelvan, (Director E&T). I express thanks to Dr.B.Amutha, HOD, CSE
who gave encouragement and valuable suggestions throughout the project. Next, I would like to express my sincere gratitude to
Dr.S.Prabhakaran, Academic Advisor, to experience a sustained enthusiastic and involved interest from his side.
I would like to thanks Aswathy K Cherian, Faculty Advisor for positive attitude she showed for my work. I would also acknowledge
my heartfelt gratitude to M.R.Shivagar, Faculty In-charge who continuously supported me in every possible way.
4
5
TABLE OF CONTENTS
1. 7
2. 9
3. Work Done 10
4. Project Details 18
5. Source Code 19
6. Output 23
7. Summary 25
6
9
WORK DONE
Python Language
Python is a widely used general-purpose, high level programming language. It was initially
designed by Guido van Rossum in 1991 and developed by Python Software Foundation. It
was mainly developed for emphasis on code readability, and its syntax allows programmers to
express concepts in fewer lines of code.
Python is a programming language that lets you work quickly and integrate systems more
efficiently.
10
Features of Python programming language
There are so many applications of Python, here are some of the them.
1. Web development - Web framework like Django and Flask are based on Python. They help you
write server side code which helps you manage database, write backend programming logic,
mapping urls etc.
2. Machine learning - There are many machine learning applications written in Python. Machine
learning is a way to write a logic so that a machine can learn and solve a particular problem on its
own like Amazon, Flipkart, eBay etc.
3. Data Analysis - Data analysis and data visualisation in form of charts can also be developed
using Python.
11
4. Scripting - Scripting is writing small programs to automate simple tasks such as sending
automated response emails etc. Such type of applications can also be written in Python
programming language.
7. Desktop applications - You can develop desktop application in Python using library like
TKinter or QT.
12
HTML
HTML stands for Hyper Text Markup Language. It is used to design web pages using markup
language. HTML is the combination of Hypertext and Markup language. Hypertext defines the
link between the web pages. Markup language is used to define the text document within tag
which defines the structure of web pages. This language is used to annotate (make notes for the
computer) text so that a machine can understand it and manipulate text accordingly. Most of
markup (e.g. HTML) languages are human readable. Language uses tags to define what
manipulation has to be done on the text.
HTML is a markup language which is used by the browser to manipulate text, images and other
content to display it in required format. HTML was created by Tim Berners-Lee in 1991. The first
ever version of HTML was HTML 1.0 but the first standard version was HTML 2.0 which was
published in 1999.
13
HTML VERSION YEAR
XHTML 2000
HTML 5 2014
14
CSS
Cascading Style Sheets, fondly referred to as CSS, is a simply designed language intended to
simplify the process of making web pages presentable. CSS allows you to apply styles to web
pages. More importantly, CSS enables you to do this independent of the HTML that makes up
each web page.
CSS is easy to learn and understood but it provides powerful control over the presentation of an
HTML document
15
FEATURES OF CSS
CSS saves time : You can write CSS once and reuse same sheet in multiple HTML
pages.
Easy Maintainence : To make a global change simply change the style, and all elements
in all the webpages will be updated automatically.
Search Engines : CSS is considered as clean coding technique, which means search
engines won’t have to struggle to “read” its content.
Superior styles to HTML : CSS has a much wider array of attributes than HTML, so you
can give a far better look to your HTML page in comparison to HTML attributes.
Offline Browsing : CSS can store web applications locally with the help of offline
catche.Using of this we can view offline websites.
16
JAVA SCRIPT
JavaScript is a very powerful client-side scripting language. JavaScript is used mainly for
enhancing the interaction of a user with the webpage. In other words, you can make your
webpage more lively and interactive, with the help of JavaScript. JavaScript is also being used
widely in game development and Mobile application development.
17
PROJECT DETAILS
BUILD A E-TRAVL BOOKING SITE WITH HELP OF HTML , CSS AND JAVA
Easy to use, smooth transactions, quick access to information and deals - passionate
travelers usually use these phrases to describe why they love their booking service. Yet to
build such an appealing and simple app, you have to go through a long and intricate journey.
18
SOURCE CODE
Base.html
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.5, shrink-to-
fit=yes">
19
Hotel.html
{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% block content %}
{% load static %}
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{% static 'css/mystyle.css'%}">
</head>
<body>
<div class="hero">
<div class="hero-inner">
<form method="POST" action="/Hotel/search/hotels/">{% csrf_token %}
<h1 style="font-family:roboto;">Start Exploring</h1>
<h2 style="font-family:roboto;font-weight:lighter;">Experience The Best Trip
Ever</h2>
<br>
<p>
<div class="form-row align-items-center">
<div class="col-md-3">
{{form.destination|as_crispy_field}}
</div>
<div class="col-md-3">
{{form.check_in|as_crispy_field}}
</div>
<div class="col-md-3">
{{form.check_out|as_crispy_field}}
</div>
<div class="col-md-3">
{{form.guest|as_crispy_field}}
</div>
</div>
<button class="btn" type="submit" name="search_button">Search
Hotels</button>
</p>
</form>
</div>
</div>
</body>
{% endblock %}
20
Payment.html
{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% block content %}
{% load static %}
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{% static 'css/mystyle.css'%}">
</head>
<div class="content1">
<p>
<h1>Hotel details</h1>
<div class="card mb-3" style="max-width: 900px;">
<div class="row no-gutters">
<div class="col-md-4">
<img src="{{hotel_image}}" class="card-img img2" alt="...">
</div>
<div class="col-md-8">
<div class="card-body">
<ul class="list-group list-group-flush">
<li class="list-group-item" style="font-size:150%">Hotel name:
{{hotel_name}}</li>
21
OUTPUT
22
23
SUMMARY
During the course of internship, Knowledge was gained about an E Traval Booking Site and
Web Development. It provide an easier way to the user in booking hotels for various purposes. It
helps the user to compare hotels price, location , rating, review etc and helps them to select the
most suited one as per the requirement. It offers a real time data access , saves time and money ,
instant reservation and booking, for the users .it also benefits the site establisher by expanding
their business.
Would like to thank SRM University for providing me with an opportunity to work in this project
and learn through hands on experience This helped to add to my technical
knowledge, I could learn web scripting languages and understand a lot about Web Development.
I would also like to thank my teachers for their constant guidance and support. It was an
enriching experience I am looking forward to such opportunities to widen my horizon.
24
25