luci-mod-status: use generic .cbi-section-actions style for row actions
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Mar 2020 20:55:50 +0000 (21:55 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4fa409c7c47830010d4b96b2201b2cf530d360da)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/processes.js

index 3eb1562c90602a42bbae79f0c10a425cca1cae20..8a77306e578e9b17afdc8b9f86f6e968a7e44027 100644 (file)
@@ -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' })
                                ])
                        ])
                ]);