diff options
author | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-21 17:11:44 +0200 |
---|---|---|
committer | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-23 11:56:28 +0200 |
commit | fc3d96993d39fb852bc78005e5d4e18502e3e99e (patch) | |
tree | 8079f79377f864ff9b95d5a631af95def5364366 /3rd_party/static/testapi-ui/components/results-report/resultsReport.html | |
parent | 16d199278064f28ccfc6a295f3e7202467b79b34 (diff) |
Clean HTML code
JIRA: DOVETAIL-753
This patch cleans the HTML code, which was in a bad state and not
maintainable.
Change-Id: Iab19a9af1835a384544f58c13ba5664723306535
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '3rd_party/static/testapi-ui/components/results-report/resultsReport.html')
-rw-r--r-- | 3rd_party/static/testapi-ui/components/results-report/resultsReport.html | 57 |
1 files changed, 22 insertions, 35 deletions
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 9365f89..576f23e 100644 --- a/3rd_party/static/testapi-ui/components/results-report/resultsReport.html +++ b/3rd_party/static/testapi-ui/components/results-report/resultsReport.html @@ -1,46 +1,33 @@ <div class="container-fluid common-main-container"> -<h3>Test Run Results</h3> + <h3>Test Run Results</h3> -<div ng-show="ctrl.testId" class="container-fluid"> + <div ng-show="ctrl.testId" class="container-fluid"> <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 /> - </div> + <div class="pull-left"> + <div class="test-report"> + <strong>OVP version:</strong> {{ctrl.version}}<br /> + <strong>Test ID:</strong> {{ctrl.testId}}<br /> </div> + </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 /> -<hr> -<strong>{{ ctrl.validation }}</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 /> -<div> - <hr> + <div> + <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. --> - <ng-include - src="ctrl.detailsTemplate" - onload="isOpen = true"> - </ng-include> - <br /> + <!-- The ng-repeat is used to pass in a local variable to the template. --> + <ng-include + src="ctrl.detailsTemplate" + onload="isOpen = true"> + </ng-include> + <br /> </uib-accordion> + </div> </div> -</div> - -<!-- -<div class="loading"> - <div cg-busy="{promise:resultsRequest,message:'Loading results'}"></div> -</div> - -<div ng-show="ctrl.showError" class="alert alert-danger" role="alert"> - <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> - <span class="sr-only">Error:</span> - {{ctrl.error}} -</div> ---> |