1 {% extends
"menu_base.html" %}
6 div.info {float:left;width:
390px;margin:
0px;}
7 #vm_summary {width:
390px;float:left;margin-right:
10px;}
8 #vm_summary h2 {margin-top:
0px;}
9 #vm_summary h2 a {color:white;}
10 form {float:left;clear:left;}
11 form input.submit {margin:
1em
.5em
0px
0px;}
12 form input.save_reboot {width:
10em;margin:
1em
.5em
0px
0px;}
17 {% if cluster_admin %}
18 <a class=
"breadcrumb" href=
"{% url cluster-detail cluster.slug %}#virtual_machines">{{cluster.hostname|abbreviate_fqdn}}
</a>
20 <span class=
"breadcrumb">{{cluster.hostname|abbreviate_fqdn}}
</span>
22 :
<a class=
"breadcrumb" href=
"{% url instance-detail cluster.slug instance.hostname %}">{{ instance.hostname }}
</a>
23 : {% trans
"Confirm Changes" %}
28 <h2><a href=
"{% url instance-detail cluster.slug instance.hostname %}">{{ instance.hostname }}
</a></h2>
29 {% for k, v in instance_diff.items %}
30 <tr><th>{{ k }}
</th><td>{{ v|capfirst }}
</td></tr>
32 <tr><td>{% trans
"Nothing changed" %}.
</td></tr>
36 {% with instance.info.status as status %}
37 {% ifequal status
"running" %}
39 <p><b style=
"color:red;">Warning:
</b> In order for your changes to the instance to take effect, you must
40 first reboot the instance. Either click 'Save & Reboot', or click 'Save' and reboot at a later time.
</p>
42 <p><b>Note:
</b> Rebooting must be done through Ganeti or Ganeti Web Manager. Your changes will
43 not take effect if you reboot from within the instance.
</p>
50 <input class=
"submit" type=
"submit" name=
"edit" value=
"{% trans "Edit
" %}">
51 {% if instance_diff.items %}
52 {% ifequal status
"running" %}
54 <input class=
"save_reboot" type=
"submit" name=
"reboot" value=
"{% trans "Save & Reboot
" %}">
57 <input class=
"submit" type=
"submit" name=
"save" value=
"{% trans "Save
" %}">
59 <input class=
"submit" type=
"submit" name=
"cancel" value=
"{% trans "Cancel
" %}">