${self.fn.errorRow('autoinstall', err)}
<tr>
<td>Autoinstall${self.fn.helppopup('Autoinstalls')}</td>
- <td><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"
+ <td><label><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"
onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true" />
${self.fn.autoList(defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")}
(experimental; 2-3 minutes, and you have a machine with empty root password.)
+</label></td>
</tr>
<tr>
<td>Boot CD</td>
- <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
+ <td><label><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true" />
${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")}
-</td>
+</label></td>
</tr>
${self.fn.errorRow('cdrom', err)}
${self.fn.errorRow('cdrom', err)}
% endif
</%def>
-<%def name="machineRow(machine)">
- <tr>
+<%def name="machineRow(machine, dark)">
+ <tr\
+% if dark:
+ class="stripedrow" \
+% endif
+>
<td rowspan="2">
% if machine.uptime and installing[machine]:
<img src="static/power_installing.png" alt="Installing..." />
% endif
</td>
</tr>
- <tr>
+ <tr\
+% if dark:
+ class="stripedrow" \
+% endif
+>
<td colspan="7" style="padding-left: 1em; color: #666">${machine.description|self.fn.module.nl2br}</td>
</tr>
</%def>
<th>Uptime</th>
<th>VNC</th>
</tr>
-% for machine in machines:
- ${machineRow(machine)}
+% for n, machine in enumerate(machines):
+ ${machineRow(machine, (n%2)==0)}
% endfor
</table>
- <script type="text/javascript" src="/static/stripe.js"></script>
- <script type="text/javascript">
- document.observe("dom:loaded", function() {
- stripe($('machinelist').getElementsByTagName('table')[0],
- 'stripedrow');
- });
- </script>
</%def>
<p style="font-size: 125%;"><a href="http://${config.web.hostname}">What is XVM?</a></p>