<div [id]="step.stepId" class="step-container pointer"
     [class.selected]="selected">
  <div class="step-part step-title" [class]="step.data.status">
    <sm-experiment-type-icon-label [type]="step.data?.job_type" [showLabel]="false"></sm-experiment-type-icon-label>
    <div class="title" smShowTooltipIfEllipsis [smTooltip]="step.name" matTooltipPosition="above">{{step.name}}</div>
    <i class="al-icon sm-md al-ico-console" (click)="openConsole.emit()"></i>
  </div>
  <div class="step-part step-footer" [class]="step.data.status">
    <i *ngIf="step.data.status !== 'pending'" class="al-icon sm-md" [class]="'al-ico-status-' + step.data.status"></i>
    <div *ngIf="step?.data?.job_started">
      {{runTime | duration}}
    </div>
  </div>
</div>
