- added feature #11065: Better default404Template
authorsimu <simu@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 9 Feb 2011 11:21:46 +0000 (11:21 +0000)
committersimu <simu@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 9 Feb 2011 11:21:46 +0000 (11:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pagenotfoundehandling/trunk@43320 735d13b6-9817-0410-8766-e36946ffe9aa

res/defaultTemplate.tmpl

index dcd4959..c0a1218 100644 (file)
@@ -1,16 +1,57 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
         <title>###TITLE###</title>
+        
+        <style type="text/css"><!--
+            body {
+                background-color:#F2F2F2;
+                color:#585858;
+            }
+            
+            #page {
+                background-color:#E6E6E6;
+                margin:50px auto;
+                width:500px;
+                padding:20px;
+            }
+            
+            #page .errorcode {
+                color:#848484;
+                font-size:4em;
+                font-weight:bold;
+                float:left;
+                height:100%;
+                width:25%;
+            }
+            
+            #page .content-right {
+                float:right;
+                width:75%
+            }
+            
+            #page h1 {
+                margin-top:15px;
+            }
+            
+            #page .clear {
+                clear:both;
+            }
+        //--></style>
+        
     </head>
     <body>
-           <div id="page">
-               <h1>###TITLE###</h1>
-               <p>###MESSAGE###</p>
-           </div>
+        <div id="page">
+            <div class="errorcode">404</div>
+            <div class="content-right">
+                <h1>###TITLE###</h1>
+                <p>###MESSAGE###</p>
+            </div>
+            <div class="clear"> </div>
+        </div>
     </body>
 </html>
\ No newline at end of file