Correct issue on Web interface (process name not displayed) (issue #462)

This commit is contained in:
Nicolargo 2014-12-29 23:11:42 +01:00
parent 6d8b24148c
commit df00dc2f64
2 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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>