summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/results
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-03-16 06:20:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-16 06:20:25 +0000
commitd75376d833b0d42eb6e57d4915c89c94d9379047 (patch)
tree51084ad73e63ba5039e78a0fdc7191e928081971 /testapi/opnfv_testapi/ui/components/results
parentee7a7b89092390ad91f71cc90409cce8f3dfe936 (diff)
parent46126a761681cf5ae4bd98f20916048db3cd278e (diff)
Merge "delete useless trust_indicator in result model"
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/results')
-rw-r--r--testapi/opnfv_testapi/ui/components/results/result/result.html22
-rw-r--r--testapi/opnfv_testapi/ui/components/results/result/resultController.js8
2 files changed, 0 insertions, 30 deletions
diff --git a/testapi/opnfv_testapi/ui/components/results/result/result.html b/testapi/opnfv_testapi/ui/components/results/result/result.html
index b435dce..52d794e 100644
--- a/testapi/opnfv_testapi/ui/components/results/result/result.html
+++ b/testapi/opnfv_testapi/ui/components/results/result/result.html
@@ -48,28 +48,6 @@
<td width="90%" class="podsTableLeftTd">{{ctrl.data.stop_date}}</td>
</tr>
<tr style="padding:9px">
- <td class="podsTableTd">Trust&nbsp;Indicator&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd">
- <a ng-click="ctrl.showTrustIndicator()">
- <p ng-if="ctrl.trust_indicator">Hide</p>
- <p ng-if="!ctrl.trust_indicator">Show</p>
- </a>
- <table class="table" ng-class="{'hidden' : !ctrl.trust_indicator}" style="margin:10px">
- <tbody>
- <tr style="padding:9px"></tr>
- <tr style="padding:9px" >
- <td class="podsTableTd">Current&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd">{{ctrl.data.trust_indicator.current}}</td>
- </tr>
- <tr style="padding:9px" >
- <td class="podsTableTd">Histories&nbsp;:</td>
- <td width="90%" class="podsTableLeftTd">{{ctrl.data.trust_indicator.histories}}</td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- <tr style="padding:9px">
<td class="podsTableTd">Details&nbsp;:</td>
<td width="90%" class="podsTableLeftTd">
<a ng-click="ctrl.showDetails()">
diff --git a/testapi/opnfv_testapi/ui/components/results/result/resultController.js b/testapi/opnfv_testapi/ui/components/results/result/resultController.js
index 028e5d8..cb5dd28 100644
--- a/testapi/opnfv_testapi/ui/components/results/result/resultController.js
+++ b/testapi/opnfv_testapi/ui/components/results/result/resultController.js
@@ -54,14 +54,6 @@
});
}
- function showTrustIndicator(){
- if(ctrl.trust_indicator){
- ctrl.trust_indicator = false
- }else{
- ctrl.trust_indicator = true
- }
- }
-
function showDetails(){
if(ctrl.details){
ctrl.details = false