LB-1397 Use theme templates and share views between frontend and backend