diff options
Diffstat (limited to '3rd_party/static/testapi-ui/components/results-report')
3 files changed, 21 insertions, 17 deletions
diff --git a/3rd_party/static/testapi-ui/components/results-report/partials/editTestModal.html b/3rd_party/static/testapi-ui/components/results-report/partials/editTestModal.html index 9a147f4..d9758fe 100644 --- a/3rd_party/static/testapi-ui/components/results-report/partials/editTestModal.html +++ b/3rd_party/static/testapi-ui/components/results-report/partials/editTestModal.html @@ -12,14 +12,14 @@ <option value="true">Yes</option> <option value="">No</option> </select> - <br /> + <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 /> + <br> <strong>Associated Target Program:</strong> <select ng-model="modal.metaCopy.target" class="form-control"> @@ -28,7 +28,7 @@ <option value="compute">OpenStack Powered Compute</option> <option value="object">OpenStack Powered Object Storage</option> </select> - <hr /> + <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" diff --git a/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html b/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html index d58f1be..3f3e9c9 100644 --- a/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html +++ b/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html @@ -3,22 +3,22 @@ HTML for each accordion group that separates the status types on the results report page. --> -Test Filters:<br /> +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"> + <input type="radio" ng-model="ctrl.testStatus" value="total" name="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"> + <input type="radio" ng-model="ctrl.testStatus" value="passed" name="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"> + <input type="radio" ng-model="ctrl.testStatus" value="not passed" name="not passed"> <span class="text-danger">Not Passed</span> </label> </div> @@ -35,10 +35,14 @@ Test Filters:<br /> 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'"> + <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 == '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> diff --git a/3rd_party/static/testapi-ui/components/results-report/resultsReport.html b/3rd_party/static/testapi-ui/components/results-report/resultsReport.html index 576f23e..0d85875 100644 --- a/3rd_party/static/testapi-ui/components/results-report/resultsReport.html +++ b/3rd_party/static/testapi-ui/components/results-report/resultsReport.html @@ -5,21 +5,21 @@ <div class="row"> <div class="pull-left"> <div class="test-report"> - <strong>OVP version:</strong> {{ctrl.version}}<br /> - <strong>Test ID:</strong> {{ctrl.testId}}<br /> + <strong>OVP version:</strong> {{ctrl.version}}<br> + <strong>Test ID:</strong> {{ctrl.testId}}<br> </div> </div> </div> </div> - <strong>Total: {{ctrl.statistics.total}}, Pass: {{ ctrl.statistics.pass}}, Rate: {{ ctrl.statistics.pass / ctrl.statistics.total * 100 | number:2 }}%</strong><br /> - <strong>Mandatory Total: {{ctrl.statistics.mandatory.total}}, Pass: {{ ctrl.statistics.mandatory.pass }}, Rate: {{ ctrl.statistics.mandatory.pass / ctrl.statistics.mandatory.total * 100 | number:2 }}%</strong><br /> - <strong>Optional Total: {{ctrl.statistics.optional.total}}, Pass: {{ ctrl.statistics.optional.pass }}, Rate: {{ ctrl.statistics.optional.pass / ctrl.statistics.optional.total * 100 | number:2 }}%</strong><br /> + <strong>Total: {{ctrl.statistics.total}}, Pass: {{ ctrl.statistics.pass}}, Rate: {{ ctrl.statistics.pass / ctrl.statistics.total * 100 | number:2 }}%</strong><br> + <strong>Mandatory Total: {{ctrl.statistics.mandatory.total}}, Pass: {{ ctrl.statistics.mandatory.pass }}, Rate: {{ ctrl.statistics.mandatory.pass / ctrl.statistics.mandatory.total * 100 | number:2 }}%</strong><br> + <strong>Optional Total: {{ctrl.statistics.optional.total}}, Pass: {{ ctrl.statistics.optional.pass }}, Rate: {{ ctrl.statistics.optional.pass / ctrl.statistics.optional.total * 100 | number:2 }}%</strong><br> <hr> - <strong>{{ ctrl.validation }}</strong><br /> + <strong>{{ ctrl.validation }}</strong><br> <div> - <hr /> + <hr> <h4>Test Result Overview</h4> <uib-accordion close-others=false> <!-- The ng-repeat is used to pass in a local variable to the template. --> @@ -27,7 +27,7 @@ src="ctrl.detailsTemplate" onload="isOpen = true"> </ng-include> - <br /> + <br> </uib-accordion> </div> </div> |