Created a panel to show a unit's attributes.