Ignore:
Timestamp:
Apr 3, 2008, 2:46:28 AM (17 years ago)
Author:
price
Message:

default to no boot CD when cloning

Location:
trunk/packages/sipb-xen-www/code/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/templates/functions.tmpl

    r205 r406  
    11#def cdromList($cdroms, $default="")
    2 <select name="cdrom">
     2<select name="cdrom" id="cdromlist">
    33  <option #slurp
    44#if $default then '' else 'selected'
  • trunk/packages/sipb-xen-www/code/templates/list.tmpl

    r340 r406  
    5454        <tr>
    5555          <td>Clone image?</td>
    56           <td><input type="checkbox" name="clone_from" value="ice3"/>
    57               (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.)</td>
     56          <td><input type="checkbox" name="clone_from" id="clone_from" value="ice3" onchange="onclone(event)"/>
     57              (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.)
     58              <script type='text/javascript'>function onclone(e){ document.getElementById('cdromlist').value = ''; }</script></td>
    5859        </tr>
    5960$errorRow('cdrom', $err)
Note: See TracChangeset for help on using the changeset viewer.