Working on 404 page

This commit is contained in:
Yohan Boniface 2014-04-20 12:11:47 +02:00
parent fdc28c9f28
commit 2083f1d93c
2 changed files with 33 additions and 1 deletions

View file

@ -517,6 +517,31 @@ a {
} }
/* **************************** */
/* 404 */
/* **************************** */
.content404 {
width: 400px;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
text-align: center;
}
.content404 a {
color: #3A4259;
}
.content404 h1 {
font-size: 10em;
margin-bottom: 0;
line-height: 0.5em;
margin-top: 40px;
}
.content404 h2 {
font-size: 4em;
margin-top: 0;
}
/* **************************** */ /* **************************** */
/* Autocomplete */ /* Autocomplete */
/* **************************** */ /* **************************** */

View file

@ -1,5 +1,12 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n static %}
{% block content %} {% block content %}
Not Found <div class="content404">
<a href="/" title="{% trans 'Take me to the home page' %}">
<h1>4<img src="{% static 'umap/img/logo.svg' %}">4</h1>
<h2>Not Found</h2>
</a>
</div>
{% endblock %} {% endblock %}