From: Marek Stępniowski Date: Thu, 18 Sep 2008 20:06:29 +0000 (+0200) Subject: Added custom error pages. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/9f843552b83310b0dab86e0aebedd13055ed9649?ds=sidebyside;hp=-c Added custom error pages. --- 9f843552b83310b0dab86e0aebedd13055ed9649 diff --git a/wolnelektury/media/css/error.css b/wolnelektury/media/css/error.css new file mode 100644 index 000000000..831573427 --- /dev/null +++ b/wolnelektury/media/css/error.css @@ -0,0 +1,83 @@ + +body { +font-family: verdana, arial, sans-serif; +margin: 2em; +font-size: 100%; +} + + + + +h1 { +font-size: 300%; +font-weight: bold; +margin-top: 30px; +} + +h1,h2 { +margin-bottom: 0; +} + +h2 { +font-size: 100%; +font-weight: bold; +margin-top: 1em; +} + +p { +width: 450px; +margin-top: 0.5em; +} + +img { + border: none; +} + + #whoiam { + text-transform: uppercase; + letter-spacing: 0.2em; + font-size: 150%; + margin-bottom: 0.8em; +} + +.howto { + + color: gray; + font-size: 80% +} + +#contact h2 { +margin-top: 0.5em; +} + + +.haj { + background-color: #ffc; +} + +#urle { +margin-top: 2.3em; +} + +/* +LINKS +*/ + +a:link { +color: #037; +text-decoration: underline; +} + +a:visited { +color: #636; +} + +a:active { +color: #900; +text-decoration: none; +} + +a:hover { +color: #d46400; +} + diff --git a/wolnelektury/templates/404.html b/wolnelektury/templates/404.html index 5003eae87..9831864d2 100644 --- a/wolnelektury/templates/404.html +++ b/wolnelektury/templates/404.html @@ -1,3 +1,26 @@ -

Blad 404 - Strona nie istnieje

+ + + +404 - Zagubiona strona w WolneLektury.pl + + + + -

(Tutaj później będzie coś więcej, naprawdę)

\ No newline at end of file + + + +

Podana strona nie istnieje

+

+Przepraszamy, ale ta strona nie istnieje. Sprawdź czy podałeś dobry adres, lub przejdź do strony głównej. +

+ + + + + \ No newline at end of file diff --git a/wolnelektury/templates/500.html b/wolnelektury/templates/500.html new file mode 100644 index 000000000..7dc97f78d --- /dev/null +++ b/wolnelektury/templates/500.html @@ -0,0 +1,26 @@ + + + +500 - Błąd serwera w WolneLektury.pl + + + + + + + + +

Błąd serwera

+

+Przepraszamy, ale wystąpił błąd serwera. Na pewno już się nim zajmujemy i postaramy się naprawić tak szybko jak to tylko możliwe. Do tego czasu proponujemy żebyś przeszedł do strony głównej. +

+ + + + + \ No newline at end of file