refactored time templating functions and ability to disable buttons in hours/minutes/seconds views