]> source.dussan.org Git - redmine.git/commitdiff
HTML5 conformance of error pages (#15381).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 19 Nov 2013 19:21:48 +0000 (19:21 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 19 Nov 2013 19:21:48 +0000 (19:21 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12308 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/404.html
public/500.html

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