mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-01 14:08:34 +03:00
Add docker plugin to the classical Web UI
This commit is contained in:
parent
c6a47c1ecc
commit
88d7e40597
@ -47,6 +47,7 @@
|
|||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
% include('plugin_table', plugin_name="alert", stats=stats['alert'])
|
% include('plugin_table', plugin_name="alert", stats=stats['alert'])
|
||||||
% include('plugin_text', plugin_name="processcount", stats=stats['processcount'])
|
% include('plugin_text', plugin_name="processcount", stats=stats['processcount'])
|
||||||
|
% include('plugin_table', plugin_name="docker", stats=stats['docker'])
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
% include('plugin_table', plugin_name="monitor", stats=stats['monitor'])
|
% include('plugin_table', plugin_name="monitor", stats=stats['monitor'])
|
||||||
|
@ -330,7 +330,8 @@ class GlancesBottle(object):
|
|||||||
'alert': self.stats.get_plugin('alert').get_stats_display(args=self.args),
|
'alert': self.stats.get_plugin('alert').get_stats_display(args=self.args),
|
||||||
'processcount': self.stats.get_plugin('processcount').get_stats_display(args=self.args),
|
'processcount': self.stats.get_plugin('processcount').get_stats_display(args=self.args),
|
||||||
'monitor': self.stats.get_plugin('monitor').get_stats_display(args=self.args),
|
'monitor': self.stats.get_plugin('monitor').get_stats_display(args=self.args),
|
||||||
'processlist': self.stats.get_plugin('processlist').get_stats_display(args=self.args)
|
'processlist': self.stats.get_plugin('processlist').get_stats_display(args=self.args),
|
||||||
|
'docker': self.stats.get_plugin('docker').get_stats_display(args=self.args)
|
||||||
}
|
}
|
||||||
|
|
||||||
return template('base', refresh_time=refresh_time, stats=stats)
|
return template('base', refresh_time=refresh_time, stats=stats)
|
||||||
|
Loading…
Reference in New Issue
Block a user