Merge "Add spec cpu2006 test case"
[yardstick.git] / gui / app / views / report.html
1 <div class="content">
2     <i class="fa fa-arrow-left fa-1x" aria-hidden="true" style="color: #999;cursor:pointer" ng-click="goBack()">Back</i>
3     <h3>Yardstick Report </h3>
4     <hr/>
5     <div>
6
7         <div>Task ID : {{result.result.task_id}} </div>
8         <div style="margin-top:5px;">Criteria :
9             <font style="color:#2ECC71" ng-show="result.result.criteria=='PASS'"> {{result.result.criteria}}</font>
10             <font style="color:red" ng-show="result.result.criteria=='FAIL'"> {{result.result.criteria}}</font>
11         </div>
12         <hr/>
13         <caption>Information</caption>
14         <table class="table table-striped">
15             <tr>
16                 <th>#</th>
17                 <th>key</th>
18                 <th>value</th>
19             </tr>
20             <tbody>
21                 <tr ng-repeat="(key,value) in  result.result.info">
22                     <td>{{$index}}</td>
23                     <td>{{key}}</td>
24                     <td>{{value}}</td>
25                 </tr>
26
27             </tbody>
28         </table>
29         <hr/>
30
31         <caption>Test Cases</caption>
32         <table class="table table-striped">
33             <tr>
34                 <th>#</th>
35                 <th>key</th>
36
37                 <th>value</th>
38                 <th>grafana</th>
39             </tr>
40             <tbody>
41                 <tr ng-repeat="(key,value) in result.result.testcases">
42                     <td>{{$index}}</td>
43                     <td>{{key}}</td>
44
45                     <td>{{value.criteria}}</td>
46                     <td> <button class="btn btn-default btn-sm" ng-click="goToExternal(key)"> grafana</button></td>
47                 </tr>
48             </tbody>
49         </table>
50
51     </div>
52 </div>
53
54
55
56 </div>