[zhangxv] extract header and footer erb in admin page