diff options
author | tr4ck3ur <tr4ck3ur@style-python.fr> | 2015-02-14 03:35:21 +0100 |
---|---|---|
committer | tr4ck3ur <tr4ck3ur@style-python.fr> | 2015-02-14 03:35:21 +0100 |
commit | 114d2d92147f53a1ed1d0090feedb3fb0b50d064 (patch) | |
tree | d8b9c71567b5b0fcd84f6285c669fc754fbde26f /jm2l/templates/Errors/404.mak | |
parent | fa4a9859c57de6b7894ff4b84b75d242f2b796f5 (diff) | |
download | jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.tar.gz jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.tar.bz2 jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.tar.xz jm2l-114d2d92147f53a1ed1d0090feedb3fb0b50d064.zip |
harmonize file structure for third party plugins
Diffstat (limited to 'jm2l/templates/Errors/404.mak')
-rw-r--r-- | jm2l/templates/Errors/404.mak | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/jm2l/templates/Errors/404.mak b/jm2l/templates/Errors/404.mak new file mode 100644 index 0000000..6379cd4 --- /dev/null +++ b/jm2l/templates/Errors/404.mak @@ -0,0 +1,65 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Page Not Found</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <style> + + * { + line-height: 1.2; + margin: 0; + } + + html { + color: #888; + display: table; + font-family: sans-serif; + height: 100%; + text-align: center; + width: 100%; + } + + body { + display: table-cell; + vertical-align: middle; + margin: 2em auto; + } + + h1 { + color: #555; + font-size: 2em; + font-weight: 400; + } + + p { + margin: 0 auto; + width: 380px; + } + + @media only screen and (max-width: 280px) { + + body, p { + width: 95%; + } + + h1 { + font-size: 1.5em; + margin: 0 0 0.3em; + } + + } + + </style> +</head> +<body> + <img src="/img/error404.png" width="200px" /> + <h1>Page non trouvée</h1> + % if reason: + <p>${reason}</p> + % else: + <p>Sorry, but the page you were trying to view does not exist.</p> + % endif +</body> +</html> +<!-- IE needs 512+ bytes: http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx --> |