Ignore:
Timestamp:
Jun 18, 2008, 3:50:31 AM (16 years ago)
Author:
andersk
Message:

Add a description field.

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

Legend:

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

    r572 r609  
    6666  <input type="hidden" name="machine_id" value="$defaults.machine_id"/>
    6767  <table>
     68    <tr><td>Description:</td><td colspan="2"><textarea name="description" rows="4" cols="60">$defaults.description</textarea></td></tr>
    6869    <tr><td>Owner#slurp
    6970#filter None
  • trunk/packages/sipb-xen-www/code/templates/list.tmpl

    r572 r609  
    3030#filter None
    3131$errorRow('name', $err)
     32#end filter
     33        <tr>
     34          <td>Description</td>
     35          <td><textarea name="description" rows="4" cols="60">$defaults.description</textarea></td>
     36        </tr>
     37#filter None
     38$errorRow('description', $err)
    3239#end filter
    3340        <tr>
     
    136143#end if
    137144</td>
    138         <td>
     145        <td rowspan="2">
    139146          <form action="command" method="post">
    140147            <input type="hidden" name="back" value="list"/>
     
    146153          </form>
    147154        </td>
     155      </tr>
     156      <tr>
     157        <td colspan="7" style="padding-left: 1em; color: #666">$machine.description</td>
    148158      </tr>
    149159#end def
Note: See TracChangeset for help on using the changeset viewer.