parent
845e1bf5b0
commit
4a639270ff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue