Skip to content

dashboard.py: show machine/port information in a table & add new file for the custom widgets

Ana Guerrero requested to merge ana/valve-infra:show_machine_port_info into master

curwid.py will contain all the custom urwid widgets created to be used by dashboard.py This is part of issue#130

Add an initial class MachinePortTable to display a table with the information of a machine or port. Replace the json dump with a MachinePortTable widget showing the machine information. In the case the port has no machine associated, show only the port details.

Fixes: https://gitlab.freedesktop.org/mupuf/valve-infra/-/issues/122

This is how it looks like when there is a machine training:

image

When there is no machine associated, the port details:

image

Merge request reports