diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css
index f9b00f53..d753f3cf 100644
--- a/Bootstrap.Admin/wwwroot/css/site.css
+++ b/Bootstrap.Admin/wwwroot/css/site.css
@@ -573,6 +573,10 @@ li[data-category="1"] .dd3-content .menuType {
padding: 4px 6px;
}
+ .bootstrap-table .badge .fa {
+ margin-right: 4px;
+ }
+
.bootstrap-table .btn span:last-child {
display: inline;
}
diff --git a/Bootstrap.Admin/wwwroot/js/logins.js b/Bootstrap.Admin/wwwroot/js/logins.js
index 3ccf92b5..76213990 100644
--- a/Bootstrap.Admin/wwwroot/js/logins.js
+++ b/Bootstrap.Admin/wwwroot/js/logins.js
@@ -24,7 +24,8 @@ $(function () {
{
title: "登录结果", field: "Result", formatter: function (value, row, index) {
var css = value === "登录成功" ? "success" : "danger";
- return $.format('{1}', css, value);
+ var icon = css === "success" ? "check" : "remove";
+ return $.format('{1}', css, value, icon);
}
}
]