forked from I2P_Developers/i2p.i2p
Susimail: Put error messages at the top
This commit is contained in:
@@ -2481,7 +2481,11 @@ public class WebMail extends HttpServlet
|
||||
}
|
||||
}
|
||||
if (showRefresh || sessionObject.error.length() > 0 || sessionObject.info.length() > 0) {
|
||||
out.println("<div class=\"notifications\">");
|
||||
out.print("<div class=\"notifications\"");
|
||||
// if errors, put at the top
|
||||
if (sessionObject.error.length() > 0)
|
||||
out.print(" id=\"errornotifications\"");
|
||||
out.println(">");
|
||||
if (sessionObject.error.length() > 0)
|
||||
out.println("<p class=\"error\">" + quoteHTML(sessionObject.error).replace("\n", "<br>") + "</p>");
|
||||
if (sessionObject.info.length() > 0 || showRefresh) {
|
||||
|
@@ -805,6 +805,10 @@ input[type="submit"], input[type="reset"], select, button { /* webkit/blink fix
|
||||
|
||||
/* login + misc mods */
|
||||
|
||||
#errornotifications {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.notifications {
|
||||
text-align: center;
|
||||
padding: 0 0 20px;
|
||||
|
@@ -1329,6 +1329,10 @@ tr.bottombuttons:empty {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#errornotifications {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.notifications {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
Reference in New Issue
Block a user