A small refactoring into a partial for the endpoint details + some
bootstrap styling.