Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 1 | <table class="table"> |
Matteo Scandolo | d9fa806 | 2016-06-10 13:46:15 -0700 | [diff] [blame] | 2 | <tr ng-if="vm.config.showHeader"> |
| 3 | <th></th> |
| 4 | <th>Download Rate</th> |
| 5 | <th>Upload Rate</th> |
| 6 | <th>Start Date</th> |
| 7 | <th>End Date</th> |
Matteo Scandolo | ed9e3ec | 2016-06-13 15:20:11 -0700 | [diff] [blame] | 8 | <th></th> |
Matteo Scandolo | d9fa806 | 2016-06-10 13:46:15 -0700 | [diff] [blame] | 9 | </tr> |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 10 | <tr ng-repeat="profile in vm.profiles"> |
Matteo Scandolo | d9fa806 | 2016-06-10 13:46:15 -0700 | [diff] [blame] | 11 | <td ng-if="!vm.config.colors">{{profile.Name}}</td> |
| 12 | <td ng-if="vm.config.colors"> |
| 13 | <span ng-style="{color: vm.config.colors[$index]}">{{profile.Name}}</span> |
| 14 | </td> |
| 15 | <td> |
| 16 | {{profile.DlAllocRBRate}} |
| 17 | <i class="glyphicon glyphicon-arrow-down"></i> |
| 18 | </td> |
| 19 | <td> |
| 20 | {{profile.UlAllocRBRate}} |
| 21 | <i class="glyphicon glyphicon-arrow-up"></i> |
| 22 | </td> |
Matteo Scandolo | f25db3b | 2016-06-29 17:41:27 -0700 | [diff] [blame^] | 23 | <td>{{profile.jsStart | date:'medium'}}</td> |
| 24 | <td>{{profile.jsEnd | date:'medium'}}</td> |
Matteo Scandolo | ed9e3ec | 2016-06-13 15:20:11 -0700 | [diff] [blame] | 25 | <td ng-if="vm.config.delete"> |
| 26 | <a href="" ng-click="vm.deleteProfile(profile.Name)"> |
| 27 | <i class="glyphicon glyphicon-remove"></i> |
| 28 | </a> |
| 29 | </td> |
Matteo Scandolo | be342fa | 2016-06-08 15:54:55 -0700 | [diff] [blame] | 30 | </tr> |
| 31 | </table> |