pagination template based on bootstrap