admin: Store items' details in *_compact.html

Extract the important item details from the `_*_details.html` template
and store them in the `*_details_compact.html` template. The latter is
the template that will be rendered asynchronously when a user requests
details for an item.
admin: Add compact details view for all resources