mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-27 19:25:27 +03:00
add new amp shortcut 'A' on help page
This commit is contained in:
parent
13e2e4adf7
commit
d4c1f6f2d3
@ -52,7 +52,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-lg-6">{{help.show_hide_left_sidebar}}</div>
|
||||
<div class="col-sm-12 col-lg-6"></div>
|
||||
<div class="col-sm-12 col-lg-6">{{help.show_hide_amp}}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-lg-6">{{help.enable_disable_process_stats}}</div>
|
||||
|
@ -93,6 +93,7 @@ class Plugin(GlancesPlugin):
|
||||
self.view_data['show_hide_ip'] = msg_col2.format('I', 'Show/hide IP module')
|
||||
self.view_data['diskio_iops'] = msg_col2.format('B', 'Count/rate for Disk I/O')
|
||||
self.view_data['show_hide_top_menu'] = msg_col2.format('5', 'Show/hide top menu (QL, CPU, MEM, SWAP and LOAD)')
|
||||
self.view_data['show_hide_amp'] = msg_col2.format('A', 'Show/hide AMP plugin')
|
||||
self.view_data['edit_pattern_filter'] = 'ENTER: Edit the process filter pattern'
|
||||
|
||||
def get_view_data(self, args=None):
|
||||
@ -164,6 +165,7 @@ class Plugin(GlancesPlugin):
|
||||
ret.append(self.curse_add_line(self.view_data['show_hide_top_menu']))
|
||||
ret.append(self.curse_new_line())
|
||||
ret.append(self.curse_add_line(self.view_data['enable_disable_short_processname']))
|
||||
ret.append(self.curse_add_line(self.view_data['show_hide_amp']))
|
||||
ret.append(self.curse_new_line())
|
||||
ret.append(self.curse_add_line(self.view_data['enable_disable_irix']))
|
||||
ret.append(self.curse_add_line(self.view_data['quit']))
|
||||
|
Loading…
Reference in New Issue
Block a user