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 5582 additions and 29 deletions

View File

@@ -11,35 +11,17 @@
<link href="/static/min/portico.css" rel="stylesheet"> <link href="/static/min/portico.css" rel="stylesheet">
</head> </head>
<body> <body id="error_page">
<div class="container"> <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="row-fluid">
<div class="span2"></div> <img src="../images/400art.svg" alt=""/>
<div class="span10"> <div class="errorbox">
<div class="title"> <div class="errorcontent">
<a class="title" href="/">Zulip</a> <h1 class="lead">Page not found (404)</h1>
<span class="for_you"> got a bit lost there.</span> <p>We can't find the page you're looking for.</p>
</div> </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> </div>
</div> </div>
</body> </body>

5576
static/images/400art.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 423 KiB

View File

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