Mercurial > piecrust2
comparison piecrust/resources/messages/error404.html @ 125:c77062233ba5
Update system messages.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 14 Nov 2014 22:45:12 +0100 |
parents | f485ba500df3 |
children | 67a1c082d89d |
comparison
equal
deleted
inserted
replaced
124:f49fcf9448df | 125:c77062233ba5 |
---|---|
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Can't find the sugar!</title> | 4 <title>Can't find the sugar!</title> |
5 <meta name="generator" content="PieCrust" /> | 5 <meta name="generator" content="PieCrust" /> |
6 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lobster"> | 6 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lobster"> |
7 <style> | 7 <style> |
8 body { | 8 body { |
9 margin: 0; | 9 margin: 0; |
39 margin: 0 20%; | 39 margin: 0 20%; |
40 } | 40 } |
41 #content { | 41 #content { |
42 margin: 2em 1em; | 42 margin: 2em 1em; |
43 } | 43 } |
44 .error-details { | |
45 color: #d11; | |
46 } | |
44 .note { | 47 .note { |
45 margin: 3em; | 48 margin: 3em; |
46 color: #888; | 49 color: #888; |
47 font-style: italic; | 50 font-style: italic; |
48 } | 51 } |
50 </head> | 53 </head> |
51 <body> | 54 <body> |
52 <div id="container"> | 55 <div id="container"> |
53 <div id="header"> | 56 <div id="header"> |
54 <p id="preamble">A Message From The Kitchen:</p> | 57 <p id="preamble">A Message From The Kitchen:</p> |
55 <h1>Can't find the sugar!</h1> | 58 <h1>Can't find the sugar!</h1> |
56 </div> | 59 </div> |
57 <hr /> | 60 <hr /> |
58 <div id="content"> | 61 <div id="content"> |
59 <p>It looks like the page you were trying to access does not exist around here. Try going somewhere else.</p> | 62 <p>It looks like the page you were trying to access does not exist around here. Try going somewhere else.</p> |
60 | 63 |
61 </div> | 64 |
65 {% if details %} | |
66 <div class="error-details"> | |
67 {{ details|safe }} | |
68 </div> | |
69 {% endif %} | |
70 </div> | |
62 <hr /> | 71 <hr /> |
63 </div> | 72 <p class="note">You’re seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the <code>--debug</code> parameter, append <code>?!debug</code> to the <span class="caps">URL</span>, or initialize the <code>PieCrust</code> object with <code>{'debug'=>true}</code>. On the other hand, to see you custom error pages, set the <code>site/display_errors</code> setting to <code>false</code>.</p> </div> |
64 </body> | 73 </body> |
65 </html> | 74 </html> |