create bootstrap template and display past 12 hours