-
Notifications
You must be signed in to change notification settings - Fork 0
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
[esekyi]
committed
Sep 13, 2024
1 parent
887bb1d
commit 2ab2466
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
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,57 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Error {{ error_code }}</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
margin: 0; | ||
} | ||
|
||
.container { | ||
background-color: white; | ||
padding: 40px; | ||
text-align: center; | ||
border-radius: 10px; | ||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.message { | ||
font-size: 24px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.error-code { | ||
font-size: 40px; | ||
color: #FF5722; | ||
} | ||
|
||
.button { | ||
background-color: #FF5722; | ||
color: white; | ||
padding: 10px 20px; | ||
text-decoration: none; | ||
border-radius: 5px; | ||
display: inline-block; | ||
margin-top: 20px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<div class="error-code">{{ error_code }} Error</div> | ||
<div class="message">{{ error_message }}</div> | ||
<a class="button" href="{{ url_for('recipe_routes.list_recipes') }}">Return to Home</a> | ||
</div> | ||
</body> | ||
|
||
</html> |