# HG changeset patch # User Ludovic Chabant # Date 1416001409 -3600 # Node ID b6f79f23904a43e4bb27a1822673339755e3c633 # Parent 04e3da2dd969df2cc70d662aa1f67ae027ce7c4a Upgrade system messages to the new folder structure. diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/config.yml --- a/build/messages/_content/config.yml Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -site: - title: PieCrust System Messages diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/pages/_index.html --- a/build/messages/_content/pages/_index.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ ---- -title: PieCrust System Messages ---- - -Here are the **PieCrust** system message pages: - -* [Requirements Not Met]({{ pcurl('requirements') }}) -* [Error]({{ pcurl('error') }}) -* [Not Found]({{ pcurl('error404') }}) -* [Critical Error]({{ pcurl('critical') }}) - -This very page you're reading, however, is only here for convenience. diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/pages/critical.html --- a/build/messages/_content/pages/critical.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ ---- -title: The Whole Kitchen Burned Down! -layout: error ---- -Something critically bad happened, and **PieCrust** needs to shut down. It's probably our fault. - -{% raw %} -
{{ details }}
-{% endraw %} diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/pages/error.html --- a/build/messages/_content/pages/error.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ ---- -title: The Cake Just Burned! -layout: error ---- - -{% raw %} -
{{ details }}
-{% endraw %} - diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/pages/error404.html --- a/build/messages/_content/pages/error404.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ ---- -title: Can't find the sugar! ---- - -It looks like the page you were trying to access does not exist around here. Try going somewhere else. diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/pages/requirements.html --- a/build/messages/_content/pages/requirements.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ ---- -title: You're Missing A Few Things ---- - -It looks like you're not meeting some of the requirements for running **PieCrust**: - -* PHP 5.3+ - -For more information, be sure to check out the [documentation](http://bolt80.com/piecrust/doc). diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/templates/default.html --- a/build/messages/_content/templates/default.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ - - - - {{ page.title }} - - - - - -
- -
-
- {% block content %} - {{ content|raw }} - {% endblock %} -
-
- {% block footer %}{% endblock %} -
- - \ No newline at end of file diff -r 04e3da2dd969 -r b6f79f23904a build/messages/_content/templates/error.html --- a/build/messages/_content/templates/error.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -{% extends "default.html" %} - -{% block footer %} -{% pcformat textile %} -p(note). You're seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the @--debug@ parameter, append @?!debug@ to the URL, or initialize the @PieCrust@ object with @{'debug'=>true}@. On the other hand, to see you custom error pages, set the @site/display_errors@ setting to @false@. -{% endpcformat %} -{% endblock %} diff -r 04e3da2dd969 -r b6f79f23904a build/messages/config.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/config.yml Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,2 @@ +site: + title: PieCrust System Messages diff -r 04e3da2dd969 -r b6f79f23904a build/messages/pages/_index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/pages/_index.html Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,12 @@ +--- +title: PieCrust System Messages +--- + +Here are the **PieCrust** system message pages: + +* [Requirements Not Met]({{ pcurl('requirements') }}) +* [Error]({{ pcurl('error') }}) +* [Not Found]({{ pcurl('error404') }}) +* [Critical Error]({{ pcurl('critical') }}) + +This very page you're reading, however, is only here for convenience. diff -r 04e3da2dd969 -r b6f79f23904a build/messages/pages/critical.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/pages/critical.html Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,6 @@ +--- +title: The Whole Kitchen Burned Down! +layout: error +--- +Something critically bad happened, and **PieCrust** needs to shut down. It's probably our fault. + diff -r 04e3da2dd969 -r b6f79f23904a build/messages/pages/error.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/pages/error.html Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,5 @@ +--- +title: The Cake Just Burned! +layout: error +--- + diff -r 04e3da2dd969 -r b6f79f23904a build/messages/pages/error404.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/pages/error404.html Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,6 @@ +--- +title: Can't find the sugar! +layout: error +--- +It looks like the page you were trying to access does not exist around here. Try going somewhere else. + diff -r 04e3da2dd969 -r b6f79f23904a build/messages/templates/default.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/templates/default.html Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,70 @@ + + + + {{ page.title }} + + + + + +
+ +
+
+ {% block content %} + {{ content|safe }} + {% endblock %} +
+
+ {% block footer %}{% endblock %} +
+ + diff -r 04e3da2dd969 -r b6f79f23904a build/messages/templates/error.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/messages/templates/error.html Fri Nov 14 22:43:29 2014 +0100 @@ -0,0 +1,19 @@ +{% extends "default.html" %} + +{% block content %} +{{content|safe}} + +{% raw %} +{% if details %} +
+ {{ details|safe }} +
+{% endif %} +{% endraw %} +{% endblock %} + +{% block footer %} +{% pcformat 'textile' %} +p(note). You're seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the @--debug@ parameter, append @?!debug@ to the URL, or initialize the @PieCrust@ object with @{'debug'=>true}@. On the other hand, to see you custom error pages, set the @site/display_errors@ setting to @false@. +{% endpcformat %} +{% endblock %} diff -r 04e3da2dd969 -r b6f79f23904a piecrust/resources/messages/requirements.html --- a/piecrust/resources/messages/requirements.html Fri Nov 14 22:41:33 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - You're Missing A Few Things - - - - - -
- -
-
-

It looks like you're not meeting some of the requirements for running PieCrust:

- -
    -
  • PHP 5.3+
  • -
- -

For more information, be sure to check out the documentation.

- -
-
-
- - \ No newline at end of file