Updated dashboard html code to dynamically generate thumbnails for event...

...s and also to redirect to the correct event when clicked