1 {% extends
"menu_base.html" %}
3 {% block title %}{% trans
"Orphan VMs" %}{% endblock %}
5 <script type=
"text/javascript" src=
"{{MEDIA_URL}}/js/jquery.multi_checkbox_selector.js"></script>
6 <script type=
"text/javascript" src=
"{{MEDIA_URL}}/js/jquery.tablesorter.min.js"></script>
7 <script type=
"text/javascript">
8 $(document
).ready(function() {
9 $("#import_form").select_all();
10 $("#node_list").tablesorter({
12 0: { sorter
: 'false' },
19 <h1><span class=
"breadcrumb">{% trans
"Admin" %}
</span> : {% trans
"Import Nodes" %}
</h1>
22 {% trans
"When you add nodes to ganeti they must be manually imported" %}.
25 <form id=
"import_form" action=
"{% url import-nodes-missing_db %}" method=
"post">
27 {{form.owner.label}} {{form.owner}}
28 <input type=
"submit" value=
"{% trans "Import Selected
" %}" {%if not nodes%}disabled{%endif%}
>
29 <table id=
"node_list" class=
"sorted">
33 <th>{% trans
"Cluster" %}
</th>
34 <th>{% trans
"Hostname" %}
</th>
38 {% for node in nodes %}
39 <tr><td><input type=
"checkbox" name=
"nodes" value=
"{{node.0}}" /></td><td>{{node
.1}}
</td><td>{{node
.2}}
</td></tr>
41 <tr><td colspan=
"3">{% trans
"All nodes are synchronized" %}.
</td></tr>