diff options
author | xudan <xudan16@huawei.com> | 2018-07-05 22:37:35 -0400 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-07-25 09:17:09 +0000 |
commit | 58b91dd3baaaf72ab65062a4804403cd4a5935b2 (patch) | |
tree | 801b1f39b3bee25ecbaae387339955d55651e98b /cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html | |
parent | 947f1bf0147c40971fdae36feecd477ab3caf3b8 (diff) |
Move OVP web portal code to a separate repo
The new repo for web portal is https://gerrit.opnfv.org/gerrit/dovetail-webportal
JIRA: DOVETAIL-671
Change-Id: Iac085abc3d175b9a091d70d0448af56c7a6845e9
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html')
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html b/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html deleted file mode 100644 index e3632890..00000000 --- a/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html +++ /dev/null @@ -1,52 +0,0 @@ -<!-- -HTML for each accordion group that separates the status types on the results -report page. ---> - -Test Filters:<br /> -<div class="btn-toolbar" role="toolbar"> - <div class="btn-group button-margin" data-toggle="buttons"> - <label class="btn btn-default" ng-click="ctrl.changeStatus('total')" ng-class="{'active': ctrl.testStatus === 'total'}"> - <input type="radio" ng-model="ctrl.testStatus" value="total"> - <span class="text-primary">All</span> - </label> - <label class="btn btn-default" ng-click="ctrl.changeStatus('passed')" ng-class="{'active': ctrl.testStatus === 'passed'}"> - <input type="radio" ng-model="ctrl.testStatus" value="passed"> - <span class="text-success">Passed</span> - </label> - <label class="btn btn-default" ng-click="ctrl.changeStatus('not passed')" ng-class="{'active': ctrl.testStatus === 'not passed'}"> - <input type="radio" ng-model="ctrl.testStatus" value="not passed"> - <span class="text-danger">Not Passed</span> - </label> - </div> - <div class="btn-group button-margin" style="float:right"> - <button type="button" class="btn btn-default" ng-click="ctrl.openAll()">Expand</button> - <button type="button" class="btn btn-default" ng-click="ctrl.folderAll()">Collapse</button> - </div> -</div> - -<uib-accordion-group ng-repeat="(type,data) in ctrl.data" is-open="isOpen"> -<uib-accordion-heading> - {{ type }}: (Total: 3 test areas, {{ ctrl.statistics[type].total }} tests) - <i class="pull-right glyphicon" ng-class="{'glyphicon-chevron-down': isOpen, 'glyphicon-chevron-right': !isOpen}"></i> - </uib-accordion-heading> - <ol class="capabilities"> - <li ng-repeat="(area, value) in data" ng-show="(ctrl.testStatus == 'passed' && value.pass != 0) || (ctrl.testStatus == 'not passed' && value.fail != 0) || ctrl.testStatus == 'total'"> - - <a ng-click="value.folder = !value.folder"> - {{ area }} - <span ng-if="ctrl.testStatus == 'total'" ng-class="{'text-success': value.total == value.pass, 'text-warning': (value.pass < value.total && value.pass > 0), 'text-danger': value.pass == 0}">[{{ value.pass }}/{{ value.total }}]</span> - <span ng-if="ctrl.testStatus == 'passed'" class="text-success">[{{ value.pass }}]</span> - <span ng-if="ctrl.testStatus == 'not passed'" class="text-danger">[{{ value.fail }}]</span> - </a> - <a uib-tooltip="view log" ng-click="ctrl.gotoResultLog(area)"><span class="glyphicon glyphicon-cog"></span></a> - <ul class="list-unstyled" uib-collapse="value.folder"> - <li ng-repeat="case in value.cases" ng-if="(ctrl.testStatus=='passed' && ctrl.case_list.indexOf(case) > -1) || (ctrl.testStatus=='not passed' && ctrl.case_list.indexOf(case) == -1) || ctrl.testStatus=='total'"> - <span ng-class="{'glyphicon glyphicon-ok text-success':ctrl.case_list.indexOf(case) > -1, 'glyphicon glyphicon-remove text-warning':ctrl.case_list.indexOf(case) == -1}" aria-hidden="true"></span> - <a ng-click="ctrl.gotoDoc(case)">{{ case }}</a> - </li> - - </ul> - </li> - </ol> -</uib-accordion-group> |