/
lvLogSteps.html
38 lines (34 loc) · 1.37 KB
/
lvLogSteps.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="steps-data">
<div ng-repeat="step in steps"
ng-class="{'selected': (displayedStep.order === step.order)}"
ng-show="showSuccessful === true || step.result !== 'success'"
class="btn btn-block lv-step clearfix {{::getShadingClass(step.result)}}"
order="{{step.order}}">
<div ng-click="setDisplayedStep(step)">
<span class="pull-left clearfix text-left">
{{::step.order + 1}}. {{::step.name}}
</span>
<span ng-init="time=(step.duration !== null ? formatTime(step.started, step.finished) : 'Duration unknown')"
ng-mouseover="time=displayTime(step.started, step.finished)"
ng-mouseleave="time=(step.duration !== null ? formatTime(step.duration) : 'Duration unknown')"
class="pull-right clearfix">
{{time}}
</span>
</div>
<div ng-if="step.errors.length > 0">
<div ng-repeat="error in step.errors"
ng-mouseover="check=true"
ng-mouseleave="check=false"
ng-class="{'lv-line-highlight': check}"
ng-click="setDisplayedStep(error)"
class="text-left pull-left lv-error-line">
<span class="badge badge-secondary lv-line-no text-left">
{{::error.line_number + 1}}
</span>
<span title="{{::error.line}}">
{{::error.line}}
</span>
</div>
</div>
</div>
</div>