From edd11c5c80ebc2b8280a435bb36ffc90ca8ce472 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 10 Mar 2019 13:11:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8A=9F=E8=83=BD=EF=BC=9A?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=97=A5=E5=BF=97=E5=A2=9E=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=9B=BE=E6=A0=87=20closed=20#ITC2J?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/ITC2J --- Bootstrap.Admin/wwwroot/css/site.css | 4 ++++ Bootstrap.Admin/wwwroot/js/logins.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } } ]