提交 5dc3b5f0 编写于 作者: N Nicolargo

Highlight max stats in the processes list (issue #878)

上级 99268f3b
......@@ -5,7 +5,9 @@ Glances Version 2
Version 2.8
===========
...
Enhancements and new features:
* Highlight max stats in the processes list (issue #878)
Version 2.7.1
=============
......
......@@ -194,19 +194,19 @@ class _GlancesCurses(object):
else:
curses.init_pair(10, curses.COLOR_WHITE, -1)
self.ifWARNING_color2 = curses.color_pair(9)
self.ifCRITICAL_color2 = curses.color_pair(6)
self.ifWARNING_color2 = curses.color_pair(9) | A_BOLD
self.ifCRITICAL_color2 = curses.color_pair(6) | A_BOLD
self.filter_color = curses.color_pair(10) | A_BOLD
self.no_color = curses.color_pair(1)
self.default_color = curses.color_pair(3)
self.nice_color = curses.color_pair(9)
self.cpu_time_color = curses.color_pair(9)
self.ifCAREFUL_color = curses.color_pair(4)
self.ifWARNING_color = curses.color_pair(5)
self.ifCRITICAL_color = curses.color_pair(2)
self.ifCAREFUL_color = curses.color_pair(4) | A_BOLD
self.ifWARNING_color = curses.color_pair(5) | A_BOLD
self.ifCRITICAL_color = curses.color_pair(2) | A_BOLD
self.default_color2 = curses.color_pair(7)
self.ifCAREFUL_color2 = curses.color_pair(8)
self.ifCAREFUL_color2 = curses.color_pair(8) | A_BOLD
else:
# The screen is NOT compatible with a colored design
......
......@@ -62,11 +62,15 @@ body {
}
.ok, .status, .process {
color: #3E7B04;
font-weight: bold;
/*font-weight: bold;*/
}
.ok_log {
background-color: #3E7B04;
color: white;
/*font-weight: bold;*/
}
.max {
color: #3E7B04;
font-weight: bold;
}
.careful {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册