Bug 976109: Split panel.html into privileged and unprivileged parts