Skip to content

Commit

Permalink
refactor(vm): stopvm to stop vm etc. (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz authored Jun 28, 2018
1 parent 4e08536 commit dac23e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/virtualmachines/vmOverview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@

<button style="margin-right: 5px;margin-left: 5px;margin-top:5px;margin-bottom: 5px" *ngIf="vm.status =='ACTIVE'" (click)="status_changed_vm=vm.name;stopVm(vm.openstackid,vm.name);stopModal.show();"
class="btn btn-primary">
StopVM
Stop Vm
</button>


<button style="margin-right: 5px;margin-left: 5px;margin-top:5px;margin-bottom: 5px" *ngIf="vm.status =='SUSPENDED'" (click)="status_changed_vm=vm.name;resumeVM(vm.openstackid);resumeModal.show();"

class="btn btn-primary">
ResumeVM
Resume Vm
</button>
<button style="margin-right: 5px;margin-left: 5px;margin-top:5px;margin-bottom: 5px" *ngIf="vm.status !='SUSPENDED' && vm.status != 'ACTIVE' && vm.status != 'DELETED'" (click)="checkStatus(vm.openstackid);"
class="btn btn-primary">
Expand All @@ -83,7 +83,7 @@
<button style="margin-right: 5px;margin-left: 5px;margin-top:5px;margin-bottom: 5px" *ngIf="vm.status !='DELETED'" (click)="status_changed_vm=vm.name;status_changed_vm_id=vm.openstackid;verifyModal.show();"

class="btn btn-primary">
DeleteVM
Delete Vm
</button></td>
</tr>
</ng-container>
Expand Down

0 comments on commit dac23e6

Please sign in to comment.