mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Minor scripts aestetic fixes
- removed icon label - aligned buttons
This commit is contained in:
parent
1ea5311bee
commit
3d2de3a295
2 changed files with 7 additions and 4 deletions
|
|
@ -1451,10 +1451,12 @@ $(document).ready(function() {
|
|||
{
|
||||
data: null,
|
||||
sortable: true,
|
||||
searchable: true,
|
||||
searchable: true,
|
||||
className: 'text-center',
|
||||
render: function (data, type, row) {
|
||||
const icon = (!row.category_icon) ? '' : `<i class='fa ${row.category_icon}'></i>`;
|
||||
return `${icon}${!row.category_title ? '' : ' ' + row.category_title}`;
|
||||
if (type == "display") return `${icon}`;
|
||||
return row.category_title;
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -1500,7 +1502,8 @@ $(document).ready(function() {
|
|||
targets: -1,
|
||||
data: null,
|
||||
name: 'actions',
|
||||
className: 'text-center',
|
||||
className: 'text-center',
|
||||
width: '200px',
|
||||
sortable: false,
|
||||
render: function (data, type, row) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue