HTML5 conformance of error pages (#15381).

git-svn-id: http://svn.redmine.org/redmine/trunk@12308 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-11-19 19:21:48 +00:00
parent 508a14c43f
commit 00683d52f8
2 changed files with 20 additions and 32 deletions

View File

@ -1,20 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <!DOCTYPE html>
"http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<title>Redmine 404 error</title> <head>
<style> <meta charset="utf-8" />
body{ <title>Redmine 404 error</title>
font-family: Trebuchet MS,Georgia,"Times New Roman",serif; <style>
color:#303030; body {font-family: Trebuchet MS, Georgia, "Times New Roman", serif; color: #303030; margin: 10px;}
margin:10px; h1 {font-size:1.5em;}
} p {font-size:0.8em;}
h1{ </style>
font-size:1.5em; </head>
}
p{
font-size:0.8em;
}
</style>
<body> <body>
<h1>Page not found</h1> <h1>Page not found</h1>
<p>The page you were trying to access doesn't exist or has been removed.</p> <p>The page you were trying to access doesn't exist or has been removed.</p>

View File

@ -1,20 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <!DOCTYPE html>
"http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<title>Redmine 500 error</title> <head>
<style> <meta charset="utf-8" />
body{ <title>Redmine 500 error</title>
font-family: Trebuchet MS,Georgia,"Times New Roman",serif; <style>
color:#303030; body {font-family: Trebuchet MS, Georgia, "Times New Roman", serif; color: #303030; margin: 10px;}
margin:10px; h1 {font-size:1.5em;}
} p {font-size:0.8em;}
h1{ </style>
font-size:1.5em; </head>
}
p{
font-size:0.8em;
}
</style>
<body> <body>
<h1>Internal error</h1> <h1>Internal error</h1>
<p>An error occurred on the page you were trying to access.<br /> <p>An error occurred on the page you were trying to access.<br />