Changeset 1693 for trunk/packages/invirt-web
- Timestamp:
- Nov 17, 2008, 5:21:49 AM (16 years ago)
- Location:
- trunk/packages/invirt-web/code/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/templates/functions.tmpl
r1318 r1693 38 38 <input #slurp 39 39 #if $default == $vmtype[0] then 'checked' else '' 40 type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]}</input>40 type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}">${vmtype[1]}</input> 41 41 </label> 42 42 #end for -
trunk/packages/invirt-web/code/templates/list.tmpl
r1661 r1693 79 79 <td><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"> 80 80 #filter None 81 $autoList($defaults.cdrom, " document.getElementById('cd_or_auto_auto').checked = true;document.getElementById('cdromlist').value = ''")82 (experimental; 1-2minutes, and you have a machine with empty root password.)81 $autoList($defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true") 82 (experimental; 2-3 minutes, and you have a machine with empty root password.) 83 83 #end filter 84 84 </input> … … 88 88 <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked> 89 89 #filter None 90 $cdromList($defaults.cdrom, " document.getElementById('cd_or_auto_cd').checked = true;document.getElementById('autoinstalllist').value = ''")90 $cdromList($defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true") 91 91 #end filter 92 92 </td>
Note: See TracChangeset
for help on using the changeset viewer.