Refactor the generation of an admin page to a separate function
Use the refactored function for DeleteTrack also (that being the point)
Merge pull request #74 from Rosuav/refactor_admin_page

Refactor admin page