71 |
71 |
<th class="vmos">{% trans "OS" %}</th>
|
72 |
72 |
<th class="vmname">{% trans "Name" %}</th>
|
73 |
73 |
<th class="vmflavor">{% trans "Flavor" %}</th>
|
|
74 |
<!-- Group column is commented out for v0.5
|
74 |
75 |
<th class="vmgroup">{% trans "Group" %}</th>
|
|
76 |
-->
|
75 |
77 |
<th class="vmstatus">{% trans "Status" %}</th>
|
76 |
78 |
</tr>
|
77 |
79 |
</thead>
|
... | ... | |
296 |
298 |
tableData[current][1] = "<span class=imagetag>" + osTag + "</span>" + imgStr;
|
297 |
299 |
tableData[current][2] = "<a class=name><span class=name>" + server.name.substring(0,60) + "</span></a>";
|
298 |
300 |
//tableData[current][4] = "group"; //TODO
|
299 |
|
tableData[current][5] = "<span class=status>" + STATUSES[server.status] + "</span>";
|
|
301 |
tableData[current][4] = "<span class=status>" + STATUSES[server.status] + "</span>";
|
300 |
302 |
vmTable.fnUpdate(tableData[current],current);
|
301 |
303 |
setTimeout("$('#machinesview .list #"+server.id+"').parent().parent().find('.list-logo').attr('src','static/icons/machines/small/" + osTag + "-off.png')", 1600);
|
302 |
304 |
} else if ( STATUSES[server.status] == server_row.find('span.status').text()) {
|
... | ... | |
309 |
311 |
tableData[current][1] = "<span class=imagetag>" + osTag + "</span>" + imgStr;
|
310 |
312 |
tableData[current][2] = "<a class=name><span class=name>" + server.name.substring(0,60) + "</span></a>";
|
311 |
313 |
//tableData[current][4] = "group"; //TODO
|
312 |
|
tableData[current][5] = "<span class=status>" + STATUSES[server.status] + "</span>";
|
|
314 |
tableData[current][4] = "<span class=status>" + STATUSES[server.status] + "</span>";
|
313 |
315 |
vmTable.fnUpdate(tableData[current],current);
|
314 |
316 |
setTimeout("$('#machinesview .list #"+server.id+"').parent().parent().find('.list-logo').attr('src','static/icons/machines/small/" + osIcon + "')", 1600);
|
315 |
317 |
}
|
... | ... | |
351 |
353 |
" title=" + osTag + ">",
|
352 |
354 |
"<a class=name><span class=name>" + server.name.substring(0,60) + "</span></a>",
|
353 |
355 |
"<a class=flavor><span>"+ flavorLabel + "</span></a>",
|
354 |
|
"group",
|
|
356 |
//"group",
|
355 |
357 |
"<span class=status>" + STATUSES[server.status] + "</span>"
|
356 |
358 |
]);
|
357 |
359 |
}
|