Академический Документы
Профессиональный Документы
Культура Документы
On
RED DROP BUDDIES
Submitted in fulfillment of the
requirement for the award of degree of
By
ERA
(1316725)
ERA
1316725
This is to certify that the above statement made by the candidate is correct to best of my
knowledge and belief.
1. Company Profile
ThinkNEXT Technologies Private Limited (An ISO 9001:2008 Certified Company), is emerging as most
innovative company in Education Domain in India. The Management of ThinkNEXT Technologies Pvt.
Ltd. has wide experience more than nine years in education domain. Over the years, we have worked
very closely with Universities, Group of Colleges and other Institutions. We have wide experience
working with eminent Educationists, Managements, Directors, Principals, Head of Departments, other
Staff Members, Parents and students. Therefore we do not sell only software Modules but an
innovative system which has more importance than just ERP software modules. Today Smart Campus
solutions are a need of hour for every University/Group of Colleges or an Institution to make edge over
others and maintain a lead over their competitors. Our Research and Development team is committed
to make your institute(s) to maintain lead over their competitors
Philosophy
Our company philosophy is to create the kind of website that most businesses want: easy to find,
stylish and appealing, quick loading, mobile responsive and easy to buy from.
Mission
We’ve designed our entire process and products around providing everything a small businesses needs
when they’re starting out – ensuring that working with us is always a quick, easy and hassle-free
experience. We give our clients full control of their website without a ridiculous price tag, and our
friendly team offers their expertise even after your website is live.
How we Work
With our in-house award winning designers, we recognize the fact that usability, functionality and
visualization are three of the most important factors when designing interfaces or web sites. Using this
strategy, we work with you to ensure that your messaging and marketing goals are realized with the
designs we create. We will work with you and bring your idea to life.
As a leading mobile application development company, ThinkNEXT has extensive experience in
creating high performance, feature-packed native mobile applications for all the major mobile
platforms including iOS, Android, BlackBerry OS and Windows Mobile. ThinkNEXT mobile app
developers can create the right app that will meet your business, industry and/or vertical needs.
2. Introduction
Using this blood bank system people can search blood group available which they are
needed. They check it online using our blood bank management website. If in case
blood group is not available in blood bank they can also get contact numbers of the
persons who has the same blood group he is need. And he can request the person to
donate the blood for saving someone life. Our system also allow user to search online
the person who have the same blood group he needs and if he find the If he find a
donor in his city then we give him all details of the donor, if he doesn’t find any donor
then he is given the contact numbers and addresses of the Life Saving Contact
Persons for big cities.
2.2 Project Scope
The purpose of the system is to simplify and automate the process of searching for blood
in case of emergency and maintain the records of blood donors,recipients,blood
donation programs,camps.Maintain database of donar and recipients. This project is
mainly towards persons who are willing to donate blood to the patients. Through this
system it will be easier to find a donor for exact blood type and easy to build the
connection.
ADMIN:-
• Manage Registration for user
• Manage Blood bank information like (update, delete)
• Manage Donor Request for Donor
• Manage patient Request for needy people
• Manage Inquiry form for Appropriate Reply
• Manage feedback for Appropriate Reply
• Blood bank information view/update
• View Donor information
• Manage Patient Blood Request.
REQUEST:-
• View Donor information.
• Send Blood Request.
• Manage Blood Request.
DONOR:-
• Manage Donor information(profile)
• Add new Donation for Blood
3. System Analysis
4. System Requirements
4.1 Hardware Requirements
Processor Intel i3 or higher
RAM 1 GB or Higher
Hard Drive 4 GB or more
Due to increase in the technology day by day, Python plays a very important and crucial
role in IT sector. Python is important and we need it because-
Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
Python has a simple syntax similar to the English language.
Python has syntax that allows developers to write programs with fewer lines than some other
programming languages.
Python runs on an interpreter system, meaning that code can be executed as soon as it is
written. This means that prototyping can be very quick.
Python can be treated in a procedural way, an object-orientated way or a functional way.
Python is Interpreted − Python is processed at runtime by the interpreter. You do not need to
compile your program before executing it. This is similar to PERL and PHP.
Python is Interactive − You can actually sit at a Python prompt and interact with the
interpreter directly to write your programs.
Python is Object-Oriented − Python supports Object-Oriented style or technique of
programming that encapsulates code within objects.
Python is a Beginner's Language − Python is a great language for the beginner-level
programmers and supports the development of a wide range of applications from simple text
processing to WWW browsers to games.
5.2 Introduction to Bootstrap
Bootstrap is a free front-end framework for faster and easier web development.It includes HTML
and CSS based design templates for typography, forms, buttons, tables, navigation, modals,
image carousels and many other, as well as optional JavaScript plugins.Bootstrap also gives you
the ability to easily create responsive designs.
Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter, and released as an open
source product in August 2011 on GitHub.
Easy to use: Anybody with just basic knowledge of HTML and CSS can start using Bootstrap
Responsive features: Bootstrap's responsive CSS adjusts to phones, tablets, and desktops
Mobile-first approach: In Bootstrap 3, mobile-first styles are part of the core framework
Browser compatibility: Bootstrap is compatible with all modern browsers (Chrome, Firefox,
Internet Explorer, Edge, Safari, and Opera)
CSS is used to define styles for your web pages, including the design, layout and variations in display
for different devices and screen sizes.
CSS saves time − You can write CSS once and then reuse same sheet in multiple HTML pages.
You can define a style for each HTML element and apply it to as many Web pages as you want.
Pages load faster − If you are using CSS, you do not need to write HTML tag attributes every
time. Just write one CSS rule of a tag and apply it to all the occurrences of that tag. So less code
means faster download times.
Easy maintenance − To make a global change, simply change the style, and all elements in all
the web pages will be updated automatically.
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.
Multiple Device Compatibility − Style sheets allow content to be optimized for more than one
type of device. By using the same HTML document, different versions of a website can be
presented for handheld devices such as PDAs and cell phones or for printing.
Global web standards − Now HTML attributes are being deprecated and it is being recommended
to use CSS. So its a good idea to start using CSS in all the HTML pages to make them
compatible to future browsers.
5.4 Introduction to Java Script
JavaScript is a dynamic computer programming language. It is lightweight and most commonly
used as a part of web pages, whose implementations allow client-side script to interact with
the user and make dynamic pages. It is an interpreted programming language with object-
oriented capabilities.
The JavaScript code is executed when the user submits the form, and only if all the entries are
valid, they would be submitted to the Web Server.
Less server interaction − You can validate user input before sending the page off to the server.
This saves server traffic, which means less load on your server.
Immediate feedback to the visitors − They don't have to wait for a page reload to see if they
have forgotten to enter something.
Increased interactivity − You can create interfaces that react when the user hovers over them
with a mouse or activates them via the keyboard.
Richer interfaces − You can use JavaScript to include such items as drag-and-drop components
and sliders to give a Rich Interface to your site visitors.
An E-R diagram can express the overall logical structure of a database graphically. The relative
simplicity and pictorial clarity of this diagramming technique may well account in the large part for
the wide spread use of the E-R model. Such a diagram consists of the following major components:
Rectangles : Which represent entity sets.
Ellipse : Which represents attributes.
Diamond : Which represent relationship sets.
Lines : Which link attributes to entity sets to relationships sets.
System Flow Chart
Start
Is
Registered No
Registration
user
Yes
Login
Is
No Valid
User
Yes
No No No
Admi Blood Donor
n bank
Yes Yes Yes View profile
Manage View request View profile
bloodDetails Add new blood
bank Patient Request
Make new Blood
for blood
Manage donor Donation
Manage request
Manage
Manage donor
city/location Manage
patient
blood
request
A B D
C
A B C D
Logout
End
User User
id password
Admin
1 1
1
manage manage
Send
View M D_
name
Request M
Donor
M M
D_id
has
has
Use case Diagram
Admin
: Blood Bank Management System
Registration
Login
Manage Donor
Manage request
Manage City/Location
View Request
Manage Camps
Donor:
Registration
Login
View Profile
Registration
Login
View Profile
Home.py(Diag-1)
Home.py(Diag-2)
Login.py(Diag-3)
Signup.py(Diag-4)
Welcome-
Change Password(Diag-5)
Update Profile
Blood Donate
View Donation
View Request
Send Request for Blood
View Request
Doanr registration
Database-1
Database-2
Database-3
Database-4
8. Testing
9.1 Home.html
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
<img src="{% static 'images/blood.png'%} " style="height:200; width:200; margin-top:-25px;">
<div class="navbar-header">
</a>
</div>
<ul class="nav navbar-nav nav-left" >
<li><a href="">Home</a></li>
<li><a href="/donar2/">Donar</a></li>
</ul>
<li><a href="#">Camp</a></li>
</ul>
</div>
</div>
</nav>
<div class="row">
<div class="col-lg-12">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<div class="item">
<img src="{% static 'images/checkup.jpg' %}" style="width:100%;">
</div>
<div class="item">
<img src="{% static 'images/donor1.jpg' %}" style="width:100%;">
</div>
<div class="item">
<img src="{% static 'images/juice.jpg' %}" style="width:100%;">
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="hovereffect1">
<img class="img-responsive" src="{% static 'images/loginpic3.jpeg' %}">
<div class="overlay1">
<h2>WELCOME TO DONOR FAMILY</h2>
<a class="info" href="/login/">LOGIN NOW</a>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="hovereffect">
<img class="img-responsive" src="{% static 'images/grid1.jpeg' %}" alt="">
<div class="overlay">
<h2>RED DROP BUDDIES</h2>
<a class="info" href="#">CAMP</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="hovereffect11">
<img class="img-responsive" src="{% static 'images/grid2.jpeg' %}" alt="">
<div class="overlay11">
<h2>RED DROP BUDDIES</h2>
<a class="info" href="#">CAMP</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="hovereffect12">
<img class="img-responsive" src="{% static 'images/grid3.jpeg' %}" alt="">
<div class="overlay12">
<h2>RED DROP BUDDIES</h2>
<a class="info" href="#">CAMP</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="hovereffect13">
<img class="img-responsive" src="{% static 'images/grid4.jpeg' %}" alt="">
<div class="overlay13">
<h2>RED DROP BUDDIES</h2>
<a class="info" href="#">CAMP</a>
</div>
</div>
</div>
</div>
<div class="col-md-8 footer"><img src="{% static 'images/BLOOD.png' %}" class="img-responsive"
height="400" width="400">
<div class="col-md-8 col-md-4">
<a href="#" class="fa fa-facebook"></a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-linkedin"></a>
<a href="#" class="fa fa-youtube"></a>
<a href="#" class="fa fa-instagram"></a>
<h3>+917404527688 <span class="glyphicon glyphicon-earphone"></span></h3>
<h3>funkbeat5@gmail.com <span class="glyphicon glyphicon-envelope"></span></h3>
</div>
</div>
</div>
</body>
</html>
CSS
.navbar{
width:100%;
height:90px;
top:0;
z-index:1;
position:absolute;
opacity:0.7;
background-color: white;
}
.navbar-header a{
color:pink;
font-family:arial black;
font-size:50px;
}
.nav.navbar-nav li a{
font-family: arial black;
color: black;
font-size: 20px;
margin-top: 15px;
}
.navbar-nav {
font-family:Arial;
font-size:50px;
}
.nav.navbar-nav {
float:right;
padding-left: 10px;
margin-left: 90px;
margin-right: 0px;
}
}
.carousel-slide{
top:0;
z-index:1;
position:absolute;
height:100px;
}
.carousel-inner
{
height: 800px;
}
.item img {
height: 100%;
.hovereffect1 {
width:1500px;
height:300px;
float:left;
overflow:hidden;
position:relative;
text-align:center;
cursor:default;
margin-top:20px;
}
.hovereffect1 .overlay1 {
width:1500px;
height:400px;
position:absolute;
overflow:hidden;
top:0;
left:0;
opacity:0;
background-color:rgba(0,0,0,0.5);
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out
}
.hovereffect1 img {
display:block;
position:relative;
-webkit-transition:all .4s linear;
transition:all .4s linear;
opacity: 0.7;
}
.hovereffect1 h2 {
text-transform:uppercase;
color:#fff;
text-align:center;
position:relative;
font-size:30px;
background:rgba(0,0,0,0.6);
-webkit-transform:translatey(-100px);
-ms-transform:translatey(-100px);
transform:translatey(-100px);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
padding:10px;
}
.hovereffect1 a.info {
text-decoration:none;
display:inline-block;
text-transform:uppercase;
color:#fff;
border:1px solid #fff;
background-color:transparent;
opacity:0;
filter:alpha(opacity=0);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
margin:50px 0 0;
padding:7px 14px;
}
.hovereffect1 a.info:hover {
box-shadow:0 0 5px #fff;
}
.hovereffect1:hover img {
-ms-transform:scale(1.2);
-webkit-transform:scale(1.2);
transform:scale(1.2);
}
.hovereffect1:hover .overlay1 {
opacity:1;
filter:alpha(opacity=100);
}
.hovereffect1:hover a.info {
-webkit-transition-delay:.2s;
transition-delay:.2s;
}
.btn
{
margin-left:600px;
margin-top: 120px;
}
.hovereffect {
width: 400px;
height: 208px;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
.hovereffect .overlay {
width: 400px;
height: 208px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
background-color: rgba(0,0,0,0.6);
opacity: 0;
filter: alpha(opacity=0);
-webkit-transform: translate(460px, -100px) rotate(180deg);
-ms-transform: translate(460px, -100px) rotate(180deg);
transform: translate(460px, -100px) rotate(180deg);
-webkit-transition: all 0.2s 0.4s ease-in-out;
transition: all 0.2s 0.4s ease-in-out;
}
.hovereffect img {
display: block;
position: relative;
-webkit-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
.hovereffect h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.6);
}
.hovereffect a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
text-transform: uppercase;
color: #fff;
border: 1px solid #fff;
margin: 50px 0 0 0;
background-color: transparent;
-webkit-transform: translateY(-200px);
-ms-transform: translateY(-200px);
transform: translateY(-200px);
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.hovereffect a.info:hover {
box-shadow: 0 0 5px #fff;
}
.hovereffect:hover .overlay {
opacity: 1;
filter: alpha(opacity=100);
-webkit-transition-delay: 0s;
transition-delay: 0s;
-webkit-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.hovereffect:hover h2 {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
}
.hovereffect:hover a.info {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.hovereffect11 {
width: 400px;
height: 208px;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
.hovereffect11 .overlay11 {
width: 400px;
height: 208px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
background-color: rgba(0,0,0,0.6);
opacity: 0;
filter: alpha(opacity=0);
-webkit-transform: translate(460px, -100px) rotate(180deg);
-ms-transform: translate(460px, -100px) rotate(180deg);
transform: translate(460px, -100px) rotate(180deg);
-webkit-transition: all 0.2s 0.4s ease-in-out;
transition: all 0.2s 0.4s ease-in-out;
}
.hovereffect11 img {
display: block;
position: relative;
-webkit-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
.hovereffect11 h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.6);
}
.hovereffect11 a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
text-transform: uppercase;
color: #fff;
border: 1px solid #fff;
margin: 50px 0 0 0;
background-color: transparent;
-webkit-transform: translateY(-200px);
-ms-transform: translateY(-200px);
transform: translateY(-200px);
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.hovereffect11 a.info:hover {
box-shadow: 0 0 5px #fff;
}
.hovereffect11:hover .overlay11 {
opacity: 1;
filter: alpha(opacity=100);
-webkit-transition-delay: 0s;
transition-delay: 0s;
-webkit-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.hovereffect11:hover h2 {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
}
.hovereffect11:hover a.info {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.hovereffect12 {
width: 400px;
height: 208px;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
.hovereffect12 .overlay12 {
width: 400px;
height: 208px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
background-color: rgba(0,0,0,0.6);
opacity: 0;
filter: alpha(opacity=0);
-webkit-transform: translate(460px, -100px) rotate(180deg);
-ms-transform: translate(460px, -100px) rotate(180deg);
transform: translate(460px, -100px) rotate(180deg);
-webkit-transition: all 0.2s 0.4s ease-in-out;
transition: all 0.2s 0.4s ease-in-out;
}
.hovereffect12 img {
display: block;
position: relative;
-webkit-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
.hovereffect12 h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.6);
}
.hovereffect12 a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
text-transform: uppercase;
color: #fff;
border: 1px solid #fff;
margin: 50px 0 0 0;
background-color: transparent;
-webkit-transform: translateY(-200px);
-ms-transform: translateY(-200px);
transform: translateY(-200px);
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.hovereffect12 a.info:hover {
box-shadow: 0 0 5px #fff;
}
.hovereffect12:hover .overlay12 {
opacity: 1;
filter: alpha(opacity=100);
-webkit-transition-delay: 0s;
transition-delay: 0s;
-webkit-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.hovereffect12:hover h2 {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
}
.hovereffect12:hover a.info {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.hovereffect13 {
width: 400px;
height: 208px;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
LOGIN.HTML
{% load staticfiles %}
<html>
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
.bg{
background: url("{% static 'images/loginpic4.jpeg' %}") no-repeat;
width:100%;
height: 100%;
}
</style>
</head>
<body>
<div class="container-fluid bg">
<div class="row">
<div class="col-md-4 col-xs-4 col-xx-12"></div>
<div class="col-md-4 col-xs-4 col-xx-12">
<form action = "/login_data/" method = "post" id="log" >{% csrf_token %}
<h1>LOGIN FORM</h1>
<img class="img img-circle img-responsive" src="{% static 'images/logo2.gif'
%}">
<div class="form-group">
<label>Email</label>
<input type="email" name = "mail" class="form-control"
placeholder="Email">
</div>
<div class="form-group">
<label>Password</label>
<input type="password" name = "pass" class="form-control"
placeholder="Password">
</div>
<div class="checkbox">
<label><input type="checkbox">Remember me</label>
</div>
<button type="submit" class="btn btn-primary btn-
block">Login</button><br>
<p style="margin: 0px 0px 0px 187px;">Not a Member?<a
href="/signup/">Signup</a></p>
</form>
</div>
<div class="col-md-4 col-xs-4 col-xx-12"></div>
</div>
</div>
</body>
</html>
css
#log{
border: 2px solid white;
padding: 60px 40px;
margin-top: 80px;
}
.img{
width:150px;
margin: auto;
}
h1
{
color:black;
text-align: center;
font-weight: bolder;
margin-top: -20px;
}
label{
font-size: 20px;
}
SIGNUP.HTML
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap-responsive.css">
<link href="{% static 'css/signup.css' %}" rel="stylesheet">
<style>
body{
background: url("{% static 'images/laptop.jpg' %}") no-repeat;
width:100%;
height: 100%;
}
</style>
<title>SIGNUP PAGE</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="row" style="margin-left: 12px; box-shadow: -1px 1px 50px 10px;">
<div class="col-md-6">
<form id="myform" action="/signup_data/" method="post">{% csrf_token %}
<h1 style="font-family: new time roman;font-weight:
20px;color:black;">SIGNUP</h1>
<div class="form-group">
<label class="label control-label"
style="weight:80px;"><b>UserName</b></label>
<input type="text" class="form-control" name="user"
placeholder="Username">
<label class="label control-label"><b>Email</b></label>
<input type="text" class="form-control" name="email" placeholder="Email">
<label class="label control-label"><b>Password</b></label>
<input type="text" class="form-control" name="pass"
placeholder="Password">
<label class="label control-label"><b>Contact</b></label>
<input type="text" class="form-control" name="contact"
placeholder="Contact">
<button type="submit" class="btn btn-info btn-sm ">SIGNUP</button>
</form>
</div>
<div class="col-md-6">
</div>
</div>
</div>
</div>
<div class="col-md-2"></div>
</div>
</div>
</body>
</html>
CSS
body{
background:url("images/laptop.jpg") no-repeat;
background-attachment: fixed;
background-size: cover;
}
.col-md-6{
font-size: 30px;
font-family:new time roman;
}
.col-md-6:hover{
text-decoration: none;
color:red;
}
.label{
font-family:Edwardian Script ITC;
font-size: 30px;
color: black;
font-weight: 60px;
}
.form-control{
background :transparent;
border-radius: 0px;
border:0px;
border-bottom:2px solid #ffb6c1;
margin-bottom:30px;
height: 10px;
color:black;
padding:20px;
margin-right: 300px;
}
.btn-info{
background: transparent;
border:2px solid #ffb6c1;
width: 30px
font-size:40px;
}
.col-md-8{
margin-top: 55px;
border:3px solid white;
opacity: 0.8;
margin-left:300px;
background:transparent;
margin-bottom: 50px;
height: 70px;
padding-left: 20px;
}
img{
width: 450px;
height: 477px;
}
Welcome
{% load staticfiles %}
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<img src="{% static 'images/blood.png' %}" style="height:200; width:200; margin-top:-25px;">
<div class="navbar-header">
</a>
</div>
</ul>
</div>
</div>
</nav>
<div class="row">
<div class="welcome-section">
<img src="{% static 'images/wall2.jpg' %}" class="img-responsive">
<div class="text"><h1><b> WELCOME TO DONOR </b></h1></div>
</div>
</div>
</body>
</html>
CSS
.navbar{
width:100%;
height:100px;
top:0;
z-index:1;
position:absolute;
opacity:0.7;
background-color: white;
}
.nav.navbar-nav li a{
font-family: arial black;
color: black;
font-size: 15px;
margin-top: 15px;
}
.welcome-section {
height: 1080px;
background-color: silver;
}
.text h1
{
color:white;
font-size: 50px;
font-family: arial black;
font-weight: 600px;
text-align: center;
position: absolute;
left:450px;
bottom: 50px;
margin-top: 0px;
}
.hovereffect {
width: 400px;
height: 208px;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
.hovereffect .overlay {
width: 400px;
height: 208px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
background-color: rgba(0,0,0,0.6);
opacity: 0;
filter: alpha(opacity=0);
-webkit-transform: translate(460px, -100px) rotate(180deg);
-ms-transform: translate(460px, -100px) rotate(180deg);
transform: translate(460px, -100px) rotate(180deg);
-webkit-transition: all 0.2s 0.4s ease-in-out;
transition: all 0.2s 0.4s ease-in-out;
}
.hovereffect img {
display: block;
position: relative;
-webkit-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
.hovereffect h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.6);
}
.hovereffect a.info {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
text-transform: uppercase;
color: #fff;
border: 1px solid #fff;
margin: 50px 0 0 0;
background-color: transparent;
-webkit-transform: translateY(-200px);
-ms-transform: translateY(-200px);
transform: translateY(-200px);
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.hovereffect a.info:hover {
box-shadow: 0 0 5px #fff;
}
.hovereffect:hover .overlay {
opacity: 1;
filter: alpha(opacity=100);
-webkit-transition-delay: 0s;
transition-delay: 0s;
-webkit-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.hovereffect:hover h2 {
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
}
Change password
{% load staticfiles %}
<html>
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
.bg{
background: url("{% static 'images/loginpic4.jpeg' %}") no-repeat;
width:100%;
height: 100%;
}
</style>
</head>
<body>
<div class="container-fluid bg">
<div class="row">
<div class="col-md-4 col-xs-4 col-xx-12"></div>
<div class="col-md-4 col-xs-4 col-xx-12">
<form id="pass" action="/passdata/" method="post">{% csrf_token %}
<h2>CHANGE PASSWORD</h2>
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control" id = "username" name="mail"
placeholder="Email">
</div>
<div class="form-group">
<label>Password</label>
<input type="password" class="form-control" name="pass" id
="password" placeholder="Password">
</div>
<div class="form-group">
<label>Confirm Password</label>
<input type="password" class="form-control" name="confirm" placeholder=" Confirm
Password">
</div>
<button type="submit" id ="submit" class="btn btn-success btn-
block">Submit</button><br>
</form>
</div>
<div class="col-md-4 col-xs-4 col-xx-12"></div>
</div>
</div>
</body>
</html>
CSS
#pass{
border: 2px solid white;
padding: 60px 40px;
margin-top: 80px;
}
.img{
width:150px;
margin: auto;
opacity: 0.6;
}
h2
{
color:black;
text-align: center;
font-weight: bolder;
margin-top: -30px;
}
label{
font-size: 20px;
Update profile
{% load staticfiles %}
<html>
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome-
/4.7.0/css/font-awesome.min.css" type="text/css"> -->
<link rel="stylesheet" href="{% static 'css/update.css' %}" type="text/css">
<style>
.bg{
background: url("{% static 'images/loginpic4.jpeg' %}") no-repeat;
width:100%;
height: 100%;
}
</style>
</head>
<body>
<div class="container-fluid bg">
<div class="row">
<div class="col-md-4 col-xs-4 col-xx-12"></div>
<div class="col-md-4 col-xs-4 col-xx-12">
<form id="update" action="/updprof/" method="post" >{% csrf_token %}
<h2>UPDATE PROFILE</h2>
<div class="form-group">
<label>Name</label>
<input type="Name" class="form-control" name="nam" id = "username"
placeholder="name">
</div>
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control" name="mail" id ="email"
placeholder="Email">
</div>
<div class="form-group">
<label>Contact no.</label>
<input type="contact" class="form-control" name="contact" placeholder=" Contact">
<div class="form-group">
<label>Address</label>
<input type="address" class="form-control" name="addres" id ="address"
placeholder="Address">
</div>
</div>
<button type="submit" id ="submit" class="btn btn-success btn-
block">Submit</button><br>
</form>
</div>
<div class="col-md-4 col-xs-4 col-xx-12"></div>
</div>
</div>
</body>
</html>
Blood donate
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap-responsive.css">
<link href="project.css" rel="stylesheet" />
</head>
<style>
body {
}
body img{
opacity: 0.3;
}
.h1{
font-size: 40px;
color:grey;
margin-top: 20px;
margin-bottom: 30px;
}
.label{
font-size: 20px;
color:red;
margin-top:15px;
font-weight: normal;
margin-left: 20px;
}
.col-md-6{
background: rgba(0,0,0,0);
height: 680px;
box-shadow: -1px 1px 20px 10px black inset;
color: white;
margin-top: -700px;
margin-right: 200px;
}
.form-control{
background:rgba(255,255,255,0.1);
border-radius: 0px;
border-bottom:2px solid red;
font-size:21px;
color:black;
position: relative;
top: -55px;
margin-left: 130px;
}
.btn-info{
margin-top: 20px;
margin-bottom: 15px;
width: 180px;
font-size: 19px;
border-radius: 1000px;
}
.btn{
background-color: black;
}
</style>
<body>
<img src="laptop3.jpg" style="height: 780px; width: 100%; background-size:cover;opacity:1;">
<div class="container">
<div class="row"></div>
<div class="col-md-3"></div>
<div class="col-md-6">
<h1 class="text-center" style="font-family:Edwardian Script ITC; color: red; font-weight:
70px; font-size: 85px;">Blood Donate</h1>
<label class="label col-md-3 control-label">CAMP NAME</label>
<div class="col-md-9">
<input type="name" class="form-control" name="Name" placeholder="Camp
name"></label>
</div>
<div class="col-md-3"></div>
</div>
</body>
</html>
Donar
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<title>donar page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<style>
body{
background-image:url("{% static 'images/drop.jpg' %}");
background-attachment: fixed;
background-size: cover;
font-size: new time roman;
}
.h1{
font-size: 40px;
color:grey;
margin-top: 20px;
margin-bottom: 30px;
}
.label{
font-size: 20px;
color:red;
margin-top:15px;
font-weight: normal;
}
.col-md-6{
background: rgba(0,0,0,0);
height: 680px;
box-shadow: -1px 1px 20px 10px black inset;
color: white;
margin-top: 80px;
margin-right: 200px;
}
.form-control{
background:rgba(255,255,255,0.2);
border-radius: 0px;
border-bottom:2px solid white;
font-size:21px;
color:white;
margin-top: 20px;
}
.btn-info{
margin-top: 20px;
margin-bottom: 15px;
width: 180px;
font-size: 19px;
border-radius: 1000px;
}
.btn{
background-color: black;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-3">
</div>
<div class="form">
<div class="col-md-6">
<form id="myform" action="/donarr/" method="POST">{% csrf_token %}
<div class="col-md-3"></div>
</div>
</div>
</body>
</html>
10. Testing
Testing is the major quality measure employed during the software engineering development. Its basic
function is to detect error in the software. Testing is necessary for the proper functioning of the
system. Testing has to be done at four levels.
Unit Testing
Unit testing focuses verification effort on the smallest unit of the software, design the
module. Here, using the detail design as a guide ,important control paths are tested to uncover errors
within the boundary of the module. Unit testing is always white-box oriented, and the step can be
conducted in parallel for multiple modules.
Integration Testing
Integration testing is a systematic technique for constructing the program structure while
at the same time conducting tests to uncover errors, associated with interfacing .The objective is to
take the unit tested modules and build program structure that has been directed by the design.
Validation Testing
Validation testing demonstrates the traces the requirements of the software .This can be
achieved through a series of black box tests.
System Testing
System testing is actually a series of different tests whose primary purpose is to fully
exercise the computer-based system. Although each test has a different purpose, all works should
verify that all system elements have been properly integrated and perform allocated functions. The
various tests include recovery testing, stress testing , perform testing.
Corrective maintenance
This acts to correct errors that are uncovered after the software is in use.
Adaptive Maintenance
This is applied when changes is the external environment precipitate modifications to
software.
Preventive maintenance
This improves future maintainability and reliability and provides basis for future
enhancements.
12. Future Scope
In Future,we can also linked this through internet,so that the other hospitals ,and other organizations
can also use this data.We can intended to draw graph and print monthly statistical analysis details
and to take backup database in another computer.We can add more modules in our website. And also
some user verification steps for the security purpose and user can get notifications into their
registered mobile number. Another future enhancement is that we can make are website for all over
the world.
13. CONCLUSION
Blood is a precious gift given by a blood donar.There are many people working behind the
scenes to get you the right blood at right time. The main aim of developing this system
is to provide blood to the people who are in need of blood. The number of persons who
are in need of blood are increasing in large number day by day. Using this system
user can search blood group available in the city and he can also get contact number
of the donor who has the same blood group he needs. In order to help people who are
in need of blood, this Online Red Blood Buddies system can be used effectively for
getting the details of available blood groups and user can also get contact number of
the blood donors having the same blood group and within the same city. So if the
blood group is not available in the blood bank user can request the donor to donate
the blood to him and save someone life. Using this system people can register himself
or herself who want to donate blood. To register in the system they have to enter their
contact information like address mobile number etc.
14. Bibliography
https://www.tutorialspoint.com/python/
https://www.w3schools.com/python/
https://realpython.com/tutorials/django/
https://tutorial.djangogirls.org/en/
• www.codeproject.com