diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2016-09-19 00:33:27 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2016-09-19 02:48:27 +0000 |
commit | a98dc96977e97b3a0a2ac85ec808559849391672 (patch) | |
tree | 4261f5f167dc064aa3d2b0ccf64ad3b5fd427dcd /reporting/yardstick/template/index-status-tmpl.html | |
parent | cbf4243f895f01d2800b5aeb93358521c1f7de49 (diff) |
Change display way of reporting status, add last ten days score
JIRA: YARDSTICK-350
Change-Id: Iea1d8a30cf3464c8b9a0b8b6ac2e0ce41adea00d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting/yardstick/template/index-status-tmpl.html')
-rw-r--r-- | reporting/yardstick/template/index-status-tmpl.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/reporting/yardstick/template/index-status-tmpl.html b/reporting/yardstick/template/index-status-tmpl.html index ff1a619..602ce8a 100644 --- a/reporting/yardstick/template/index-status-tmpl.html +++ b/reporting/yardstick/template/index-status-tmpl.html @@ -40,21 +40,19 @@ <div class="panel-heading"><h4><b>List of last scenarios ({{version}}) run over the last {{period}} days </b></h4></div> <table class="table"> <tr> - <th width="60%">Scenario</th> + <th width="40%">Scenario</th> <th width="20%">Status</th> - <th width="20%">Score</th> + <th width="20%">Last 4 Iterations</th> + <th width="20%">Last 10 Days</th> </tr> {% for scenario,result in scenario_results.iteritems() -%} <tr class="tr-ok"> <td>{{scenario}}</td> <td> - {%if scenario_results[scenario].getStatus() is sameas "OK" -%} - <img src="../../img/icon-ok.png"> - {%- else -%} - <img src="../../img/icon-nok.png"> - {%- endif %} + <img src="../../img/gauge_{{ scenario_results[scenario].getStatus() }}.png"> </td> - <td>{{scenario_results[scenario].getScore()}}</td> + <td>{{scenario_results[scenario].getFourDaysScore()}}</td> + <td>{{scenario_results[scenario].getTenDaysScore()}}</td> </tr> {%- endfor %} </table> |