Status codes for errors, New error pages

This commit is contained in:
Dmitriy Zaporozhets 2012-02-23 21:04:20 +02:00
parent 7d279f9302
commit 81092c0198
6 changed files with 71 additions and 41 deletions

View file

@ -2,22 +2,13 @@
<html>
<head>
<title>The change you wanted was rejected (422)</title>
<style type="text/css">
body { background-color: #EAEAEA; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 600px;
padding: 0 4em;
margin: 4em auto 0 auto;
}
h1 { font-size: 48px; color: #444; line-height: 1.5em; }
h2 { font-size: 24px; color: #666; line-height: 1.5em; }
</style>
<link href="static.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- This file lives in public/422.html -->
<div class="dialog">
<h1>422</h1>
<h1>422</h1>
<div class="alert-message block-message error">
<h2>The change you wanted was rejected.</h2>
<p>Maybe you tried to change something you didn't have access to.</p>
</div>