Commit 1bba0041 authored by ibuler's avatar ibuler

[Update] 修改user list 页面字段宽度

parent bf40aa8d
......@@ -151,9 +151,9 @@ function initTable() {
}},
{targets: 4, createdCell: function (td, cellData, rowData) {
var innerHtml = "";
if (cellData.status == 1) {
if (cellData.status === 1) {
innerHtml = '<i class="fa fa-circle text-navy"></i>'
} else if (cellData.status == 0) {
} else if (cellData.status === 0) {
innerHtml = '<i class="fa fa-circle text-danger"></i>'
} else {
innerHtml = '<i class="fa fa-circle text-warning"></i>'
......
......@@ -124,8 +124,8 @@ function initTable() {
{data: "role"},
{data: "groups_display", orderable: false},
{data: "source"},
{data: "is_valid", orderable: false},
{data: "id", orderable: false}
{data: "is_valid", orderable: false, width: "50px"},
{data: "id", orderable: false, width: "100px"}
],
op_html: $('#actions').html()
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment