diff options
author | Jef van Schendel <jefvanschendel@gmail.com> | 2011-08-20 21:22:51 +0200 |
---|---|---|
committer | Jef van Schendel <jefvanschendel@gmail.com> | 2011-08-20 21:22:51 +0200 |
commit | 0161aa920da71c8507854a9cc4e3406afb737bce (patch) | |
tree | 3c25df4d96fe494f0fca927a6f13e0e37c11351e | |
parent | c9fe89a49920bae7307e8691c8ac1a578681b48f (diff) | |
download | mediagoblin-0161aa920da71c8507854a9cc4e3406afb737bce.tar.lz mediagoblin-0161aa920da71c8507854a9cc4e3406afb737bce.tar.xz mediagoblin-0161aa920da71c8507854a9cc4e3406afb737bce.zip |
Add 404 page and image
-rw-r--r-- | mediagoblin/static/images/404.png | bin | 0 -> 156189 bytes | |||
-rw-r--r-- | mediagoblin/templates/mediagoblin/404.html | 29 |
2 files changed, 29 insertions, 0 deletions
diff --git a/mediagoblin/static/images/404.png b/mediagoblin/static/images/404.png Binary files differnew file mode 100644 index 00000000..78d746ba --- /dev/null +++ b/mediagoblin/static/images/404.png diff --git a/mediagoblin/templates/mediagoblin/404.html b/mediagoblin/templates/mediagoblin/404.html new file mode 100644 index 00000000..7a86a386 --- /dev/null +++ b/mediagoblin/templates/mediagoblin/404.html @@ -0,0 +1,29 @@ +{# +# GNU MediaGoblin -- federated, autonomous media hosting +# Copyright (C) 2011 Free Software Foundation, Inc +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +#} +{% extends "mediagoblin/base.html" %} + +{% block mediagoblin_content %} + <h1>{% trans %}Oops!{% endtrans %}</h1> +<div class="grid_8 alpha"> + <p>There doesn't seem to be a page at this address. Sorry!</p> + <p>If you're sure the address is correct, maybe the page you're looking for has been moved or deleted.</p> +</div> +<div class="grid_8 omega"> + <img src="{{ request.staticdirect('/images/404.png') }}" /> +</div> +{% endblock %} |