diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/web/base/errors/generic.html | 9 | ||||
-rw-r--r-- | templates/web/base/errors/page_error_404_not_found.html | 20 | ||||
-rw-r--r-- | templates/web/base/tokens/error.html | 12 |
3 files changed, 18 insertions, 23 deletions
diff --git a/templates/web/base/errors/generic.html b/templates/web/base/errors/generic.html index 12aa8e170..d0d1e2e00 100755 --- a/templates/web/base/errors/generic.html +++ b/templates/web/base/errors/generic.html @@ -1,8 +1,9 @@ -[% INCLUDE 'header.html', title = loc('Error') %] +[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Error') %] -<h1>[% loc('Error') %]</h1> - -<p>[% message %]</p> +<div class="confirmation-header confirmation-header--failure"> + <h1>[% loc('Error') %]</h1> + <p>[% message %]</p> +</div> [% INCLUDE 'footer.html' %] diff --git a/templates/web/base/errors/page_error_404_not_found.html b/templates/web/base/errors/page_error_404_not_found.html index 77db18e89..490c5b721 100644 --- a/templates/web/base/errors/page_error_404_not_found.html +++ b/templates/web/base/errors/page_error_404_not_found.html @@ -1,19 +1,13 @@ -[% INCLUDE 'header.html', title => loc('Page Not Found') %] +[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Page Not Found') %] -<h1>[%loc('Page Not Found') %]</h1> - -[% IF error_msg %] +<div class="confirmation-header confirmation-header--failure"> + <h1>[% loc('Page Not Found') %]</h1> + [% IF error_msg %] <p class="error">[% error_msg | html %]</p> -[% END %] + [% END %] -<p> - [% - tprintf( - loc("The requested URL '%s' was not found on this server"), - c.req.uri - ) - %] -</p> + <p>[% tprintf(loc("The requested URL '%s' was not found on this server"), c.req.uri) %]</p> +</div> [% # FIXME - add more helpful suggestions to this page %] diff --git a/templates/web/base/tokens/error.html b/templates/web/base/tokens/error.html index e3fa6c170..726ec1598 100644 --- a/templates/web/base/tokens/error.html +++ b/templates/web/base/tokens/error.html @@ -1,9 +1,9 @@ -[% INCLUDE 'header.html', title => loc('Error') %] +[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Error') %] +[% contact_url = c.uri_for('/contact') %] -<h1>[% loc('Error') %]</h1> - -[% contact_url = c.uri_for('/contact'); %] - -<p>[% tprintf( loc('Thank you for trying to confirm your update or problem. We seem to have an error ourselves though, so <a href="%s">please let us know what went on</a> and we\'ll look into it.'), contact_url ) %]</p> +<div class="confirmation-header confirmation-header--failure"> + <h1>[% loc('Error') %]</h1> + <p>[% tprintf( loc('Thank you for trying to confirm your update or problem. We seem to have an error ourselves though, so <a href="%s">please let us know what went on</a> and we\'ll look into it.'), contact_url ) %]</p> +</div> [% INCLUDE 'footer.html' %] |