Changeset 2792 for trunk/packages/invirt-web/code
- Timestamp:
- Dec 27, 2009, 12:29:13 PM (15 years ago)
- Location:
- trunk/packages/invirt-web/code/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/templates/functions.mako
r2791 r2792 28 28 % for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ): 29 29 <label> 30 <input ${'checked="checked"' if default == vmtype[0] else '' | n} type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}" >${vmtype[1]}</input>30 <input ${'checked="checked"' if default == vmtype[0] else '' | n} type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}" />${vmtype[1]} 31 31 </label> 32 32 % endfor -
trunk/packages/invirt-web/code/templates/list.mako
r2790 r2792 55 55 <td>Autoinstall${self.fn.helppopup('Autoinstalls')}</td> 56 56 <td><input type="radio" name="cd_or_auto" id="cd_or_auto_auto" 57 onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true" >57 onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true" /> 58 58 ${self.fn.autoList(defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")} 59 59 (experimental; 2-3 minutes, and you have a machine with empty root password.) 60 </input>61 60 </tr> 62 61 <tr> 63 62 <td>Boot CD</td> 64 63 <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked" 65 onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true" >64 onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true" /> 66 65 ${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")} 67 66 </td> 68 </input>69 67 </tr> 70 68 ${self.fn.errorRow('cdrom', err)}
Note: See TracChangeset
for help on using the changeset viewer.