add html for viewing events