Use template filter to display current time

This represents a stronger separation of concerns since the controller
should not contain logic for formatting data.
Add UI for alarm management