Ignore:
Timestamp:
Oct 9, 2007, 8:09:47 AM (17 years ago)
Author:
ecprice
Message:

Improve the error infrastructure. Hopefully this works; I haven't
really tested it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/info.tmpl

    r147 r153  
    6363  <input type="hidden" name="machine_id" value="$machine.machine_id"/>
    6464  <table>
    65     <tr><td>Owner:</td><td><input type="text" value="$machine.owner"/></td></tr>
    66     <tr><td>Contact email:</td><td><input type="text" value="$machine.contact"/></td></tr>
     65    <tr><td>Owner:</td><td><input type="text" name="owner", value="$machine.owner"/></td></tr>
     66    <tr><td>Contact email:</td><td><input type="text" name="contact" value="$machine.contact"/></td></tr>
    6767#if $machine.nics
    68     <tr><td>Hostname:</td><td><input type="text" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td></tr>
     68    <tr><td>Hostname:</td><td><input type="text" name="hostname" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td></tr>
    6969#end if
    7070#if not $on
    71     <tr><td>Ram:</td><td><input type="text" size=3 value="$machine.memory"/>MB (max $max_mem)</td></tr>
    72     <tr><td>Disk:</td><td><input type="text" size=3 value="${machine.disks[0].size/1024.}"/>GB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr>
     71    <tr><td>Ram:</td><td><input type="text" size=3 name="memory" value="$machine.memory"/>MB (max $max_mem)</td></tr>
     72    <tr><td>Disk:</td><td><input type="text" size=3 name="disk" value="${machine.disks[0].size/1024.}"/>GB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr>
    7373#end if
    7474    <tr><td><input type="submit" class="button" name="action" value="Change"/></td></tr>
Note: See TracChangeset for help on using the changeset viewer.