luci2: adapt views to changed luci2 framework