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=4fa409c7c47830010d4b96b2201b2cf530d360da;p=oweals%2Fluci.git luci-mod-status: use generic .cbi-section-actions style for row actions Signed-off-by: Jo-Philipp Wich --- 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 b996b78ce..d56eca507 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 @@ -38,7 +38,7 @@ return L.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) @@ -70,7 +70,7 @@ return L.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' }) ]) ]) ]);