docs: def html_job_status(job_name, job_type, refresh_interval, html_on_running, html_on_success):
    """create html representation of status of a job (long running operation).
  
    Args:
      job_name: the full name of the job.
      job_type: type of job. Can be 'local' or 'cloud'.
      refresh_interval: how often should the client refresh status.
      html_on_running: additional html that the job view needs to include on job running.
      html_on_success: additional html that the job view needs to include on job success.
    """
    _HTML_TEMPLATE = """
      <div class="jobstatus" id="%s">
      </div>
      <script>
        require(['datalab/job', 'datalab/element!%s', 'base/js/events',
            'datalab/style!/nbextensions/datalab/job.css'],
          function(job, dom, events) {
            job.render(dom, events, '%s', '%s', %s, '%s', '%s');
          }
        );
      </script>"""
    div_id = _html.Html.next_id()
    return IPython.core.display.HTML(_HTML_TEMPLATE % (div_id, div_id, job_name, job_type,
                                     refresh_interval, html_on_running, html_on_success))