summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/default-layout.hamlet11
-rw-r--r--templates/htmlshim.hamlet7
2 files changed, 18 insertions, 0 deletions
diff --git a/templates/default-layout.hamlet b/templates/default-layout.hamlet
new file mode 100644
index 000000000..e07addc8e
--- /dev/null
+++ b/templates/default-layout.hamlet
@@ -0,0 +1,11 @@
+$doctype 5
+<html>
+ <head>
+ <title>#{baseTitle webapp} #{pageTitle page}
+ <link rel="icon" href=@{StaticR favicon_ico} type="image/x-icon">
+
+ ^{pageHead page}
+ <body>
+ $maybe msg <- mmsg
+ <div #message>#{msg}
+ ^{pageBody page}
diff --git a/templates/htmlshim.hamlet b/templates/htmlshim.hamlet
new file mode 100644
index 000000000..c10042c99
--- /dev/null
+++ b/templates/htmlshim.hamlet
@@ -0,0 +1,7 @@
+$doctype 5
+<html>
+ <head>
+ <meta http-equiv="refresh" content="0; URL=#{url}">
+ <body>
+ <p>
+ <a href=#{url}">Starting webapp...