Added Delete VM functionality.

This commit is contained in:
M.Ravi 2017-04-10 13:43:13 +05:30
commit 167e0482a9
2 changed files with 45 additions and 3 deletions

View file

@ -19,6 +19,7 @@
<th>Memory</th>
<th>Status</th>
<th>User Name</th>
<th>Manage Vms</th>
</tr>
</thead>
<tbody>
@ -29,6 +30,7 @@
<td>{{vm.template.memory}}</td>
<td>{{vm.str_state}}</td>
<td>{{vm.uname}}</td>
<td><a href="{% url 'admin:deletevm' vm.id %}">Delete VM</a></td>
</tr>
{% endfor %}
</tbody>