Changeset 2792


Ignore:
Timestamp:
Dec 27, 2009, 12:29:13 PM (15 years ago)
Author:
broder
Message:

The <input /> tag is always empty, so having a separate closing
</input> tag is meaningless.

Location:
trunk/packages/invirt-web/code/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/templates/functions.mako

    r2791 r2792  
    2828% for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ):
    2929<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]}
    3131</label>
    3232% endfor
  • trunk/packages/invirt-web/code/templates/list.mako

    r2790 r2792  
    5555          <td>Autoinstall${self.fn.helppopup('Autoinstalls')}</td>
    5656          <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" />
    5858${self.fn.autoList(defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")}
    5959              (experimental; 2-3 minutes, and you have a machine with empty root password.)
    60           </input>
    6160        </tr>
    6261        <tr>
    6362          <td>Boot CD</td>
    6463          <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" />
    6665${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")}
    6766</td>
    68           </input>
    6967        </tr>
    7068        ${self.fn.errorRow('cdrom', err)}
Note: See TracChangeset for help on using the changeset viewer.