
Fixes a couple of lint errors caught by `npm run lint` in timeline- overview.js and timeline-viewport.js. Also restructures the test- details controller to use appropriate `this.` syntax instead of `$scope.` In addition, eslint and eslint-config-openstack have been updated, and a new .eslintrc.json config file has been created to tweak some specific rules for stackviz. Change-Id: I9e1fe5121621730eb3efda4b99e9fe182f399aee
59 lines
2.1 KiB
HTML
59 lines
2.1 KiB
HTML
<header class="bs-header">
|
|
<div class="container">
|
|
<h1 class="page-header">Test Details</h1>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">
|
|
{{testDetails.testName | split:'.' | slice:-2 | join:'.'}}
|
|
<test-details-search class="pull-right" filter="testDetails.parsePythonLogging"></test-details-search>
|
|
</h3>
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<uib-tabset class="nav-tabs">
|
|
<uib-tab heading="Summary">
|
|
<table class="table table-bordered table-hover table-striped">
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>{{testDetails.item.name | split:'.' | pickRight:1}}</td>
|
|
<tr>
|
|
<td>Full Name</td>
|
|
<td>{{testDetails.item.name}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Status</td>
|
|
<td>{{testDetails.item.status}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Tags</td>
|
|
<td>{{testDetails.item.tags | join:', '}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Duration</td>
|
|
<td>{{testDetails.item.duration | number:1}} seconds</td>
|
|
</tr>
|
|
</table>
|
|
</uib-tab>
|
|
<uib-tab ng-repeat="(entry,log) in testDetails.itemDetails" heading="{{entry}}">
|
|
<pre style="height: 400px; overflow-y: scroll;">{{log}}</pre>
|
|
</uib-tab>
|
|
</uib-tabset>
|
|
</div>
|
|
|
|
<div class="panel-footer clearfix">
|
|
<a class="btn btn-default pull-right"
|
|
ui-sref="timeline({datasetId: testDetails.dataset.id, test: testDetails.item.name})">
|
|
Timeline
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|