Use a base template for the webpage
web: When a task is finished remove the progress bar and report the status
web: When loading the page call the api immediately instead of setting a timeout