frontend: Redesign 4xx page.

This commit is contained in:
Vaida Plankyte 2017-06-07 14:55:33 +01:00 committed by Tim Abbott
parent 780b77d84d
commit 1b12a9122f
3 changed files with 6 additions and 29 deletions

View File

@ -11,35 +11,17 @@
<link href="/static/min/portico.css" rel="stylesheet">
</head>
<body>
<body id="error_page">
<div class="container">
<div class="navbar">
<ul class="nav pull-right">
<li><a href="/accounts/login/?next=/">Log in</a></li>
</ul>
</div>
<div class="row-fluid">
<div class="span2"></div>
<div class="span10">
<div class="title">
<a class="title" href="/">Zulip</a>
<span class="for_you"> got a bit lost there.</span>
<img src="../images/400art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Page not found (404)</h1>
<p>We can't find the page you're looking for.</p>
</div>
<br/>
<p class="lead">404: Page not found.</p>
<br/>
<p>We know this is stressful, but we still love you.</p>
<!-- TODO: Make nginx 5xx error page customizable -->
<!-- This is tricky because it's not served by Django, -->
<!-- so we can't use variables -->
</div>
</div>
</div>
</body>

BIN
static/images/400art.svg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 KiB

View File

@ -162,11 +162,6 @@ body {
max-width: 100%;
}
.for_you {
font-size: 30px;
font-style: italic;
}
.help-box {
max-width: 500px;