Dashboard: refactor network interface widget