basic layout for show and main page