Skip to content

Commit

Permalink
[systemlogs] increase time column width
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Jun 27, 2017
1 parent 673bcae commit 454ed8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ window.SystemLogsView = countlyView.extend({
{ "mData": function(row, type){
if(type == "display"){
return moment(new Date(row.ts*1000)).format("ddd, D MMM YYYY HH:mm:ss");
}else return row.ts;}, "sType":"string", "sExport":"systemlogs", "sTitle": jQuery.i18n.map["systemlogs.timestamp"] },
}else return row.ts;}, "sType":"string", "sExport":"systemlogs", "sTitle": jQuery.i18n.map["systemlogs.timestamp"]},
{ "mData": function(row, type){return row.u;}, "sType":"string", "sTitle": jQuery.i18n.map["systemlogs.user"], bSortable: false},
{ "mData": function(row, type){return row.ip;}, "sType":"string", "sTitle": jQuery.i18n.map["systemlogs.ip-address"], bSortable: false},
{ "mData": function(row, type){
Expand Down
6 changes: 4 additions & 2 deletions plugins/systemlogs/frontend/public/stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
.systemlogs .dataTable-top {border-radius: 0;}
.systemlogs table { table-layout: fixed; }
.systemlogs table td,
.systemlogs table th { width:14%; }
.systemlogs table th { width:15%; }
.systemlogs table th:last-child,
.systemlogs table td:last-child { width:44%; }
.systemlogs table td:last-child { width:50%; }
.systemlogs table th:first-child,
.systemlogs table td:first-child { width:20%; }
.systemlogs table td { font-family: Ubuntu; }
.systemlogs table td pre { background-color: transparent !important; line-height: 15px; white-space: pre-wrap; }
.systemlogs .search-table-data {display: none;}
Expand Down

0 comments on commit 454ed8e

Please sign in to comment.