diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-11-21 00:46:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-21 00:46:35 +0000 |
commit | 174b299271189496bae4c4d6727ea26a7a098756 (patch) | |
tree | b063e18c795988e38e1eb4afa74d4cbf9524f057 /utils/test/testapi/opnfv_testapi/ui/results-report/partials | |
parent | fd65ec9e84ae025e6b903c403514405ba0bb0a61 (diff) | |
parent | f11f26d23dabde24b0bcd67ac81b094aa89eb6c9 (diff) |
Merge "Remove 'utils/test' Directory and update INFO"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/results-report/partials')
3 files changed, 0 insertions, 165 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/results-report/partials/editTestModal.html b/utils/test/testapi/opnfv_testapi/ui/results-report/partials/editTestModal.html deleted file mode 100644 index 583c9b92b..000000000 --- a/utils/test/testapi/opnfv_testapi/ui/results-report/partials/editTestModal.html +++ /dev/null @@ -1,65 +0,0 @@ -<div class="modal-content"> - <div class="modal-header"> - <button type="button" class="close" aria-hidden="true" ng-click="modal.close()">×</button> - <h4>Edit Test Run Metadata</h4> - <p>Make changes to your test metadata.</p> - </div> - <div class="modal-body"> - <div class="form-group"> - <strong>Publicly Shared:</strong> - <select ng-model="modal.metaCopy.shared" - class="form-control"> - <option value="true">Yes</option> - <option value="">No</option> - </select> - <br /> - <strong>Associated Guideline:</strong> - <select ng-model="modal.metaCopy.guideline" - ng-options="o as o.slice(0, -5) for o in modal.versionList" - class="form-control"> - <option value="">None</option> - </select> - <br /> - <strong>Associated Target Program:</strong> - <select ng-model="modal.metaCopy.target" - class="form-control"> - <option value="">None</option> - <option value="platform">OpenStack Powered Platform</option> - <option value="compute">OpenStack Powered Compute</option> - <option value="object">OpenStack Powered Object Storage</option> - </select> - <hr> - <strong>Associated Product:</strong> - <select ng-options="product as product.name for product in modal.products | arrayConverter | orderBy: 'name' track by product.id" - ng-model="modal.selectedProduct" - ng-change="modal.getProductVersions()" - class="form-control"> - <option value="">-- No Product --</option> - </select> - - <span ng-if="modal.productVersions.length"> - <strong>Product Version:</strong> - <select ng-options="version as version.version for version in modal.productVersions | orderBy: 'version' track by version.id" - ng-model="modal.selectedVersion" - class="form-control"> - </select> - - </span> - - </div> - <div ng-show="modal.showError" class="alert alert-danger" role="alert"> - <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> - <span class="sr-only">Error:</span> - {{modal.error}} - </div> - <div ng-show="modal.showSuccess" class="alert alert-success" role="success"> - <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> - <span class="sr-only">Success:</span> - Changes saved successfully. - </div> - </div> - <div class="modal-footer"> - <button class="btn btn-primary" type="button" ng-click="modal.saveChanges()">Save Changes</button> - <button class="btn btn-primary" type="button" ng-click="modal.close()">Close</button> - </div> -</div> diff --git a/utils/test/testapi/opnfv_testapi/ui/results-report/partials/fullTestListModal.html b/utils/test/testapi/opnfv_testapi/ui/results-report/partials/fullTestListModal.html deleted file mode 100644 index 6db198b02..000000000 --- a/utils/test/testapi/opnfv_testapi/ui/results-report/partials/fullTestListModal.html +++ /dev/null @@ -1,13 +0,0 @@ -<div class="modal-content"> - <div class="modal-header"> - <h4>All Passed Tests ({{modal.tests.length}})</h4> - </div> - <div class="modal-body tests-modal-content"> - <div class="form-group"> - <textarea class="form-control" rows="20" id="tests" wrap="off">{{modal.getTestListString()}}</textarea> - </div> - </div> - <div class="modal-footer"> - <button class="btn btn-primary" type="button" ng-click="modal.close()">Close</button> - </div> -</div> diff --git a/utils/test/testapi/opnfv_testapi/ui/results-report/partials/reportDetails.html b/utils/test/testapi/opnfv_testapi/ui/results-report/partials/reportDetails.html deleted file mode 100644 index 517e569c7..000000000 --- a/utils/test/testapi/opnfv_testapi/ui/results-report/partials/reportDetails.html +++ /dev/null @@ -1,87 +0,0 @@ -<!-- -HTML for each accordion group that separates the status types on the results -report page. ---> - -<uib-accordion-group is-open="isOpen" is-disabled="ctrl.caps[status].caps.length == 0"> - <uib-accordion-heading> - {{status | capitalize}} - <small> - (<strong>Total:</strong> {{ctrl.caps[status].caps.length}} capabilities, {{ctrl.caps[status].count}} tests) - <span ng-if="ctrl.testStatus !== 'total'"> - (<strong>{{ctrl.testStatus | capitalize}}:</strong> {{ctrl.getStatusTestCount(status)}} tests) - </span> - </small> - <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="capability in ctrl.caps[status].caps | orderBy:'id'" - ng-if="ctrl.isCapabilityShown(capability)"> - - <a ng-click="showTests = !showTests" - title="{{ctrl.guidelineData.capabilities[capability.id].description}}"> - {{capability.id}} - </a> - <span ng-class="{'text-success': ctrl.testStatus === 'passed', - 'text-danger': ctrl.testStatus === 'not passed', - 'text-warning': ctrl.testStatus === 'flagged'}" - ng-if="ctrl.testStatus !== 'total'"> - [{{ctrl.getCapabilityTestCount(capability)}}] - </span> - <span ng-class="{'text-success': (capability.passedTests.length > 0 && - capability.notPassedTests.length == 0), - 'text-danger': (capability.passedTests.length == 0 && - capability.notPassedTests.length > 0), - 'text-warning': (capability.passedTests.length > 0 && - capability.notPassedTests.length > 0)}" - ng-if="ctrl.testStatus === 'total'"> - [{{capability.passedTests.length}}/{{capability.passedTests.length + - capability.notPassedTests.length}}] - </span> - - <ul class="list-unstyled" uib-collapse="!showTests"> - <!-- Start passed test list --> - <li ng-repeat="test in capability.passedTests | orderBy:'toString()'" - ng-if="ctrl.isTestShown(test, capability)"> - - <span class="glyphicon glyphicon-ok text-success" - aria-hidden="true"> - </span> - <span ng-class="{'glyphicon glyphicon-flag text-warning': - ctrl.isTestFlagged(test, ctrl.guidelineData.capabilities[capability.id])}" - title="{{ctrl.getFlaggedReason(test, ctrl.guidelineData.capabilities[capability.id])}}"> - </span> - {{test}} - <span ng-if="ctrl.guidelineData.capabilities[capability.id].tests[test].aliases"> — - <a ng-click="showAliases = !showAliases">[Aliases]</a> - <div class="test-detail-report" ng-if="ctrl.guidelineData.capabilities[capability.id].tests[test].aliases && showAliases"> - <ul><li ng-repeat="alias in ctrl.guidelineData.capabilities[capability.id].tests[test].aliases">{{alias}}</li></ul> - </div> - </span> - </li> - <!-- End passed test list --> - - <!-- Start not passed test list --> - <li ng-repeat="test in capability.notPassedTests | orderBy:'toString()'" - ng-if="ctrl.isTestShown(test, capability)"> - - <span class="glyphicon glyphicon-remove text-danger" aria-hidden="true"></span> - <span ng-class="{'glyphicon glyphicon-flag text-warning': - ctrl.isTestFlagged(test, ctrl.guidelineData.capabilities[capability.id])}" - title="{{ctrl.getFlaggedReason(test, ctrl.guidelineData.capabilities[capability.id])}}"> - </span> - {{test}} - <span ng-if="ctrl.guidelineData.capabilities[capability.id].tests[test].aliases"> — - <a ng-click="showAliases = !showAliases">[Aliases]</a> - <div class="test-detail-report" ng-if="ctrl.guidelineData.capabilities[capability.id].tests[test].aliases && showAliases"> - <ul><li ng-repeat="alias in ctrl.guidelineData.capabilities[capability.id].tests[test].aliases">{{alias}}</li></ul> - </div> - </span> - </li> - <!-- End not passed test list --> - </ul> - </li> - </ol> -</uib-accordion-group> |