aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorMichel Etienne2013-01-10 16:02:34 +0100
committerMichel Etienne2013-01-10 16:02:34 +0100
commitd9d69d2a1ca02f15f185459dc7ee9070b8ca90c3 (patch)
treef6615cab13fd0ac93c3faab9129fb3954ea3ce70 /public
parent92f37d2b356328b785fa154f617ce40190b4135d (diff)
downloadchouette-core-d9d69d2a1ca02f15f185459dc7ee9070b8ca90c3.tar.bz2
refactor error pages
Diffstat (limited to 'public')
-rw-r--r--public/404.html31
-rw-r--r--public/422.html31
-rw-r--r--public/500.html69
3 files changed, 93 insertions, 38 deletions
diff --git a/public/404.html b/public/404.html
index 9a48320a5..65893d8bb 100644
--- a/public/404.html
+++ b/public/404.html
@@ -1,26 +1,45 @@
<!DOCTYPE html>
<html>
<head>
+ <link href="assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<title>The page you were looking for doesn't exist (404)</title>
<style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
+ body { background-color: #fff; text-align: center; }
div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
+ width: 45em;
+ padding:1em;
+ margin: 2em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; font-weight: bold}
+ a,a:visited { text-decoration: underline; color: blue}
</style>
</head>
<body>
<!-- This file lives in public/404.html -->
+ <div id="header">
+ <div class="infos">
+ <div class="logo">
+ <a href="referentials">
+ <img src="assets/logo_chouette.png" alt="Logo_chouette">
+ </a>
+ </div>
+ </div>
+ </div>
<div class="dialog">
+ <h1>Désolé, la page demandée n'existe pas</h1>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'hésitez pas à nous décrire le problème</a>, nous essaierons de le résoudre.<br/>Merci d'avance<br/> <br/>
+ Vous pouvez néanmoins continuer à utiliser l'application CHOUETTE<br/>
+ <a href="javascript:history.back()" >Retour</a>
+ <br/> <br/><br/> <br/>
<h1>The page you were looking for doesn't exist.</h1>
- <p>You may have mistyped the address or the page may have moved.</p>
+ You may have mistyped the address or the page may have moved. <br/>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">Please describe us what happened</a>, we'll try to come back with an answer. <br/>Thank you. <br/> <br/>
+ You can still continue the use the CHOUETTE application. <br/>
+ <a href="javascript:history.back()" >Back</a>
</div>
</body>
</html>
diff --git a/public/422.html b/public/422.html
index 83660ab18..8e49aade0 100644
--- a/public/422.html
+++ b/public/422.html
@@ -1,26 +1,45 @@
<!DOCTYPE html>
<html>
<head>
+ <link href="assets/application.css" media="screen" rel="stylesheet" type="text/css" />
<title>The change you wanted was rejected (422)</title>
<style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
+ body { background-color: #fff; text-align: center; }
div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
+ width: 45em;
+ padding:1em;
+ margin: 2em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; font-weight: bold}
+ a,a:visited { text-decoration: underline; color: blue}
</style>
</head>
<body>
<!-- This file lives in public/422.html -->
+ <div id="header">
+ <div class="infos">
+ <div class="logo">
+ <a href="referentials">
+ <img src="assets/logo_chouette.png" alt="Logo_chouette">
+ </a>
+ </div>
+ </div>
+ </div>
<div class="dialog">
+ <h1>La modification demandée a été refusée</h1>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'hésitez pas à nous décrire le problème</a>, nous essaierons de le résoudre.<br/>Merci d'avance<br/> <br/>
+ Vous pouvez néanmoins continuer à utiliser l'application CHOUETTE<br/>
+ <a href="javascript:history.back()" >Retour</a>
+ <br/> <br/><br/> <br/>
<h1>The change you wanted was rejected.</h1>
- <p>Maybe you tried to change something you didn't have access to.</p>
+ Maybe you tried to change something you didn't have access to. <br/>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">Please describe us what happened</a>, we'll try to come back with an answer. <br/>Thank you. <br/> <br/>
+ You can still continue the use the CHOUETTE application. <br/>
+ <a href="javascript:history.back()" >Back</a>
</div>
</body>
</html>
diff --git a/public/500.html b/public/500.html
index b80307fc1..7e2d4c927 100644
--- a/public/500.html
+++ b/public/500.html
@@ -1,26 +1,43 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>We're sorry, but something went wrong (500)</title>
- <style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
- div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
- border: 1px solid #ccc;
- border-right-color: #999;
- border-bottom-color: #999;
- }
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
- </style>
-</head>
-
-<body>
- <!-- This file lives in public/500.html -->
- <div class="dialog">
- <h1>We're sorry, but something went wrong.</h1>
- <p>We've been notified about this issue and we'll take a look at it shortly.</p>
- </div>
-</body>
-</html>
+<!DOCTYPE html>
+<html><head>
+ <link href="assets/application.css" media="screen" rel="stylesheet" type="text/css" />
+ <title>We're sorry, but something went wrong (500)</title>
+ <style type="text/css">
+ body { background-color: #fff; text-align: center; }
+ div.dialog {
+ width: 45em;
+ padding:1em;
+ margin: 2em auto 0 auto;
+ border: 1px solid #ccc;
+ border-right-color: #999;
+ border-bottom-color: #999;
+ }
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; font-weight: bold}
+ a,a:visited { text-decoration: underline; color: blue}
+ </style>
+</head>
+
+<body>
+ <!-- This file lives in public/500.html -->
+ <div id="header">
+ <div class="infos">
+ <div class="logo">
+ <a href="referentials">
+ <img src="assets/logo_chouette.png" alt="Logo_chouette">
+ </a>
+ </div>
+ </div>
+ </div>
+ <div class="dialog">
+ <h1>Désolé, une erreur est survenue</h1>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">N'hésitez pas à nous décrire le problème</a>, nous essaierons de le résoudre.<br/>Merci d'avance<br/> <br/>
+ Vous pouvez néanmoins continuer à utiliser l'application CHOUETTE<br/>
+ <a href="javascript:history.back()" >Retour</a>
+ <br/> <br/><br/> <br/>
+ <h1>We're sorry, but something went wrong.</h1>
+ <a href="http://www.chouette.mobi/spip.php?rubrique38" target="_blank">Please describe us what happened</a>, we'll try to come back with an answer. <br/>Thank you. <br/> <br/>
+ You can still continue the use the CHOUETTE application. <br/>
+ <a href="javascript:history.back()" >Back</a>
+ </div>
+</body>
+</html> \ No newline at end of file