[fix bug 931068] Build the UI for viewing reports