init app
This commit is contained in:
24
cmd/http/views/error.hbs
Normal file
24
cmd/http/views/error.hbs
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Error</title>
|
||||
{{> styles}}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="form-container" style="text-align: center;">
|
||||
<h2>Error</h2>
|
||||
<p style="color: #D32F2F; font-size: 18px;">Unexpected error: {{message}}</p>
|
||||
<a href="/"
|
||||
style="display: inline-block; margin-top: 20px; padding: 10px 20px; background-color: #4CAF50; color: white; text-decoration: none; border-radius: 4px;">Go
|
||||
Back</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user