tasiapi commited on
Commit
cb1a3db
·
verified ·
1 Parent(s): b065f42

Create templates/error.html

Browse files
Files changed (1) hide show
  1. templates/templates/error.html +43 -0
templates/templates/error.html ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- templates/error.html -->
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <title>Access Denied</title>
7
+ <style>
8
+ body {
9
+ background-color: black;
10
+ color: #00FF00;
11
+ font-family: monospace;
12
+ padding: 2em;
13
+ }
14
+ .terminal {
15
+ border: 1px solid #00FF00;
16
+ padding: 1em;
17
+ margin-bottom: 1em;
18
+ }
19
+ a.button {
20
+ color: #00FF00;
21
+ text-decoration: none;
22
+ border: 1px solid #00FF00;
23
+ padding: 0.5em 1em;
24
+ display: inline-block;
25
+ margin-top: 1em;
26
+ }
27
+ a.button:hover {
28
+ background-color: #00FF00;
29
+ color: black;
30
+ }
31
+ </style>
32
+ </head>
33
+ <body>
34
+ <div class="terminal">
35
+ <pre>
36
+ A STRANGE GAME.
37
+ THE ONLY WINNING MOVE IS NOT TO FAIL.
38
+ ERROR: {{ error_message }}
39
+ </pre>
40
+ </div>
41
+ <a href="{{ return_url }}" class="button">Return to Safety</a>
42
+ </body>
43
+ </html>