<table id="AnomaliesHistoryTable" class="table table-condensed table-striped">
  <thead>
    <tr>
      <th></th>
      <th data-ng-repeat="t in [1,2,3,4,5,6,7,8,9,10]">#{{t}}</th>
    </tr>
  </thead>
  <tbody>
    <tr data-ng-repeat="job in resources.jobs | orderBy:'name'">
      <td>{{job.name}}</td>
      <td data-ng-repeat="t in [0,1,2,3,4,5,6,7,8,9]">
        <div data-ng-if="job.timings[t]">
          <div>{{(job.timings[t][1] - job.timings[t][0]) / 1000}}s</div>
          <div>{{job.timings[t][0] | date:'HH:mm:ss'}}</div>
          <div>{{job.timings[t][0] | date:'dd-MM-yyyy'}}</div>
        </div>
      </td>
    </tr>
  </tbody>
</table>
<button class="btn btn-sm btn-link" type="button" ng-csv="resources_export.jobs" csv-label='true' filename="jobs.csv"><i class="fa-solid fa-download"></i> <span data-translate>Export</span></button>
