added generic date based views and enhanced html template