Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaybalamahalingam authored Jul 31, 2023
1 parent 5b0abe0 commit a274021
Showing 1 changed file with 47 additions and 1 deletion.
48 changes: 47 additions & 1 deletion server/djangoapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,53 @@

# Create a `logout_request` view to handle sign out request
# def logout_request(request):
# ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Logout - Car Dealership</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-image: url('https://images.unsplash.com/photo-1485291571150-772bcfc10da5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=928&q=80'); /* Replace with the actual image filename */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.container {
max-width: 400px;
margin: 100px auto;
padding: 20px;
text-align: center;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
margin-bottom: 20px;
}
p {
margin-bottom: 30px;
}
a {
color: #333;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<h2>Logout</h2>
<p>Are you sure you want to log out?</p>
<a href="login.html">Logout</a>
</div>
</body>
</html>


# Create a `registration_request` view to handle sign up request
# def registration_request(request):
Expand Down

0 comments on commit a274021

Please sign in to comment.