Unverified 提交 5866dfcf authored 作者: Noel Grandin's avatar Noel Grandin 提交者: GitHub

Merge pull request #759 from katzyn/css

Improve the look of error messages in web console
......@@ -917,7 +917,7 @@ public class WebApp {
PageParser.escapeHtml(profClose) +
"</span>";
} else {
success = "${text.login.testSuccessful}";
success = "<div class=\"success\">${text.login.testSuccessful}</div>";
}
session.put("error", success);
// session.put("error", "${text.login.testSuccessful}");
......
......@@ -191,11 +191,25 @@ td.empty {
}
.error {
color: #ff0000;
color: #771111;
}
p.error {
color: #ff0000;
div.error {
background-color: #eecccc;
border-color: #ddbbbb;
}
div.success {
color: #226622;
background-color: #cceecc;
border-color: #bbddbb;
}
div.error, div.success {
border-radius: 4px;
padding: 10px;
border-width: 1px;
border-style: solid;
}
input.button {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论