mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-27 19:25:27 +03:00
Correct issue on Web interface (process name not displayed) (issue #462)
This commit is contained in:
parent
6d8b24148c
commit
df00dc2f64
@ -176,6 +176,7 @@ class GlancesMain(object):
|
||||
# In web server mode, defaul refresh time: 5 sec
|
||||
if args.webserver:
|
||||
args.time = 5
|
||||
args.process_short_name = True
|
||||
|
||||
# Server or client login/password
|
||||
args.username = self.username
|
||||
|
@ -9,20 +9,12 @@
|
||||
<tr>
|
||||
% else:
|
||||
% if stats['display']:
|
||||
% if plugin_name == 'processlist':
|
||||
% if not msg['splittable'] or msg['splittable'] and msg['decoration'] == 'PROCESS':
|
||||
<td class="{{ msg['decoration'].lower() }}">
|
||||
{{ msg['msg'] }}
|
||||
</td>
|
||||
% end
|
||||
% else:
|
||||
<td class="{{ msg['decoration'].lower() }} {{ 'hidden-xs hidden-sm' if msg['optional'] else '' }}">
|
||||
{{ msg['msg'] }}
|
||||
</td>
|
||||
% end
|
||||
% end
|
||||
% end
|
||||
% end
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user