Fix error when sorting Job list by object.
[ganeti_webmgr.git] / ganeti_web / templates / ganeti / virtual_machine / delete.html
blob2810f011aba2bc0f5170fa5f0e05cc6b0e45bc1b
1 {% extends "menu_base.html" %}
2 {% load webmgr_tags %}
3 {% load i18n %}
5 {% block title %}Delete Virtual Machine{% endblock %}
7 {% block head %}
8 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/delete.css"/>
9 {% endblock %}
11 {% block content %}
13 <h1 class="breadcrumb">
14 {% if cluster_admin %}
15 <a href="{% url cluster-detail cluster.slug %}#virtual_machines">{{cluster.hostname|abbreviate_fqdn}}</a>
16 {% else %}
17 <span>{{cluster.hostname|abbreviate_fqdn}}</span>
18 {% endif %}
19 : <a href="{% url instance-detail cluster.slug vm.hostname %}">{{ vm.hostname }}</a>
20 : {% trans "Delete" %}
21 </h1>
24 <div id="confirm">
25 <div class="message">
26 Are you sure you want to delete this virtual machine? This action
27 can not be undone. The virtual machine will be removed from the cluster.
28 <ul><li>{{vm.hostname}}</li></ul>
29 </div>
30 <form method="post" action="{% url instance-delete vm.cluster.slug vm.hostname %}">{% csrf_token %}
31 <input id="delete" type="submit" value="Delete" />
32 </form>
33 </div>
35 {% endblock %}