42 lines
972 B
HTML
42 lines
972 B
HTML
<form ng-submit="delete()">
|
|
<div class="modal-header">
|
|
<h3>VMs deletion</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>
|
|
You are going to delete the following VMs, this is a <strong>dangerous
|
|
action</strong>!
|
|
</p>
|
|
|
|
<table class="table">
|
|
<tr>
|
|
<th class="col-sm-3">Name</th>
|
|
<th class="col-sm-6">Description</th>
|
|
<th class="col-sm-3">Delete disks?</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr ng-repeat="VM in VMs | orderBy:'name_label' track by VM.UUID">
|
|
<td>{{VM.name_label}}</td>
|
|
<td>{{VM.name_description}}</td>
|
|
<td><input type="checkbox" ng-model="disks[VM.UUID]"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button
|
|
type="submit"
|
|
class="btn btn-primary"
|
|
>
|
|
Delete
|
|
</button>
|
|
<button
|
|
type="button"
|
|
class="btn btn-warning"
|
|
ng-click="$dismiss()"
|
|
>
|
|
Cancel
|
|
</button>
|
|
</div>
|
|
</form>
|