[mod] refine the layout of rest.html