summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/results/result/result.html
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-03-19 07:36:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-19 07:36:08 +0000
commita0639ba8167301a6d735201fd3e225eb7e01adb6 (patch)
tree91ec43a9bb6b9a967fa4db0163d17668d88177ce /testapi/opnfv_testapi/ui/components/results/result/result.html
parent6a5ae849a7305b0c12939cdea9ad8f5ed24bd4ec (diff)
parent4ca8f9bc1b74ce826b36f0d44233679bfc5ce8f9 (diff)
Merge "Change deatails in result page to dynamic"
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/results/result/result.html')
-rw-r--r--testapi/opnfv_testapi/ui/components/results/result/result.html26
1 files changed, 1 insertions, 25 deletions
diff --git a/testapi/opnfv_testapi/ui/components/results/result/result.html b/testapi/opnfv_testapi/ui/components/results/result/result.html
index 52d794e..e6b30a9 100644
--- a/testapi/opnfv_testapi/ui/components/results/result/result.html
+++ b/testapi/opnfv_testapi/ui/components/results/result/result.html
@@ -50,31 +50,7 @@
<tr style="padding:9px">
<td class="podsTableTd">Details&nbsp;:</td>
<td width="90%" class="podsTableLeftTd">
- <a ng-click="ctrl.showDetails()">
- <p ng-if="ctrl.details">Hide</p>
- <p ng-if="!ctrl.details">Show</p>
- </a>
- <table class="table" ng-class="{'hidden' : !ctrl.details}" style="margin:10px">
- <tbody>
- <tr style="padding:9px"></tr>
- <tr style="padding:9px">
- <td class="podsTableTd">Failures&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd">{{ctrl.data.details.failures}}</td>
- </tr>
- <tr style="padding:9px">
- <td class="podsTableTd">Details&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd">{{ctrl.data.details.errors}}</td>
- </tr>
- <tr style="padding:9px">
- <td class="podsTableTd">Stream&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd"><p>{{ctrl.data.details.stream}}</p></td>
- </tr>
- <tr style="padding:9px">
- <td class="podsTableTd">TestsRun&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd"><p>{{ctrl.data.details.testsRun}}</p></td>
- </tr>
- </tbody>
- </table>
+ <json-tree object="ctrl.json.object" root-name="object" start-expanded="true"></json-tree>
</td>
</tr>
</tbody>