Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 1 | <div class="row"> |
| 2 | <div class="col-xs-12"> |
| 3 | <h3>Active Key Bindings</h3> |
| 4 | </div> |
| 5 | </div> |
| 6 | <div class="row" ng-repeat="(k, v) in vm.bindings"> |
| 7 | <div class="col-xs-12" ng-if="v.length > 0"> |
| 8 | <h5>{{k | capitalize}}</h5> |
| 9 | </div> |
| 10 | <div class="col-xs-12" ng-repeat="binding in v" ng-if="binding.description"> |
| 11 | <div class="row"> |
| 12 | <div class="col-xs-5"> |
| 13 | <code class="text-center"> |
| 14 | <span ng-repeat="m in binding.modifiers"> |
| 15 | {{m}} + |
| 16 | </span> |
| 17 | {{binding.key}} |
| 18 | </code> |
| 19 | </div> |
| 20 | <div class="col-xs-7"> |
| 21 | <p>{{binding.description}}</p> |
| 22 | </div> |
| 23 | </div> |
| 24 | </div> |
| 25 | </div> |