Matteo Scandolo | 4eb4ccb | 2016-01-26 11:02:16 -0800 | [diff] [blame] | 1 | <!--Partial HTML for rating panel directive--> |
| 2 | <div id="rating-panel"> |
| 3 | <div ng-cloak class="ng-hide ng-cloak panel" ng-show="ratingsShown"> |
| 4 | <table> |
| 5 | <tr> |
| 6 | <th class="title">Category</th> |
| 7 | <th ng-repeat="rating in level_order">{{rating}}</th> |
| 8 | </tr> |
| 9 | <tr ng-repeat="cat in category_order"> |
| 10 | <td class="title">{{cat}}</td> |
| 11 | <td ng-repeat="r in level_order"> |
| 12 | <div ng-if="prohibitedSites[r][cat]"> |
| 13 | <icon size="15" id="xMark"></icon> |
| 14 | </div> |
| 15 | <div ng-if="!prohibitedSites[r][cat]"> |
| 16 | <icon size="15" id="checkMark"></icon> |
| 17 | </div> |
| 18 | </td> |
| 19 | </tr> |
| 20 | </table> |
| 21 | </div> |
| 22 | </div> |