summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Beauchamp <daniel.beauchamp@shopify.com>2013-02-13 21:32:34 -0500
committerDaniel Beauchamp <daniel.beauchamp@shopify.com>2013-02-13 21:32:34 -0500
commit6dcda5d7cd26514cac1b18438af7913105e68f00 (patch)
tree0a3a4761aeb4629cdb9b00e999c8d11f1b4ad09b /templates
parent7a064c4193a2590527b1848adc56fc9d340c7851 (diff)
Added the public directory for serving static assets. This allows for stuff like favicons and custom 404/500 pages.
Diffstat (limited to 'templates')
-rw-r--r--templates/project/public/404.html26
-rw-r--r--templates/project/public/favicon.ico (renamed from templates/project/assets/images/favicon.ico)bin5430 -> 5430 bytes
2 files changed, 26 insertions, 0 deletions
diff --git a/templates/project/public/404.html b/templates/project/public/404.html
new file mode 100644
index 0000000..1a8f334
--- /dev/null
+++ b/templates/project/public/404.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>This Dashboard doesn't exist.</title>
+ <style>
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
+ div.dialog {
+ width: 25em;
+ padding: 0 4em;
+ margin: 4em auto 0 auto;
+ border: 1px solid #ccc;
+ border-right-color: #999;
+ border-bottom-color: #999;
+ }
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
+ </style>
+</head>
+
+<body>
+ <!-- This file lives in public/404.html -->
+ <div class="dialog">
+ <h1>Drats! That Dashboard doesn't exist.</h1>
+ <p>You may have mistyped the address or the page may have moved.</p>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/templates/project/assets/images/favicon.ico b/templates/project/public/favicon.ico
index 29a408f..29a408f 100644
--- a/templates/project/assets/images/favicon.ico
+++ b/templates/project/public/favicon.ico
Binary files differ