To create a UX design and develop a web application for event registration.
Requirement collection.
Choosing the suitable color scheme
Creating artboards for individual pages
Designing layout for individual pages
Creating links and linking it with artboards
Preview the prototype.
Creating the layout using HTML and CSS.
Updating the sample content.
Choose the appropriate style and color scheme.
Validate the layout in various browsers.
Validate the HTML code.
Create a database model and migrate the database.
Retrieve data from database and display it in a dynamic webpage.
Publish the website in the given URL.
<!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://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Event Management</title>
</head>
<body style="background-color: rgb(4, 19, 53);" class="text-center">
<div class="jumbotron jumbotron-fluid text-center" style="background-color: rgb(4, 19, 53);">
<img src="/static/img/sid.png" class="col-lg-12" alt="banner">
<div class="card bg-dark text-white">
<img class="card-img" src="/static/img/f.jpg" alt="Card image" style="height: 18rem;">
<div class="card-img-overlay">
<h5 class=" card-text display-4 font-weight-bold">Worshop on IOT</h5>
<p class="card-text font-weight-bold">LIGHT UP THE IOT</p>
</div>
</div>
</div>
</div>
<div class="container" style="background-color: rgb(8, 8, 56);">
<div class="row">
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/ol.jpg" alt="Card image" style="height: max-content;">
<div class="card-img-overlay text-center">
<h5 class=" card-text display-4 font-weight-bold">One day workshop on Internet of Things</h5>
<img src="/static/img/1.png" class="rounded float-left" alt="...">
<img src="/static/img/2.png" class="rounded float-right" alt="...">
<p class="card-text"><p><strong>Program Structure:</strong></p>
<p><strong>Session: 1 Internet of Things & Its Applications</strong></p>
<ul>
<li>Introduction to Internet of Things (IoT)</li>
<li>Applications of IoT in various business sectors</li>
<li>IoT Architecture</li>
<li>How to build an IoT product</li>
<li>Sensors & Interfacing</li>
<li>Software & Hardware platforms for IoT implementation</li>
<li>Communication Technologies & Protocols</li>
<li>IoT Cloud Platforms, Data Analytics & Visulazation</li>
<li>Industrial Internet of Things</li>
</ul>
<p><strong>Session 2. Demonstration of various prototypes and usecases.</strong></p>
<ul>
<li>Smart Transportation System</li>
<li>Intelligent Drip Irrigation System</li>
<li>Intelligent Water Leakage System</li>
<li>Intelligent Water Management System</li>
<li>Smart Poultry Management System</li>
<li>Smart Kitchen </li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="text-center">
<img src="/static/img/ar.png" class="rounded" alt="..." style="width: 9rem; height: 5rem;">
</div>
<div class="text-center">
<a class="btn btn-info btn-lg text center" href="/register/" role="button">Register</a>
</div>
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/r.png" alt="Card image" style="height: max-content; ;">
<div class="card-img-overlay text-right">
<p><strong>Any Queries?: Please contact</strong></p>
<p>Sathya : 9876787656</p>
<p>Kavi : 9657456987</p>
<p>Write to us : [email protected]</p>
</div>
</div>
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/r.png" alt="Card image" style="width: 1rem;">
<div class="card-img-overlay text-center" >
<p><strong>Designed by Gowri</strong></p>
</div>
</div>
<!-- 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://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
<!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://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Event Management</title>
</head>
<body style="background-color: rgb(4, 19, 53);">
<div class="jumbotron jumbotron-fluid text-center" style="background-color: rgb(4, 19, 53);">
<img src="/static/img/sid.png" class="col-lg-12" alt="banner">
<div class="card bg-dark text-white">
<img class="card-img" src="/static/img/f.jpg" alt="Card image" style="height: 18rem;">
<div class="card-img-overlay">
<h5 class=" card-text display-4 font-weight-bold">Worshop on IOT</h5>
<p class="card-text font-weight-bold">LIGHT UP THE IOT</p>
</div>
</div>
</div>
</div>
<div class="container" style="background-color: rgb(8, 8, 56);">
<div class="row">
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/ol.jpg" alt="Card image" style="height: max-content;">
<div class="card-img-overlay">
<h1>Application</h1>
<form action="/register/" method="POST">
{% csrf_token %}
<div class="form-group">
<label for="name">Name</label>
<input type="name" class="form-control" name="username" id="username" aria-describedby="emailHelp"
placeholder="Enter name">
</div>
<div class="form-group">
<label for="phone">Phone</label>
<input type="phone" class="form-control" name="phone" id="phone" placeholder="Enter phone number">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" name="email" id="email" aria-describedby="emailHelp"
placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone
else.</small>
</div>
<div class="form-group">
<label for="institutionname">Institution name</label>
<input type="institutionname" class="form-control" name="institution" id="institution"
placeholder="Enter institution name">
</div>
<div class="text-center">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/r.png" alt="Card image" style="width: 1rem;">
<div class="card-img-overlay text-center" >
<p><strong>Designed by Gowri</strong></p>
</div>
</div>
<!-- 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://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
</body>
</html>
<!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://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Event Management</title>
</head>
<body style="background-color: rgb(4, 19, 53);">
<div class="jumbotron jumbotron-fluid text-center" style="background-color: rgb(4, 19, 53);">
<img src="/static/img/sid.png" class="col-lg-12" alt="banner">
<div class="card bg-dark text-white">
<img class="card-img" src="/static/img/f.jpg" alt="Card image" style="height: 18rem;">
<div class="card-img-overlay">
<h5 class=" card-text display-4 font-weight-bold">Worshop on IOT</h5>
<p class="card-text font-weight-bold">LIGHT UP THE IOT</p>
</div>
</div>
</div>
<div class="container" style="background-color: rgb(8, 8, 56);">
<div class="row">
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/ol.jpg" alt="Card image" style="height: max-content;">
<div class="card-img-overlay text-center">
<div class="alert alert-success" role="alert">
<h4 class="alert-heading">Congrats!</h4>
<p>Your request has been accepted!!!</p>
</div>
<img src="/static/img/c.png" class="rounded float-center" alt="...">
</div>
</div>
</div>
</div>
<div class="col-12 text-center">
<a class="btn btn-info btn-lg" href="/home/" role="button">Home</a>
</div>
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/r.png" alt="Card image" style="width: 1rem;">
<div class="card-img-overlay text-center" >
<p><strong>Designed by Gowri</strong></p>
</div>
</div>
</div>
<!-- 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://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
<!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://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Event Management</title>
</head>
<body style="background-color: rgb(4, 19, 53);">
<div class="jumbotron jumbotron-fluid text-center" style="background-color: rgb(4, 19, 53);">
<img src="/static/img/sid.png" class="col-lg-12" alt="banner">
<div class="card bg-dark text-white">
<img class="card-img" src="/static/img/f.jpg" alt="Card image" style="height: 18rem;">
<div class="card-img-overlay">
<h5 class=" card-text display-4 font-weight-bold">Worshop on IOT</h5>
<p class="card-text font-weight-bold">LIGHT UP THE IOT</p>
</div>
</div>
</div>
</div>
<div class="container" style="background-color: rgb(8, 8, 56);">
<div class="row">
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/ol.jpg" alt="Card image" style="height: max-content;">
<div class="card-img-overlay text-center">
<div class="alert alert-danger" role="alert">
<h4 class="alert-heading">Sorry</h4>
<p>All the seats are full...</p>
</div>
<img src="/static/img/ooo.png" class="rounded float-center" alt="...">
</div>
</div>
</div>
</div>
<div class="col-12 text-center">
<a class="btn btn-info btn-lg" href="/home/" role="button">Home</a>
</div>
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/r.png" alt="Card image" style="width: 1rem;">
<div class="card-img-overlay text-center" >
<p><strong>Designed by Gowri</strong></p>
</div>
</div>
</div>
<!-- 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://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
<!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://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Event Management</title>
</head>
<body style="background-color: rgb(4, 19, 53);">
<div class="jumbotron jumbotron-fluid text-center" style="background-color: rgb(4, 19, 53);">
<img src="/static/img/sid.png" class="col-lg-12" alt="banner">
<div class="card bg-dark text-white">
<img class="card-img" src="/static/img/f.jpg" alt="Card image" style="height: 18rem;">
<div class="card-img-overlay">
<h5 class=" card-text display-4 font-weight-bold">Worshop on IOT</h5>
<p class="card-text font-weight-bold">LIGHT UP THE IOT</p>
</div>
</div>
</div>
<div class="container" style="background-color: rgb(8, 8, 56);">
<div class="row">
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/ol.jpg" alt="Card image" style="height: max-content;">
<div class="card-img-overlay text-center">
<h1>List of Participants</h1>
<div class="row">
<div class="col-12">
<table class="table">
<thead>
<tr>
<th scope="col">NAME</th>
<th scope="col">PHONE</th>
<th scope="col">EMAIL</th>
<th scope="col">INSTITUTION</th>
</tr>
</thead>
<tbody>
{% for p in participants %}
<tr>
<td>{{ p.username }}</td>
<td>{{ p.phone }}</td>
<td>{{ p.email }}</td>
<td>{{ p.institution }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 text-center">
<a class="btn btn-info btn-lg" href="/home/" role="button">Home</a>
</div>
<div class="card bg-dark text-white col-lg-12">
<img class="card-img" src="/static/img/r.png" alt="Card image" style="width: 1rem;">
<div class="card-img-overlay text-center" >
<p><strong>Designed by Gowri</strong></p>
</div>
</div>
<!-- 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://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
from django.shortcuts import render
from .models import Participant
# Create your views here.
def home(request):
context = {}
return render(request, 'event/home.html', context)
def register(request):
context = {}
if request.method == 'POST':
p1 = Participant()
p1.username = request.POST.get('username','_')
p1.phone = request.POST.get('phone','000')
p1.email = request.POST.get('email','_')
p1.institution = request.POST.get('institution','_')
if len(Participant.objects.all()) > 10:
return render(request, 'event/failed.html', context)
else:
p1.save()
return render(request, 'event/success.html', context)
if request.method =='GET':
context['username'] = ''
context['phone'] = ''
context['email'] = ''
context['institution'] = ''
return render(request, 'event/register.html', context)
def participants(request):
context = {}
context["participants"] = Participant.objects.all();
return render(request, 'event/participants.html', context)
def failed(request):
context = {}
return render(request, 'event/failed.html', context)
def success(request):
context = {}
return render(request, 'event/success.html', context)
Thus a UX design and develop a web application for event registration is created and is hosted in the URL http://gowri.student.saveetha.in:8000/home, http://gowri.student.saveetha.in:8000/participants. HTML code is validated.