diff --git a/public/500.html b/public/500.html index 66fc099..b068ba6 100644 --- a/public/500.html +++ b/public/500.html @@ -1,4 +1,5 @@ - + +
diff --git a/public/500.html.erb b/public/500.html.erb index e187972..e1bc3eb 100644 --- a/public/500.html.erb +++ b/public/500.html.erb @@ -1,4 +1,5 @@ - + + diff --git a/public/503.html b/public/503.html index f8f10e8..5d369b6 100644 --- a/public/503.html +++ b/public/503.html @@ -1,4 +1,5 @@ - + + diff --git a/public/503.html.erb b/public/503.html.erb index 2d7e998..c4ea60b 100644 --- a/public/503.html.erb +++ b/public/503.html.erb @@ -1,4 +1,5 @@ - + + diff --git a/public/designs/themes/noosfero/stylesheets/errors.css b/public/designs/themes/noosfero/stylesheets/errors.css index 280d7f9..91387ea 100644 --- a/public/designs/themes/noosfero/stylesheets/errors.css +++ b/public/designs/themes/noosfero/stylesheets/errors.css @@ -1,9 +1,17 @@ body { font-family: sans-serif; margin: 0px; - padding: 0% 3%; + padding: 0% 0%; height: 100%; +} +div#wrap { background: #CCC url(/503.jpg) 100% 100% no-repeat; + position: absolute; + top: 0px; + bottom: 0px; + left: 0px; + right: 0px; + padding: 1em 3em 1em 3em; } h1 { diff --git a/public/javascripts/errors.js b/public/javascripts/errors.js index d05d04f..2ce3256 100644 --- a/public/javascripts/errors.js +++ b/public/javascripts/errors.js @@ -7,6 +7,7 @@ function display_error_message(language) { element = $('en'); } $$('.message').each(function(item) { item.hide() }); + element.getElementsBySelector('h1').each(function(title) { document.title = title.innerHTML; }); element.show(); } -- libgit2 0.21.2