Basic port of content for bedrock 404 page (Bug 738738)

This commit is contained in:
Steven Garrity 2012-03-27 16:16:49 -03:00
Родитель c55bbb2f75
Коммит 1b0dfc0b02
3 изменённых файлов: 31 добавлений и 2 удалений

16
media/css/404.less Normal file
Просмотреть файл

@ -0,0 +1,16 @@
@import "sandstone/variables.less";
@import "sandstone/mixins.less";
#main-feature {
.download-button-small {
position: absolute;
top: 0;
right: 48px;
}
p,
ul {
.span(5);
margin-left: 0;
clear: left;
}
}

Просмотреть файл

@ -139,6 +139,9 @@ MINIFY_BUNDLES = {
'css/landing/devices.less',
'css/firefox/template.less'
),
'404': (
'css/404.less'
),
},
'js': {
'site': (

Просмотреть файл

@ -1,8 +1,18 @@
{% extends "base.html" %}
{% block page_title_prefix %}{% endblock %}
{% block page_title %}404: Page Not Found{% endblock %}
{% block content %}
<div id="main-content">
<div id="main-feature">
{{ download_button('download', 'small') }}
<h1>Whoops!</h1>
We apologize, but this page cannot be found.
<p>Did you make a left at that last URL instead of a right? No problem. here are some tips to get you back on your way:</p>
<ul>
<li>If you typed in the address, check your spelling. Could just be a typo.</li>
<li>If you followed a link, its probably broken. Please <a href="{{ php_url('/about/contact/') }}">contact us</a> and well fix it.</li>
<li>If youre not sure what youre looking for, start at <a href="{{ url('mozorg.home') }}">mozilla.org</a>.
</li>
</ul>
</div>
{% endblock %}