diff app/views/errors/404.html @ 0:e45bf6020b0d draft

add play files
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 18 Sep 2012 04:36:47 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/views/errors/404.html	Tue Sep 18 04:36:47 2012 +0900
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<html>
+    <head>
+        <title>Not found</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=${_response_encoding}"/>    
+    </head>
+    <body>
+        #{if play.mode.name() == 'DEV'}
+            #{404 result /}
+        #{/if}
+        #{else}
+            <h1>Not found</h1>
+            <p>
+                ${result.message}
+            </p>
+        #{/else}
+    </body>
+</html>