| 1 | <div class="row"> |
| 2 | <div style="text-align: left" class="col-md-6"> |
| 3 | <h2> Plugins:</h2> |
| 4 | </div> |
| 5 | <div style="text-align: right" class="col-md-6"> |
| 6 | <button class="btn btn-default btn-md btn-grey" type="button" ng-click="Reload()">Reload plugins</button> |
| 7 | </div> |
| 8 | </div> |
| 9 | <div class="round-corners"> |
| 10 | <table class="plugin-table"> |
| 11 | <tr> |
| 12 | <th class="top-table">Name</th> |
| 13 | <th class="top-table">Enabled</th> |
| 14 | <th class="top-table">Active</th> |
| 15 | </tr> |
| 16 | <tr class="striped-table" ng-repeat="plugin in Items.plugins"> |
| 17 | <td class="special-mouse" ng-click="go(plugin.id)"> |
| 18 | {{plugin.name}} <span class="glyphicon glyphicon-info-sign plugin-icon"></span> |
| 19 | </td> |
| 20 | <td> |
| 21 | <input class="form-control" |
| 22 | type="checkbox" |
| 23 | id="enable{{plugin.id}}" |
| 24 | ng-change="changeStatus(plugin.id, plugin.enabled)" |
| 25 | ng-model="plugin.enabled"/> |
| 26 | <label class="fake-check" for="enable{{plugin.id}}"> |
| 27 | <span class="glyphicon"></span> |
| 28 | <span class="sr-only">Toggle plugin</span> |
| 29 | </label> |
| 30 | </td> |
| 31 | <td> |
| 32 | <div class="status-light" ng-style="getStyle(plugin.active)"> </div> |
| 33 | </td> |
| 34 | </tr> |
| 35 | </table> |
| 36 | </div> |