comparison piecrust/resources/messages/critical.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
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 }
54 <p id="preamble">A Message From The Kitchen:</p> 57 <p id="preamble">A Message From The Kitchen:</p>
55 <h1>The Whole Kitchen Burned Down!</h1> 58 <h1>The Whole Kitchen Burned Down!</h1>
56 </div> 59 </div>
57 <hr /> 60 <hr />
58 <div id="content"> 61 <div id="content">
59 <p>Something critically bad happened, and <strong>PieCrust</strong> needs to shut down. It's probably our fault.</p> 62 <p>Something critically bad happened, and <strong>PieCrust</strong> needs to shut down. It&#8217;s probably our fault.</p>
60 63
61 <div id="error-details">{{ details }}</div>
62 64
63 </div> 65 {% if details %}
66 <div class="error-details">
67 {{ details|safe }}
68 </div>
69 {% endif %}
70 </div>
64 <hr /> 71 <hr />
65 <p class="note">You&#8217;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>{&#39;debug&#39;=&#62;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> 72 <p class="note">You&#8217;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'=&gt;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>
66 </body> 73 </body>
67 </html> 74 </html>