more colors

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-23 14:06:33 -07:00
parent 845e1bf5b0
commit 4a639270ff
1 changed files with 3 additions and 3 deletions

View File

@ -75,11 +75,11 @@ func ReadReceivedData(data *pb.Event, mh *gui.TableData) {
mh.Rows[row].HumanData[1].Text = item.Name
mh.Rows[row].HumanData[1].Color = color.RGBA{0, 0, 0, 0}
mh.Rows[row].HumanData[2].Text = item.Hostname
mh.Rows[row].HumanData[2].Color = color.RGBA{0, 0, 0, 0}
mh.Rows[row].HumanData[2].Color = color.RGBA{200, 200, 0, 200}
mh.Rows[row].HumanData[3].Text = fmt.Sprintf("%d",item.Cpus)
mh.Rows[row].HumanData[3].Color = color.RGBA{0, 0, 0, 0}
mh.Rows[row].HumanData[3].Color = color.RGBA{200, 0, 0, 200}
mh.Rows[row].HumanData[4].Text = fmt.Sprintf("%d",item.Memory)
mh.Rows[row].HumanData[4].Color = color.RGBA{0, 0, 0, 0}
mh.Rows[row].HumanData[4].Color = color.RGBA{0, 100, 200, 100}
mh.Rows[row].HumanData[5].Text = fmt.Sprintf("%d",item.Disk)
mh.Rows[row].HumanData[5].Color = color.RGBA{0, 0, 0, 0}
mh.Rows[row].HumanData[6].Text = fmt.Sprintf("Details %s",item.Name)