harbor/static/ng/resources/js/components/user/toggle-admin.directive.html

2 lines
176 B
HTML
Raw Normal View History

<button ng-show="vm.isAdmin" class="btn btn-success" ng-click="vm.toggle()">On</button>
<button ng-show="!vm.isAdmin" class="btn btn-danger" ng-click="vm.toggle()">Off</button>