mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 19:50:05 +01:00
4 lines
394 B
HTML
4 lines
394 B
HTML
|
<button ng-if="vm.isPublic && vm.owned" class="//vm.btnClass//" ng-click="vm.toggle()">On</button>
|
||
|
<button ng-if="vm.isPublic && !vm.owned" class="btn btn-success" disabled="disabled">On</button>
|
||
|
<button ng-if="!vm.isPublic && vm.owned" class="//vm.btnClass//" ng-click="vm.toggle()">Off</button>
|
||
|
<button ng-if="!vm.isPublic && !vm.owned" class="btn btn-danger" disabled="disabled">Off</button>
|