Reformatted code and improved detail ui.
Merge remote-tracking branch 'upstream/logging-ui'