f264fac5b1
This commit adds links of the openstack-health on the Timeline and Test details. Change-Id: I7fd65dbbd6068b5cfc3a9b48b6d034ebd2f768f9
68 lines
2.1 KiB
HTML
68 lines
2.1 KiB
HTML
<div ng-if="!item" class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Test Details</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<i>Select a test above for details.</i>
|
|
</div>
|
|
</div>
|
|
|
|
<div ng-if="!!item"
|
|
class="panel"
|
|
ng-class="item | contextClass:'panel'">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">
|
|
Details: <a href="{{healthRoot}}/#/test/{{item.name}}"
|
|
target="_blank" uib-tooltip="Show in OpenStack-health">
|
|
{{item.name | split:'.' | pickRight:1}}
|
|
<fa name="external-link"></fa></a>
|
|
<span class="label label-{{item | contextClass}}">
|
|
{{item.status}}
|
|
</span>
|
|
|
|
<span class="label label-default"
|
|
ng-if="item.hidden">
|
|
hidden
|
|
</span>
|
|
</h3>
|
|
</div>
|
|
<table class="table table-bordered table-hover table-striped">
|
|
<tr>
|
|
<td>Class</td>
|
|
<td>{{item.name | split:'.' | pickRight:2}}</td>
|
|
<tr>
|
|
<td>Module</td>
|
|
<td>{{item.name | split:'.' | slice:0:-2 | join:'.'}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Tags</td>
|
|
<td>{{item.tags | join:', '}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Duration</td>
|
|
<td>{{item.duration | number:1}} seconds</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Start</td>
|
|
<td>{{item.startDate | date:'medium'}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>End</td>
|
|
<td>{{item.endDate | date:'medium'}}</td>
|
|
</tr>
|
|
<tr ng-if="item.hidden" class="warning text-center">
|
|
<td colspan="2">
|
|
<fa name="exclamation-triangle"></fa>
|
|
This test executed too quickly to be visible above.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="panel-footer clearfix">
|
|
<div class="btn-group pull-right">
|
|
<a type="button"
|
|
ui-sref="testDetails({artifactName: artifactName, test: item.name})"
|
|
class="btn btn-default">Details</a>
|
|
</div>
|
|
</div>
|
|
</div>
|