From: Jo-Philipp Wich Date: Mon, 23 Mar 2020 20:55:50 +0000 (+0100) Subject: luci-mod-status: use generic .cbi-section-actions style for row actions X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4eb411757e81cb77a02ee268fb14f6c10aad7618;p=oweals%2Fluci.git luci-mod-status: use generic .cbi-section-actions style for row actions Signed-off-by: Jo-Philipp Wich (cherry picked from commit 4fa409c7c47830010d4b96b2201b2cf530d360da) --- diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/processes.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/processes.js index 3eb1562c9..8a77306e5 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/processes.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/processes.js @@ -39,7 +39,7 @@ return view.extend({ proc.COMMAND, proc['%CPU'], proc['%MEM'], - E('div', { 'class': 'nowrap' }, [ + E('div', {}, [ E('button', { 'class': 'btn cbi-button-action', 'click': ui.createHandlerFn(this, 'handleSignal', 1, proc.PID) @@ -71,7 +71,7 @@ return view.extend({ E('div', { 'class': 'th' }, _('Command')), E('div', { 'class': 'th' }, _('CPU usage (%)')), E('div', { 'class': 'th' }, _('Memory usage (%)')), - E('div', { 'class': 'th center' }, _('Actions')) + E('div', { 'class': 'th center nowrap cbi-section-actions' }) ]) ]) ]);