peaufinage du message d'erreur
darcs-hash:20070202185653-f46e9-312bcf41cb2d03168b438696e92a30c873c6b0f4.gz
This commit is contained in:
parent
afbe5e9bca
commit
69cc220f96
2 changed files with 24 additions and 14 deletions
|
@ -210,19 +210,25 @@ div.visualClear {clear:both;}
|
|||
margin:auto;
|
||||
background: center left no-repeat url('/static/images/crans_mini_warning.png');
|
||||
}
|
||||
|
||||
.crans_ajax_error {
|
||||
font-weight: bold;
|
||||
font-size: 1em;
|
||||
border-bottom : thin gray solid;
|
||||
display: block;
|
||||
width:100%;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
padding:1em 1em 1em 25px;
|
||||
z-index:100;
|
||||
background: #fff88f center left no-repeat url('/static/images/crans_mini_warning.png');
|
||||
display: block;
|
||||
width:100%;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
padding:0;
|
||||
z-index:100;
|
||||
background: #fff88f;
|
||||
border-bottom : thin gray solid;}
|
||||
|
||||
.crans_ajax_error>div {
|
||||
font-weight: bold;
|
||||
font-size: 1em;
|
||||
display: block;
|
||||
padding:1em 1em 1em 25px;
|
||||
margin-left:1em;
|
||||
z-index:100;
|
||||
background: transparent center left no-repeat url('/static/images/crans_mini_warning.png');
|
||||
}
|
||||
|
||||
.crans_signature {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*****************************
|
||||
Impression.AJAX
|
||||
AJAX
|
||||
*****************************/
|
||||
AJAX = {};
|
||||
|
||||
|
@ -13,7 +13,11 @@ AJAX.call = function(page, callBack) {
|
|||
|
||||
AJAX.errorHandler = function(d) {
|
||||
appendChildNodes(document.body,
|
||||
DIV({"class":"crans_ajax_error"}, "Erreur de communication, essayez de vous ", A({"href":"do_logout"}, "reconnecter"), "."));
|
||||
DIV({"class":"crans_ajax_error"},
|
||||
DIV({},
|
||||
"Erreur de communication, essayez de vous ",
|
||||
A({"href":"do_logout"}, "reconnecter"), ".")
|
||||
));
|
||||
logError("AJAX Error: " + d);
|
||||
//Impression.AJAX.modifPrix("Erreur...", false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue