[web/views] Extract legacyui (closes #2541404) [reviewed]