diff options
| author | Horus_Arch | 2015-02-18 17:03:41 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-18 17:03:41 +0100 |
| commit | cb5f3037bb18403433c2cfd0271f6bea76906aca (patch) | |
| tree | 448397529fdbd1660b12001918289e04aa1c7ea6 /app/views/errors | |
| parent | d6ab45e8ec5f26004b4efc07383245051d546bf3 (diff) | |
| download | statuspage-cb5f3037bb18403433c2cfd0271f6bea76906aca.tar.gz | |
Reimplementation with gorilla toolkit.
Diffstat (limited to 'app/views/errors')
| -rw-r--r-- | app/views/errors/404.html | 20 | ||||
| -rw-r--r-- | app/views/errors/500.html | 16 |
2 files changed, 0 insertions, 36 deletions
diff --git a/app/views/errors/404.html b/app/views/errors/404.html deleted file mode 100644 index ebdfe10..0000000 --- a/app/views/errors/404.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <title>Not found</title> - </head> - <body> -{{if eq .RunMode "dev"}} -{{template "errors/404-dev.html" .}} -{{else}} - {{with .Error}} - <h1> - {{.Title}} - </h1> - <p> - {{.Description}} - </p> - {{end}} -{{end}} - </body> -</html> diff --git a/app/views/errors/500.html b/app/views/errors/500.html deleted file mode 100644 index 0cef4de..0000000 --- a/app/views/errors/500.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <title>Application error</title> - </head> - <body> - {{if eq .RunMode "dev"}} - {{template "errors/500-dev.html" .}} - {{else}} - <h1>Oops, an error occured</h1> - <p> - This exception has been logged. - </p> - {{end}} - </body> -</html> |
